Interface IDocumentAutoPublicationDAO
- All Known Implementing Classes:
DocumentAutoPublicationDAO
public interface IDocumentAutoPublicationDAO
This class porvides Data Access methods for DocumentAutoPublicationDAO interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nPortletId, int nSpaceId) Delete records from a Document Auto Publication object identifier in the table document_auto_publicationvoiddeleteAllSpaces(int nPortletId) Delete records from a portletvoidinsert(DocumentAutoPublication documentAutoPublication) Insert a new record in the table document_auto_publicationload()Loads all data Document Auto Publicationload(int nPortletId, int nSpaceId) Loads the data of Document Auto Publication whose identifier is specified in parameterselectByPortletId(int nPortletId) Load the list of Document Auto Publication whose portlet identifier is specified in parameterselectBySpaceId(int nSpaceId) Load the list of Document Auto Publication whoseDocumentSpaceidentifier is specified in parametervoidstore(DocumentAutoPublication documentAutoPublication) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table document_auto_publication- Parameters:
documentAutoPublication- the instance of the DocumentAutoPublication object to insert
-
load
Loads the data of Document Auto Publication whose identifier is specified in parameter- Parameters:
nPortletId- ThePortletidentifiernSpaceId- TheDocumentSpaceidentifier- Returns:
- The
DocumentAutoPublicationobject
-
load
Collection<DocumentAutoPublication> load()Loads all data Document Auto Publication- Returns:
- The
CollectionofDocumentAutoPublicationobject
-
selectByPortletId
Load the list of Document Auto Publication whose portlet identifier is specified in parameter- Parameters:
nPortletId- ThePortletidentifier- Returns:
- The
CollectionofDocumentAutoPublicationobject
-
selectBySpaceId
Load the list of Document Auto Publication whoseDocumentSpaceidentifier is specified in parameter- Parameters:
nSpaceId- TheDocumentSpaceidentifier- Returns:
- The
CollectionofDocumentAutoPublicationobject
-
store
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 identifiernSpaceId- theDocumentSpaceidentifier
-
deleteAllSpaces
void deleteAllSpaces(int nPortletId) Delete records from a portlet- Parameters:
nPortletId- the portlet identifier
-