Interface IDocumentAutoPublicationDAO

  • All Known Implementing Classes:
    DocumentAutoPublicationDAO

    public interface IDocumentAutoPublicationDAO
    This class porvides Data Access methods for DocumentAutoPublicationDAO interface
    • Method Detail

      • insert

        void insert​(DocumentAutoPublication documentAutoPublication)
        Insert a new record in the table document_auto_publication
        Parameters:
        documentAutoPublication - the instance of the DocumentAutoPublication object to insert
      • selectByPortletId

        java.util.Collection<DocumentAutoPublication> selectByPortletId​(int nPortletId)
        Load the list of Document Auto Publication whose portlet identifier is specified in parameter
        Parameters:
        nPortletId - The Portlet identifier
        Returns:
        The Collection of DocumentAutoPublication object
      • store

        void store​(DocumentAutoPublication documentAutoPublication)
        Update the record in the table
        Parameters:
        documentAutoPublication - The DocumentAutoPublication to update
      • delete

        void delete​(int nPortletId,
                    int nSpaceId)
        Delete records from a Document Auto Publication object identifier in the table document_auto_publication
        Parameters:
        nPortletId - the portlet identifier
        nSpaceId - the DocumentSpace identifier
      • deleteAllSpaces

        void deleteAllSpaces​(int nPortletId)
        Delete records from a portlet
        Parameters:
        nPortletId - the portlet identifier