Class DocumentPageTemplateDAO

    • Constructor Detail

      • DocumentPageTemplateDAO

        public DocumentPageTemplateDAO()
    • Method Detail

      • insert

        public void insert​(DocumentPageTemplate documentPageTemplate)
        Insert a new record in the table.
        Specified by:
        insert in interface IDocumentPageTemplateDAO
        Parameters:
        documentPageTemplate - The Instance of the object DocumentPageTemplate
      • load

        public DocumentPageTemplate load​(int nPageTemplateId)
        load the data of DocumentPageTemplate from the table
        Specified by:
        load in interface IDocumentPageTemplateDAO
        Parameters:
        nPageTemplateId - The indentifier of the object DocumentPageTemplate
        Returns:
        The Instance of the object PageTemplate
      • delete

        public void delete​(int nPageTemplateId)
        Delete a record from the table
        Specified by:
        delete in interface IDocumentPageTemplateDAO
        Parameters:
        nPageTemplateId - The indentifier of the object PageTemplate