fr.paris.lutece.plugins.document.business.autopublication
Interface IDocumentAutoPublicationDAO

All Known Implementing Classes:
DocumentAutoPublicationDAO

public interface IDocumentAutoPublicationDAO

This class porvides Data Access methods for DocumentAutoPublicationDAO interface


Method Summary
 void delete(int nPortletId, int nSpaceId)
          Delete records from a Document Auto Publication object identifier in the table document_auto_publication
 void deleteAllSpaces(int nPortletId)
          Delete records from a portlet
 void insert(DocumentAutoPublication documentAutoPublication)
          Insert a new record in the table document_auto_publication
 Collection<DocumentAutoPublication> load()
          Loads all data Document Auto Publication
 DocumentAutoPublication load(int nPortletId, int nSpaceId)
          Loads the data of Document Auto Publication whose identifier is specified in parameter
 Collection<DocumentAutoPublication> selectByPortletId(int nPortletId)
          Load the list of Document Auto Publication whose portlet identifier is specified in parameter
 Collection<DocumentAutoPublication> selectBySpaceId(int nSpaceId)
          Load the list of Document Auto Publication whose DocumentSpace identifier is specified in parameter
 void store(DocumentAutoPublication documentAutoPublication)
          Update the record in the table
 

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

load

DocumentAutoPublication load(int nPortletId,
                             int nSpaceId)
Loads the data of Document Auto Publication whose identifier is specified in parameter

Parameters:
nPortletId - The Portlet identifier
nSpaceId - The DocumentSpace identifier
Returns:
The DocumentAutoPublication object

load

Collection<DocumentAutoPublication> load()
Loads all data Document Auto Publication

Returns:
The Collection of DocumentAutoPublication object

selectByPortletId

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

selectBySpaceId

Collection<DocumentAutoPublication> selectBySpaceId(int nSpaceId)
Load the list of Document Auto Publication whose DocumentSpace identifier is specified in parameter

Parameters:
nSpaceId - The DocumentSpace 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


Copyright © 2014 Mairie de Paris. All Rights Reserved.