Package lumis.doui.service
Class DouiInterfaceDefinition
- java.lang.Object
-
- lumis.doui.service.DouiInterfaceDefinition
-
- Direct Known Subclasses:
DouiRestInterfaceDefinition
,DouiServiceInterfaceInstanceDefinition
public abstract class DouiInterfaceDefinition extends 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(Node node, HashSet<String> usedFields)
Search whithin the filters XML structure of a source for the field Ids being referenced.protected void
insertCustomFilters(Node newSourceNode, Node interfaceSourceNode)
protected void
insertCustomMaxRows(Node newSourceNode, Node interfaceSourceNode)
protected void
insertCustomOrderBy(Node newSourceNode, Node interfaceSourceNode)
protected void
insertDependantFields(Node newSourceNode, Node originalDouiServiceInterfaceDefinitionNode)
Includes the fields used by filters and order by customizations.protected void
mergeFieldNodes(Node mergeFromFieldNode, Node mergeToFieldNode, boolean replace)
protected void
mergeFields(Node mergeFromSourceNode, Node mergeToSourceNode)
protected void
mergePostLoadProcessors(Node newSourceNode, Node interfaceSourceNode)
protected void
mergeSearch(Node newSourceNode, Node interfaceSourceNode)
protected void
mergeSourceDefinition(Node interfaceSourceNode, Node interfaceSourcesNode, Node originalDouiServiceInterfaceDefinitionNode)
protected void
mergeSourceDefinitions(Node douiServiceInterfaceDefinitionNode, Node originalDouiServiceInterfaceDefinitionNode)
-
-
-
Method Detail
-
mergeSourceDefinitions
protected void mergeSourceDefinitions(Node douiServiceInterfaceDefinitionNode, Node originalDouiServiceInterfaceDefinitionNode) throws PortalException
- Throws:
PortalException
-
mergeSourceDefinition
protected void mergeSourceDefinition(Node interfaceSourceNode, Node interfaceSourcesNode, Node originalDouiServiceInterfaceDefinitionNode) throws PortalException
- Throws:
PortalException
-
getFilterNodes
protected void getFilterNodes(Node node, HashSet<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(Node newSourceNode, 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(Node mergeFromSourceNode, Node mergeToSourceNode) throws PortalException
- Throws:
PortalException
-
insertCustomFilters
protected void insertCustomFilters(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
insertCustomMaxRows
protected void insertCustomMaxRows(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
insertCustomOrderBy
protected void insertCustomOrderBy(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
mergePostLoadProcessors
protected void mergePostLoadProcessors(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
mergeSearch
protected void mergeSearch(Node newSourceNode, Node interfaceSourceNode) throws PortalException
- Throws:
PortalException
-
mergeFieldNodes
protected void mergeFieldNodes(Node mergeFromFieldNode, Node mergeToFieldNode, boolean replace) throws PortalException
- Throws:
PortalException
-
-