public class DouiManager extends Object implements IDouiManager
Constructor and Description |
---|
DouiManager() |
Modifier and Type | Method and 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) |
public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction) throws PortalException
IDouiManager
getDouiServiceInterfaceInstanceDefinition
in interface IDouiManager
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.PortalException
public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction) throws PortalException
PortalException
public void register(SessionConfig sessionConfig, String douiConfigPath, ITransaction transaction) throws ManagerException, PortalException
register
in interface IDouiManager
ManagerException
PortalException
protected boolean validateDouiDefinition(Document douiConfigDoc) throws PortalException
PortalException
protected void validateControls(Document douiConfigDoc) throws PortalException
PortalException
protected void validateInterfaceControls(Node currentNode, Set<String> controlIds, String interfaceFullId) throws PortalException
PortalException
protected void validateFields(Document douiConfigDoc) throws PortalException
PortalException
protected boolean validateUniqueSourceIds(Document douiConfigDoc) throws PortalException
PortalException
public void unregister(SessionConfig sessionConfig, String serviceId, ITransaction transaction) throws ManagerException, PortalException
unregister
in interface IDouiManager
ManagerException
PortalException
public void clearDouiServiceDefinitionCache(String serviceId) throws PortalException
clearDouiServiceDefinitionCache
in interface IDouiManager
PortalException
public Node getDouiServiceDefinitionNode(String serviceId, ITransaction transaction) throws ManagerException, PortalException
getDouiServiceDefinitionNode
in interface IDouiManager
ManagerException
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.