Interface IServiceInterfaceInstanceManager
-
- All Known Subinterfaces:
IServiceInterfaceInstanceManagerSPI
- All Known Implementing Classes:
ServiceInterfaceInstanceManager
@StableMinor(version="15.0", sinceVersion="4.0") public interface IServiceInterfaceInstanceManager
Interface definition for manager of service interface instances.- Since:
- 4.0.0
- Version:
- $Revision: 25303 $ $Date: 2022-10-22 22:48:02 -0300 (Sat, 22 Oct 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
add(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction)
Add a service interface instance.void
addOrUpdate(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction)
Add or Update a Service Interface Instance, depending on its previous existence.void
clearCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Clears the caches of a service interface instance.void
clearCache(ITransaction transaction)
Clears all cache stored in this manager.java.lang.String
copy(SessionConfig sessionConfig, java.lang.String sourceServiceInterfaceInstanceId, java.lang.String destinationPageId, boolean destinationInterfaceInstanceIsFromTemplate, ITransaction transaction)
Creates a copy of the given interface instance to the specified page.void
delete(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Delete a service interface instance.void
deleteCustomProperties(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction)
Deletes all the interface instance custom propertiesvoid
deleteCustomProperty(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String name, ITransaction transaction)
Deletes the interface instance custom propertyjava.lang.String
deserialize(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, org.w3c.dom.Node serviceInterfaceInstanceNode, ITransaction transaction)
void
deserializeCustomProperties(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, org.w3c.dom.Node serviceInterfaceInstanceCustomPropertiesNode, ITransaction transaction)
Deprecated.Since 6.2.0 this method is no longer used and may be removed in a future version.ServiceInterfaceInstanceConfig
get(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Get the configuration of the service interface instance.int
getCacheLevel(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Returns the cacheLevel property of an interface instance.int
getCachePersonalization(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Returns the cachePersonalization property of an interface instance.boolean
getCacheServerSideInclude(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Returns the cacheServerSideInclude property of an interface instance.java.util.Map<java.lang.String,java.lang.String>
getCustomProperties(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction)
Returns a Map containing all name/value pairs of custom properties from the specified service interface instance.java.lang.String
getCustomProperty(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String name, ITransaction transaction)
Returns the specified custom property.java.lang.String
getDisplayName(ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction)
Returns the display name for a service interface instance.boolean
getEnableCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Returns the enableCache property of an interface instance.java.util.Collection<java.lang.String>
getIdsByPageId(SessionConfig sessionConfig, java.lang.String pageId, ITransaction transaction)
Get a list of ids by passing the page's id.java.util.Collection<java.lang.String>
getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, boolean includeRunTimeInterfaces, ITransaction transaction)
Get the Ids given the ServiceInstanceId.java.util.Collection<java.lang.String>
getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction)
Get a list of ids by passing the id of the service instance.java.util.Collection<java.lang.String>
getIdsByServiceInterfaceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction)
Get a list of ids by passing the ids of the service interface.java.util.Collection<java.lang.String>
getIdsByServiceInterfaceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, boolean ignoreRuntimeInterfaces, ITransaction transaction)
Get a list of ids by passing the ids of the service interface.java.util.Collection<java.lang.String>
getIdsByServiceInterfaceIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction)
Get a list of ids by passing the ids of service interface and the service instance.java.util.Collection<java.lang.String>
getIdsByServiceInterfaceIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction)
Get a list of ids by passing the ids of service interface and the service instance.java.util.Collection<java.lang.String>
getIdsByServiceInterfaceStyleId(SessionConfig sessionConfig, java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction transaction)
Get the Ids given the ServiceInterfaceStyleId.java.lang.String
getInterfaceInstanceHtmlCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.util.Locale locale, ITransaction transaction)
Deprecated.since 7.0.0 deprecated without replacement.java.lang.String
getMenu(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Deprecated.Since 10.2.0 replaced bygetMenuXml(SessionConfig, String, ServiceInterfaceMenuLevel, ITransaction)
.java.lang.String
getMenuXml(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ServiceInterfaceMenuLevel menuLevel, ITransaction transaction)
Returns the XML for the menu for the specified service interface instance and menu level.ServiceInterfaceInstanceConfig
getOrAddServiceInterfaceRunTimeInstance(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, java.lang.String pageId, ITransaction transaction)
Get or Add the ServiceInterfaceRunTimeInstance.boolean
getPrintable(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Returns the printable property of an interface instance.int
getRenderAs(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
Returns the renderAs property of an interface instance.IConfigKeyChecker
getServiceInterfaceInstanceStyleConfigKeyChecker()
java.lang.String
getTitle(ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction)
Returns the title for a service interface instance.java.lang.String
getXmlData(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId)
Returns the previously saved XML data for the service interface instance for the given user sessionvoid
serialize(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.io.OutputStream outputStream, ITransaction transaction)
void
serializeCustomProperties(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.io.OutputStream outputStream, ITransaction transaction)
void
setCustomProperties(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.util.Map<java.lang.String,java.lang.String> propertiesTable, ITransaction transaction)
Receives a Map with one or more properties to be set for the given interface.void
setCustomProperty(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String name, java.lang.String value, ITransaction transaction)
Set a custom property for the given interface instance.void
setInterfaceInstanceHtmlCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.util.Locale locale, java.lang.String serviceInterfaceInstanceHtml, ITransaction transaction)
Deprecated.since 7.0.0 deprecated without replacement.void
update(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction)
Update a service interface instance.void
updateCustomPropertiesFromTemplate(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction)
Update the interface instance custom properties from parent interface instancevoid
updatePropertiesFromTemplate(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction)
Update the properties of from the template.
-
-
-
Method Detail
-
addOrUpdate
void addOrUpdate(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction) throws ManagerException, PortalException
Add or Update a Service Interface Instance, depending on its previous existence.- Parameters:
sessionConfig
-serviceInterfaceInstanceConfig
-transaction
-- Throws:
ManagerException
PortalException
-
get
ServiceInterfaceInstanceConfig get(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Get the configuration of the service interface instance.- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- a ServiceInterfaceInstanceConfig.
- Throws:
ManagerException
PortalException
-
add
java.lang.String add(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction) throws ManagerException, PortalException
Add a service interface instance.- Parameters:
sessionConfig
-serviceInterfaceInstanceConfig
-transaction
-- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
update
void update(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction) throws ManagerException, PortalException
Update a service interface instance.- Parameters:
sessionConfig
-serviceInterfaceInstanceConfig
-transaction
-- Throws:
ManagerException
PortalException
-
delete
void delete(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Delete a service interface instance.- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Throws:
ManagerException
PortalException
-
copy
java.lang.String copy(SessionConfig sessionConfig, java.lang.String sourceServiceInterfaceInstanceId, java.lang.String destinationPageId, boolean destinationInterfaceInstanceIsFromTemplate, ITransaction transaction) throws ManagerException, PortalException
Creates a copy of the given interface instance to the specified page. All interface instance custom properties are copied to the new interface instance.- Parameters:
sessionConfig
-sourceServiceInterfaceInstanceId
-destinationPageId
-transaction
-- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
getOrAddServiceInterfaceRunTimeInstance
ServiceInterfaceInstanceConfig getOrAddServiceInterfaceRunTimeInstance(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, java.lang.String pageId, ITransaction transaction) throws ManagerException, PortalException
Get or Add the ServiceInterfaceRunTimeInstance.- Parameters:
sessionConfig
-serviceInterfaceId
-serviceInstanceId
-pageId
-transaction
-- Returns:
- a ServiceInterfaceInstanceConfig.
- Throws:
ManagerException
PortalException
-
getIdsByServiceInstanceId
java.util.Collection<java.lang.String> getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Get a list of ids by passing the id of the service instance.- Parameters:
sessionConfig
-serviceInstanceId
-transaction
-- Returns:
- a array of Strings.
- Throws:
ManagerException
PortalException
-
getIdsByServiceInstanceId
java.util.Collection<java.lang.String> getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, boolean includeRunTimeInterfaces, ITransaction transaction) throws ManagerException, PortalException
Get the Ids given the ServiceInstanceId.- Parameters:
sessionConfig
-serviceInstanceId
-includeRunTimeInterfaces
-transaction
-- Returns:
- a array of Strings.
- Throws:
ManagerException
PortalException
-
getIdsByServiceInterfaceIdAndServiceInstanceId
java.util.Collection<java.lang.String> getIdsByServiceInterfaceIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws ManagerException, PortalException
Get a list of ids by passing the ids of service interface and the service instance.- Parameters:
sessionConfig
-serviceInterfaceId
-serviceInstanceId
-ignoreRuntimeInterfaces
-transaction
-- Returns:
- a array of Strings.
- Throws:
ManagerException
PortalException
-
getIdsByServiceInterfaceIdAndServiceInstanceId
java.util.Collection<java.lang.String> getIdsByServiceInterfaceIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction) throws ManagerException, PortalException
Get a list of ids by passing the ids of service interface and the service instance.- Parameters:
sessionConfig
-serviceInterfaceId
-serviceInstanceId
-ignoreRuntimeInterfaces
-ignorePageTemplates
- TODOtransaction
-- Returns:
- a array of Strings.
- Throws:
ManagerException
PortalException
-
getIdsByServiceInterfaceId
java.util.Collection<java.lang.String> getIdsByServiceInterfaceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, boolean ignoreRuntimeInterfaces, ITransaction transaction) throws ManagerException, PortalException
Get a list of ids by passing the ids of the service interface.- Parameters:
sessionConfig
-serviceInterfaceId
-ignoreRuntimeInterfaces
-transaction
-- Returns:
- a arrays of Strings.
- Throws:
ManagerException
PortalException
-
getIdsByServiceInterfaceId
java.util.Collection<java.lang.String> getIdsByServiceInterfaceId(SessionConfig sessionConfig, java.lang.String serviceInterfaceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction) throws ManagerException, PortalException
Get a list of ids by passing the ids of the service interface.- Parameters:
sessionConfig
-serviceInterfaceId
-ignoreRuntimeInterfaces
-ignorePageTemplates
- TODOtransaction
-- Returns:
- a arrays of Strings.
- Throws:
ManagerException
PortalException
-
getIdsByPageId
java.util.Collection<java.lang.String> getIdsByPageId(SessionConfig sessionConfig, java.lang.String pageId, ITransaction transaction) throws ManagerException, PortalException
Get a list of ids by passing the page's id.- Parameters:
sessionConfig
-pageId
-transaction
-- Returns:
- a array of strings.
- Throws:
ManagerException
PortalException
-
getIdsByServiceInterfaceStyleId
java.util.Collection<java.lang.String> getIdsByServiceInterfaceStyleId(SessionConfig sessionConfig, java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction transaction) throws ManagerException, PortalException
Get the Ids given the ServiceInterfaceStyleId.- Parameters:
sessionConfig
-serviceInterfaceStyleId
-serviceInterfaceId
-transaction
-- Returns:
- a arrays of Strings.
- Throws:
ManagerException
PortalException
-
setCustomProperty
void setCustomProperty(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String name, java.lang.String value, ITransaction transaction) throws ManagerException, PortalException
Set a custom property for the given interface instance. If the property has been previously set, this method replaces the previous value, else a new property is created for the interface instance. If the property value is null or empty the property is removed.- Parameters:
sessionConfig
- the user session information.interfaceInstanceId
- the service interface instance id.name
- the property name.value
- the property value.transaction
- the transaction for persistence access.- Throws:
ManagerException
PortalException
-
setCustomProperties
void setCustomProperties(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.util.Map<java.lang.String,java.lang.String> propertiesTable, ITransaction transaction) throws ManagerException, PortalException
Receives a Map with one or more properties to be set for the given interface. If the property has been previously set, this method replaces the previous value, else a new property is created for the interface instance. If the property value is null or empty the property is removed.- Parameters:
sessionConfig
- the user session information.interfaceInstanceId
- the service interface instance id.propertiesTable
- the map with the properties.transaction
- the transaction for persistence access.- Throws:
ManagerException
PortalException
-
getCustomProperty
java.lang.String getCustomProperty(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String name, ITransaction transaction) throws ManagerException, PortalException
Returns the specified custom property. If the property has not been set earlier, null is returned.- Parameters:
sessionConfig
-interfaceInstanceId
-name
-transaction
-- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
getCustomProperties
java.util.Map<java.lang.String,java.lang.String> getCustomProperties(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Returns a Map containing all name/value pairs of custom properties from the specified service interface instance.- Parameters:
sessionConfig
- the user session information.interfaceInstanceId
- the service interface instance id.transaction
- the transaction for persistence access.- Returns:
- the map with the properties.
- Throws:
ManagerException
PortalException
-
getMenu
@Deprecated java.lang.String getMenu(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Since 10.2.0 replaced bygetMenuXml(SessionConfig, String, ServiceInterfaceMenuLevel, ITransaction)
.Returns the XML for the administration menu of the specified interface instance- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
getMenuXml
java.lang.String getMenuXml(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ServiceInterfaceMenuLevel menuLevel, ITransaction transaction) throws PortalException
Returns the XML for the menu for the specified service interface instance and menu level.- Parameters:
sessionConfig
- the user session information.serviceInterfaceInstanceId
- the identifier of the service interface instance.menuLevel
- the menu level.transaction
- transaction for persistence access.- Returns:
- a XML with the menu items available.
- Throws:
PortalException
- Since:
- 10.2.0
-
getXmlData
java.lang.String getXmlData(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId) throws ManagerException, PortalException
Returns the previously saved XML data for the service interface instance for the given user session- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
deleteCustomProperty
void deleteCustomProperty(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, java.lang.String name, ITransaction transaction) throws ManagerException, PortalException
Deletes the interface instance custom property- Parameters:
sessionConfig
-interfaceInstanceId
-name
-transaction
-- Throws:
ManagerException
PortalException
-
deleteCustomProperties
void deleteCustomProperties(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Deletes all the interface instance custom properties- Parameters:
sessionConfig
-interfaceInstanceId
-transaction
-- Throws:
ManagerException
PortalException
-
updateCustomPropertiesFromTemplate
void updateCustomPropertiesFromTemplate(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Update the interface instance custom properties from parent interface instance- Parameters:
sessionConfig
-interfaceInstanceId
-transaction
-- Throws:
ManagerException
PortalException
-
getPrintable
boolean getPrintable(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Returns the printable property of an interface instance. It may be necessary to look at the interface definition- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- true if ServiceInterface is printable and false otherwise.
- Throws:
ManagerException
PortalException
-
getRenderAs
int getRenderAs(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Returns the renderAs property of an interface instance. It may be necessary to look at the interface definition- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- a integer.
- Throws:
ManagerException
PortalException
-
getEnableCache
boolean getEnableCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Returns the enableCache property of an interface instance. It may be necessary to look at the interface definition- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- true if the Cache is enable.
- Throws:
ManagerException
PortalException
-
getCacheLevel
int getCacheLevel(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Returns the cacheLevel property of an interface instance. It may be necessary to look at the interface definition- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- an integer.
- Throws:
ManagerException
PortalException
-
getCachePersonalization
int getCachePersonalization(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Returns the cachePersonalization property of an interface instance. It may be necessary to look at the interface definition- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- an integer.
- Throws:
ManagerException
PortalException
-
getCacheServerSideInclude
boolean getCacheServerSideInclude(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Returns the cacheServerSideInclude property of an interface instance. It may be necessary to look at the interface definition- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-transaction
-- Returns:
- true if the ... and false otherwise.
- Throws:
ManagerException
PortalException
-
serialize
void serialize(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.io.OutputStream outputStream, ITransaction transaction) throws ManagerException, PortalException
- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-outputStream
-transaction
-- Throws:
ManagerException
PortalException
-
deserialize
java.lang.String deserialize(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, org.w3c.dom.Node serviceInterfaceInstanceNode, ITransaction transaction) throws ManagerException, PortalException
- Parameters:
sessionConfig
-deserializationConfig
-serviceInterfaceInstanceNode
-transaction
-- Returns:
- a String.
- Throws:
ManagerException
PortalException
-
serializeCustomProperties
void serializeCustomProperties(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.io.OutputStream outputStream, ITransaction transaction) throws ManagerException, PortalException
- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-outputStream
-transaction
-- Throws:
ManagerException
PortalException
-
deserializeCustomProperties
@Deprecated void deserializeCustomProperties(SessionConfig sessionConfig, DeserializationConfig deserializationConfig, org.w3c.dom.Node serviceInterfaceInstanceCustomPropertiesNode, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Since 6.2.0 this method is no longer used and may be removed in a future version.- Parameters:
sessionConfig
-deserializationConfig
-serviceInterfaceInstanceCustomPropertiesNode
-transaction
-- Throws:
ManagerException
PortalException
-
clearCache
void clearCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Clears the caches of a service interface instance.Clears service interface instance related information, cached in this manager, including HTML cache, and its XSL cache.
- Parameters:
sessionConfig
- the user session information.serviceInterfaceInstanceId
- the service interface instance identifier.transaction
- the transaction for persistence access.- Throws:
ManagerException
PortalException
-
clearCache
void clearCache(ITransaction transaction) throws PortalException
Clears all cache stored in this manager.- Parameters:
transaction
- the transaction for persistence access. If null, the cache is just cleared, else it is cleared as a transactional operation as specified inPortalCache.clear(ITransaction)
.- Throws:
PortalException
- Since:
- 4.1.0
-
setInterfaceInstanceHtmlCache
void setInterfaceInstanceHtmlCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.util.Locale locale, java.lang.String serviceInterfaceInstanceHtml, ITransaction transaction) throws ManagerException, PortalException
Deprecated.since 7.0.0 deprecated without replacement. LumisXP manages interface instance caches transparently and solutions should not interfere.Get the HTML Cache of the Interface Instance.- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-locale
-serviceInterfaceInstanceHtml
-transaction
-- Throws:
ManagerException
PortalException
-
getInterfaceInstanceHtmlCache
java.lang.String getInterfaceInstanceHtmlCache(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, java.util.Locale locale, ITransaction transaction) throws ManagerException, PortalException
Deprecated.since 7.0.0 deprecated without replacement. LumisXP manages interface instance caches transparently and solutions should not interfere.Get the HTML Cache of the Interface Instance.- Parameters:
sessionConfig
-serviceInterfaceInstanceId
-locale
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
updatePropertiesFromTemplate
void updatePropertiesFromTemplate(SessionConfig sessionConfig, java.lang.String interfaceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Update the properties of from the template.- Parameters:
sessionConfig
-interfaceInstanceId
-transaction
-- Throws:
ManagerException
PortalException
-
getServiceInterfaceInstanceStyleConfigKeyChecker
IConfigKeyChecker getServiceInterfaceInstanceStyleConfigKeyChecker()
-
getTitle
java.lang.String getTitle(ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction) throws PortalException
Returns the title for a service interface instance. The title is calculated from the service interface instance and the service interface properties/definitions.- Parameters:
serviceInterfaceInstanceConfig
- the service interface instance.transaction
- the transaction for persistence access.- Returns:
- the title. May be a localizable string.
- Throws:
PortalException
- Since:
- 5.5.0
-
getDisplayName
java.lang.String getDisplayName(ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig, ITransaction transaction) throws PortalException
Returns the display name for a service interface instance. The display name is calculated from the service interface instance and the service interface properties/definitions.- Parameters:
serviceInterfaceInstanceConfig
- the service interface instance.transaction
- the transaction for persistence access.- Returns:
- the display name. May be a localizable string.
- Throws:
PortalException
- Since:
- 5.5.0
-
-