Package lumis.doui
Class DouiManager
- java.lang.Object
-
- lumis.doui.DouiManager
-
- All Implemented Interfaces:
IDouiManager
public class DouiManager extends Object implements IDouiManager
Doui manager implementation.- Since:
- 4.0.0
- Version:
- $Revision: 20888 $ $Date: 2018-01-12 11:13:13 -0200 (Fri, 12 Jan 2018) $
-
-
Constructor Summary
Constructors Constructor Description DouiManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearDouiServiceDefinitionCache(String serviceId)
Node
getDouiServiceDefinitionNode(String serviceId, ITransaction transaction)
DouiServiceInterfaceInstanceDefinition
getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction)
DouiServiceInterfaceInstanceDefinition
getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction)
Return the doui definition for a service interface instance.void
register(SessionConfig sessionConfig, String douiConfigPath, ITransaction transaction)
void
unregister(SessionConfig sessionConfig, String serviceId, ITransaction transaction)
protected void
validateControls(Document douiConfigDoc)
protected boolean
validateDouiDefinition(Document douiConfigDoc)
protected void
validateFields(Document douiConfigDoc)
protected void
validateInterfaceControls(Node currentNode, Set<String> controlIds, String interfaceFullId)
protected boolean
validateUniqueSourceIds(Document douiConfigDoc)
-
-
-
Method Detail
-
getDouiServiceInterfaceInstanceDefinition
public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction) throws PortalException
Description copied from interface:IDouiManager
Return the doui definition for a service interface instance.- Specified by:
getDouiServiceInterfaceInstanceDefinition
in interfaceIDouiManager
- Parameters:
sessionConfig
- the user session information.serviceInterfaceInstanceId
- the service interface instance identifier.processor
- an optional definition processor. If null the definition will not be pre-processed.transaction
- the transaction for persistence access.- Returns:
- the doui service interface instance definition.
- Throws:
PortalException
-
getDouiServiceInterfaceInstanceDefinition
public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
register
public void register(SessionConfig sessionConfig, String douiConfigPath, ITransaction transaction) throws ManagerException, PortalException
- Specified by:
register
in interfaceIDouiManager
- Throws:
ManagerException
PortalException
-
validateDouiDefinition
protected boolean validateDouiDefinition(Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
validateControls
protected void validateControls(Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
validateInterfaceControls
protected void validateInterfaceControls(Node currentNode, Set<String> controlIds, String interfaceFullId) throws PortalException
- Throws:
PortalException
-
validateFields
protected void validateFields(Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
validateUniqueSourceIds
protected boolean validateUniqueSourceIds(Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
unregister
public void unregister(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws ManagerException, PortalException
- Specified by:
unregister
in interfaceIDouiManager
- Throws:
ManagerException
PortalException
-
clearDouiServiceDefinitionCache
public void clearDouiServiceDefinitionCache(String serviceId) throws PortalException
- Specified by:
clearDouiServiceDefinitionCache
in interfaceIDouiManager
- Throws:
PortalException
-
getDouiServiceDefinitionNode
public Node getDouiServiceDefinitionNode(String serviceId, ITransaction transaction) throws ManagerException, PortalException
- Specified by:
getDouiServiceDefinitionNode
in interfaceIDouiManager
- Throws:
ManagerException
PortalException
-
-