Package lumis.doui.service
Class DouiServiceInterfaceInstanceDefinition
- java.lang.Object
-
- lumis.doui.service.DouiInterfaceDefinition
-
- lumis.doui.service.DouiServiceInterfaceInstanceDefinition
-
public class DouiServiceInterfaceInstanceDefinition extends DouiInterfaceDefinition
Generates the definition for a doui service interface instance.- Since:
- 4.0.0
- Version:
- $Revision: 24857 $ $Date: 2022-02-16 17:11:40 -0300 (Wed, 16 Feb 2022) $
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFERENCE_PUBLISHER_FILTERS
-
Constructor Summary
Constructors Constructor Description DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, Node douiServiceInterfaceDefinitionNode, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction)
DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, Node douiServiceInterfaceDefinitionNode, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getControlsDefinitionNode()
Node[]
getHyperlinkDefinitionNodes()
Node
getHyperlinksDefinitionNode()
Node[]
getProcessActionDefinitionNodes(String processActionId)
Node
getProcessActionsDefinitionNode()
Node[]
getRenderActionDefinitionNodes(String renderActionId)
Node[]
getSourceDefinitionNodes()
boolean
hasLogicTags()
Determines if the current service interface definition node contains doui logic tags.protected void
insertCustomFilters(Node newSourceNode, Node interfaceSourceNode)
protected void
insertCustomMaxRows(Node newSourceNode, Node interfaceSourceNode)
protected void
insertCustomOrderBy(Node newSourceNode, Node interfaceSourceNode)
boolean
isElIgnored()
Indicates if this doui definition may contain ELs that must be evaluated.protected void
mergeFields(Node mergeFromSourceNode, Node mergeToSourceNode)
static void
mergeSourceFields(Node mergeFromSourceNode, Node mergeToSourceNode)
Merges the fields in the mergeFromSourceNode to the mergeToSourceNode.void
processNodes(IDouiDefinitionProcessor processor, Node douiInterfaceDefinitionNode)
Allows the processing of the doui definition stored in this instance.-
Methods inherited from class lumis.doui.service.DouiInterfaceDefinition
getFilterNodes, insertDependantFields, mergeFieldNodes, mergePostLoadProcessors, mergeSearch, mergeSourceDefinition, mergeSourceDefinitions
-
-
-
-
Field Detail
-
PREFERENCE_PUBLISHER_FILTERS
public static final String PREFERENCE_PUBLISHER_FILTERS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DouiServiceInterfaceInstanceDefinition
public DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, Node douiServiceInterfaceDefinitionNode, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
DouiServiceInterfaceInstanceDefinition
public DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, Node douiServiceInterfaceDefinitionNode, String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
-
Method Detail
-
getControlsDefinitionNode
public Node getControlsDefinitionNode() throws PortalException
- Throws:
PortalException
-
processNodes
public void processNodes(IDouiDefinitionProcessor processor, Node douiInterfaceDefinitionNode) throws PortalException
Allows the processing of the doui definition stored in this instance.- Parameters:
processor
- the processor that will be called.- Throws:
PortalException
- Since:
- 4.0.7
-
isElIgnored
public boolean isElIgnored()
Indicates if this doui definition may contain ELs that must be evaluated.- Returns:
- false if ELs must be evaluated, or true if it must be ignored and not evaluated.
- Since:
- 4.0.7
-
getSourceDefinitionNodes
public Node[] getSourceDefinitionNodes()
-
getHyperlinksDefinitionNode
public Node getHyperlinksDefinitionNode() throws PortalException
- Throws:
PortalException
-
getHyperlinkDefinitionNodes
public Node[] getHyperlinkDefinitionNodes() throws PortalException
- Throws:
PortalException
-
getProcessActionsDefinitionNode
public Node getProcessActionsDefinitionNode() throws PortalException
- Throws:
PortalException
-
getProcessActionDefinitionNodes
public Node[] getProcessActionDefinitionNodes(String processActionId) throws PortalException
- Throws:
PortalException
-
getRenderActionDefinitionNodes
public Node[] getRenderActionDefinitionNodes(String renderActionId) throws PortalException
- Throws:
PortalException
-
mergeSourceFields
public static void mergeSourceFields(Node mergeFromSourceNode, Node mergeToSourceNode) throws PortalException
Merges the fields in the mergeFromSourceNode to the mergeToSourceNode.- Parameters:
mergeFromSourceNode
- the source node from which the merge will be done.mergeToSourceNode
- the source node to which the merge will be done. This node will be modified by the merge.- Throws:
PortalException
- Since:
- 4.0.5
-
mergeFields
protected void mergeFields(Node mergeFromSourceNode, Node mergeToSourceNode) throws PortalException
- Overrides:
mergeFields
in classDouiInterfaceDefinition
- Throws:
PortalException
-
insertCustomFilters
protected void insertCustomFilters(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Overrides:
insertCustomFilters
in classDouiInterfaceDefinition
- Throws:
PortalException
-
insertCustomMaxRows
protected void insertCustomMaxRows(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Overrides:
insertCustomMaxRows
in classDouiInterfaceDefinition
- Throws:
PortalException
-
insertCustomOrderBy
protected void insertCustomOrderBy(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Overrides:
insertCustomOrderBy
in classDouiInterfaceDefinition
- Throws:
PortalException
-
hasLogicTags
public boolean hasLogicTags()
Determines if the current service interface definition node contains doui logic tags.- Returns:
- If the current service interface definitinon node contains doui logic tags.
- Since:
- 5.6.0
-
-