Class PresentationImpl

    • Constructor Detail

      • PresentationImpl

        public PresentationImpl()
        Constructor
    • Method Detail

      • getTitle

        public String getTitle​(String role,
                               String language)
        Description copied from interface: Presentation
        Get title in specific language for the given role
        Specified by:
        getTitle in interface Presentation
        Parameters:
        role - role for which the title is
        language - title's language
        Returns:
        wanted title as a String object. If title is not found, search title with given role and default language, if not found again, return the default title in given language, if not found again, return the default title in default language, if not found again, return empty string.
      • getColumns

        public Column[] getColumns​(String strRoleName)
        Get the contents of the Columns object with the given role name, or of the 'Columns' for the default role if nothing for the specified role can be found.
        Specified by:
        getColumns in interface Presentation
        Parameters:
        strRoleName - the name of the role
        Returns:
        the contents of 'Columns' as an array of 'Column'
      • getColumnsByRole

        public Columns getColumnsByRole​(String strRoleName)
        Description copied from interface: Presentation
        Get the Columns object referenced by the given role name
        Specified by:
        getColumnsByRole in interface Presentation
        Parameters:
        strRoleName - the name of the Columns object
        Returns:
        a Columns implementation
      • addColumns

        public void addColumns​(Columns columns)
        Description copied from interface: Presentation
        Add an column to the collection
        Specified by:
        addColumns in interface Presentation
        Parameters:
        columns - to be added
      • deleteColumns

        public void deleteColumns​(String strRoleName)
                           throws WorkflowException
        Description copied from interface: Presentation
        Delete the Columns object with the given name
        Specified by:
        deleteColumns in interface Presentation
        Parameters:
        strRoleName - the name of the Columns object (a role name)
        Throws:
        WorkflowException - when the Columns for the given name have not been found.