Class 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)  
      • 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​(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