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 java.lang.String
PREFERENCE_PUBLISHER_FILTERS
-
Constructor Summary
Constructors Constructor Description DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, org.w3c.dom.Node douiServiceInterfaceDefinitionNode, java.lang.String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction)
DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, org.w3c.dom.Node douiServiceInterfaceDefinitionNode, java.lang.String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.Node
getControlsDefinitionNode()
org.w3c.dom.Node[]
getHyperlinkDefinitionNodes()
org.w3c.dom.Node
getHyperlinksDefinitionNode()
org.w3c.dom.Node[]
getProcessActionDefinitionNodes(java.lang.String processActionId)
org.w3c.dom.Node
getProcessActionsDefinitionNode()
org.w3c.dom.Node[]
getRenderActionDefinitionNodes(java.lang.String renderActionId)
org.w3c.dom.Node[]
getSourceDefinitionNodes()
boolean
hasLogicTags()
Determines if the current service interface definition node contains doui logic tags.protected void
insertCustomFilters(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode)
protected void
insertCustomMaxRows(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode)
protected void
insertCustomOrderBy(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode)
boolean
isElIgnored()
Indicates if this doui definition may contain ELs that must be evaluated.protected void
mergeFields(org.w3c.dom.Node mergeFromSourceNode, org.w3c.dom.Node mergeToSourceNode)
static void
mergeSourceFields(org.w3c.dom.Node mergeFromSourceNode, org.w3c.dom.Node mergeToSourceNode)
Merges the fields in the mergeFromSourceNode to the mergeToSourceNode.void
processNodes(IDouiDefinitionProcessor processor, org.w3c.dom.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 java.lang.String PREFERENCE_PUBLISHER_FILTERS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DouiServiceInterfaceInstanceDefinition
public DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, org.w3c.dom.Node douiServiceInterfaceDefinitionNode, java.lang.String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
DouiServiceInterfaceInstanceDefinition
public DouiServiceInterfaceInstanceDefinition(SessionConfig sessionConfig, org.w3c.dom.Node douiServiceInterfaceDefinitionNode, java.lang.String serviceInterfaceInstanceId, IDouiDefinitionProcessor processor, boolean addPublisherFiltersToSource, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
-
Method Detail
-
getControlsDefinitionNode
public org.w3c.dom.Node getControlsDefinitionNode() throws PortalException
- Throws:
PortalException
-
processNodes
public void processNodes(IDouiDefinitionProcessor processor, org.w3c.dom.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 org.w3c.dom.Node[] getSourceDefinitionNodes()
-
getHyperlinksDefinitionNode
public org.w3c.dom.Node getHyperlinksDefinitionNode() throws PortalException
- Throws:
PortalException
-
getHyperlinkDefinitionNodes
public org.w3c.dom.Node[] getHyperlinkDefinitionNodes() throws PortalException
- Throws:
PortalException
-
getProcessActionsDefinitionNode
public org.w3c.dom.Node getProcessActionsDefinitionNode() throws PortalException
- Throws:
PortalException
-
getProcessActionDefinitionNodes
public org.w3c.dom.Node[] getProcessActionDefinitionNodes(java.lang.String processActionId) throws PortalException
- Throws:
PortalException
-
getRenderActionDefinitionNodes
public org.w3c.dom.Node[] getRenderActionDefinitionNodes(java.lang.String renderActionId) throws PortalException
- Throws:
PortalException
-
mergeSourceFields
public static void mergeSourceFields(org.w3c.dom.Node mergeFromSourceNode, org.w3c.dom.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(org.w3c.dom.Node mergeFromSourceNode, org.w3c.dom.Node mergeToSourceNode) throws PortalException
- Overrides:
mergeFields
in classDouiInterfaceDefinition
- Throws:
PortalException
-
insertCustomFilters
protected void insertCustomFilters(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode) throws PortalException
- Overrides:
insertCustomFilters
in classDouiInterfaceDefinition
- Throws:
PortalException
-
insertCustomMaxRows
protected void insertCustomMaxRows(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode) throws PortalException
- Overrides:
insertCustomMaxRows
in classDouiInterfaceDefinition
- Throws:
PortalException
-
insertCustomOrderBy
protected void insertCustomOrderBy(org.w3c.dom.Node newSourceNode, org.w3c.dom.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
-
-