Package lumis.doui.service
Class DouiInterfaceDefinition
- java.lang.Object
-
- lumis.doui.service.DouiInterfaceDefinition
-
- Direct Known Subclasses:
DouiRestInterfaceDefinition
,DouiServiceInterfaceInstanceDefinition
public abstract class DouiInterfaceDefinition extends java.lang.Object
- Since:
- 6.1.0
- Version:
- $Revision: 18862 $ $Date: 2016-05-12 15:50:43 -0300 (Thu, 12 May 2016) $
-
-
Constructor Summary
Constructors Constructor Description DouiInterfaceDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
getFilterNodes(org.w3c.dom.Node node, java.util.HashSet<java.lang.String> usedFields)
Search whithin the filters XML structure of a source for the field Ids being referenced.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)
protected void
insertDependantFields(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node originalDouiServiceInterfaceDefinitionNode)
Includes the fields used by filters and order by customizations.protected void
mergeFieldNodes(org.w3c.dom.Node mergeFromFieldNode, org.w3c.dom.Node mergeToFieldNode, boolean replace)
protected void
mergeFields(org.w3c.dom.Node mergeFromSourceNode, org.w3c.dom.Node mergeToSourceNode)
protected void
mergePostLoadProcessors(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode)
protected void
mergeSearch(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode)
protected void
mergeSourceDefinition(org.w3c.dom.Node interfaceSourceNode, org.w3c.dom.Node interfaceSourcesNode, org.w3c.dom.Node originalDouiServiceInterfaceDefinitionNode)
protected void
mergeSourceDefinitions(org.w3c.dom.Node douiServiceInterfaceDefinitionNode, org.w3c.dom.Node originalDouiServiceInterfaceDefinitionNode)
-
-
-
Method Detail
-
mergeSourceDefinitions
protected void mergeSourceDefinitions(org.w3c.dom.Node douiServiceInterfaceDefinitionNode, org.w3c.dom.Node originalDouiServiceInterfaceDefinitionNode) throws PortalException
- Throws:
PortalException
-
mergeSourceDefinition
protected void mergeSourceDefinition(org.w3c.dom.Node interfaceSourceNode, org.w3c.dom.Node interfaceSourcesNode, org.w3c.dom.Node originalDouiServiceInterfaceDefinitionNode) throws PortalException
- Throws:
PortalException
-
getFilterNodes
protected void getFilterNodes(org.w3c.dom.Node node, java.util.HashSet<java.lang.String> usedFields) throws PortalException
Search whithin the filters XML structure of a source for the field Ids being referenced.- Parameters:
node
-usedFields
-- Throws:
PortalException
- Since:
- 6.1.0
-
insertDependantFields
protected void insertDependantFields(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node originalDouiServiceInterfaceDefinitionNode) throws PortalException
Includes the fields used by filters and order by customizations. If a field used by a custom filter or order by does not exists on the complete service source definition, an exception is thrown.- Parameters:
newSourceNode
- the new source node for the current interface.interfaceSourcesNode
- the source nodes defined for the service and used on this interface- Throws:
PortalException
- Since:
- 6.1.0
-
mergeFields
protected void mergeFields(org.w3c.dom.Node mergeFromSourceNode, org.w3c.dom.Node mergeToSourceNode) throws PortalException
- Throws:
PortalException
-
insertCustomFilters
protected void insertCustomFilters(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
insertCustomMaxRows
protected void insertCustomMaxRows(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
insertCustomOrderBy
protected void insertCustomOrderBy(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
mergePostLoadProcessors
protected void mergePostLoadProcessors(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
mergeSearch
protected void mergeSearch(org.w3c.dom.Node newSourceNode, org.w3c.dom.Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
mergeFieldNodes
protected void mergeFieldNodes(org.w3c.dom.Node mergeFromFieldNode, org.w3c.dom.Node mergeToFieldNode, boolean replace) throws PortalException
- Throws:
PortalException
-
-