Class DocumentPageTemplateHome


  • public final class DocumentPageTemplateHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for DocumentPageTemplate objects
    • Method Detail

      • create

        public static DocumentPageTemplate create​(DocumentPageTemplate documentPageTemplate)
        Creation of an instance of a document page template
        Parameters:
        documentPageTemplate - template An instance of a page template which contains the informations to store
        Returns:
        The instance of a page template which has been created with its primary key.
      • update

        public static DocumentPageTemplate update​(DocumentPageTemplate documentPageTemplate)
        Update of the page template which is specified
        Parameters:
        documentPageTemplate - The instance of the page template which contains the data to store
        Returns:
        The instance of the page template which has been updated
      • remove

        public static void remove​(int nId)
        Remove the page template whose identifier is specified in parameter
        Parameters:
        nId - The identifier of the page template to remove
      • findByPrimaryKey

        public static DocumentPageTemplate findByPrimaryKey​(int nKey)
        Returns an instance of an page template whose identifier is specified in parameter
        Parameters:
        nKey - The page template primary key
        Returns:
        an instance of a page template
      • getPageTemplatesList

        public static java.util.List<DocumentPageTemplate> getPageTemplatesList()
        Return the list of all the page templates
        Returns:
        A collection of page templates objects