lumis.doui.service
Class DouiInterfaceDefinition

Package class diagram package DouiInterfaceDefinition
java.lang.Object
  extended by lumis.doui.service.DouiInterfaceDefinition
Direct Known Subclasses:
DouiRestInterfaceDefinition, DouiServiceInterfaceInstanceDefinition

public abstract class DouiInterfaceDefinition
extends Object

Since:
6.1.0

Constructor Summary
DouiInterfaceDefinition()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DouiInterfaceDefinition

public DouiInterfaceDefinition()
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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.