Interface IDocumentPageTemplateDAO

All Known Implementing Classes:
DocumentPageTemplateDAO

public interface IDocumentPageTemplateDAO
Interface for document page template DAO
  • Method Details

    • delete

      void delete(int nPageTemplateId)
      Delete a record from the table
      Parameters:
      nPageTemplateId - The indentifier of the object DocumentPageTemplate
    • insert

      void insert(DocumentPageTemplate documentPageTemplate)
      Insert a new record in the table.
      Parameters:
      documentPageTemplate - The Instance of the object DocumentPageTemplate
    • load

      DocumentPageTemplate load(int nPageTemplateId)
      load the data of DocumentPageTemplate from the table
      Parameters:
      nPageTemplateId - The indentifier of the object PageTemplate
      Returns:
      The Instance of the object PageTemplate
    • selectPageTemplatesList

      List<DocumentPageTemplate> selectPageTemplatesList()
      Returns a list of all the page templates
      Returns:
      A list of PageTemplates objects
    • store

      void store(DocumentPageTemplate pageTemplate)
      Update the record in the table
      Parameters:
      pageTemplate - The instance of the PageTemplate to update