Package lumis.doui
Class DouiManager
- java.lang.Object
-
- lumis.doui.DouiManager
-
- All Implemented Interfaces:
IDouiManager
public class DouiManager extends java.lang.Object implements IDouiManager
Doui manager implementation.- Since:
- 4.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description DouiManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearDouiServiceDefinitionCache(java.lang.String serviceId)
org.w3c.dom.Node
getDouiServiceDefinitionNode(java.lang.String serviceId, ITransaction transaction)
DouiServiceInterfaceInstanceDefinition
getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction)
DouiServiceInterfaceInstanceDefinition
getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, java.lang.String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction)
Return the doui definition for a service interface instance.void
register(SessionConfig sessionConfig, java.lang.String douiConfigPath, ITransaction transaction)
void
unregister(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction)
protected void
validateControls(org.w3c.dom.Document douiConfigDoc)
protected boolean
validateDouiDefinition(org.w3c.dom.Document douiConfigDoc)
protected void
validateFields(org.w3c.dom.Document douiConfigDoc)
protected void
validateInterfaceControls(org.w3c.dom.Node currentNode, java.util.Set<java.lang.String> controlIds, java.lang.String interfaceFullId)
protected boolean
validateUniqueSourceIds(org.w3c.dom.Document douiConfigDoc)
-
-
-
Method Detail
-
getDouiServiceInterfaceInstanceDefinition
public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, java.lang.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, java.lang.String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
register
public void register(SessionConfig sessionConfig, java.lang.String douiConfigPath, ITransaction transaction) throws ManagerException, PortalException
- Specified by:
register
in interfaceIDouiManager
- Throws:
ManagerException
PortalException
-
validateDouiDefinition
protected boolean validateDouiDefinition(org.w3c.dom.Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
validateControls
protected void validateControls(org.w3c.dom.Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
validateInterfaceControls
protected void validateInterfaceControls(org.w3c.dom.Node currentNode, java.util.Set<java.lang.String> controlIds, java.lang.String interfaceFullId) throws PortalException
- Throws:
PortalException
-
validateFields
protected void validateFields(org.w3c.dom.Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
validateUniqueSourceIds
protected boolean validateUniqueSourceIds(org.w3c.dom.Document douiConfigDoc) throws PortalException
- Throws:
PortalException
-
unregister
public void unregister(SessionConfig sessionConfig, java.lang.String serviceId, ITransaction transaction) throws ManagerException, PortalException
- Specified by:
unregister
in interfaceIDouiManager
- Throws:
ManagerException
PortalException
-
clearDouiServiceDefinitionCache
public void clearDouiServiceDefinitionCache(java.lang.String serviceId) throws PortalException
- Specified by:
clearDouiServiceDefinitionCache
in interfaceIDouiManager
- Throws:
PortalException
-
getDouiServiceDefinitionNode
public org.w3c.dom.Node getDouiServiceDefinitionNode(java.lang.String serviceId, ITransaction transaction) throws ManagerException, PortalException
- Specified by:
getDouiServiceDefinitionNode
in interfaceIDouiManager
- Throws:
ManagerException
PortalException
-
-