Class DouiInterfaceDefinition

    • 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