Interface IDocumentAutoPublicationDAO
-
- All Known Implementing Classes:
DocumentAutoPublicationDAO
public interface IDocumentAutoPublicationDAOThis class porvides Data Access methods for DocumentAutoPublicationDAO interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(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_publicationjava.util.Collection<DocumentAutoPublication>load()Loads all data Document Auto PublicationDocumentAutoPublicationload(int nPortletId, int nSpaceId)Loads the data of Document Auto Publication whose identifier is specified in parameterjava.util.Collection<DocumentAutoPublication>selectByPortletId(int nPortletId)Load the list of Document Auto Publication whose portlet identifier is specified in parameterjava.util.Collection<DocumentAutoPublication>selectBySpaceId(int nSpaceId)Load the list of Document Auto Publication whoseDocumentSpaceidentifier is specified in parametervoidstore(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- ThePortletidentifiernSpaceId- TheDocumentSpaceidentifier- Returns:
- The
DocumentAutoPublicationobject
-
load
java.util.Collection<DocumentAutoPublication> load()
Loads all data Document Auto Publication- Returns:
- The
CollectionofDocumentAutoPublicationobject
-
selectByPortletId
java.util.Collection<DocumentAutoPublication> selectByPortletId(int nPortletId)
Load the list of Document Auto Publication whose portlet identifier is specified in parameter- Parameters:
nPortletId- ThePortletidentifier- Returns:
- The
CollectionofDocumentAutoPublicationobject
-
selectBySpaceId
java.util.Collection<DocumentAutoPublication> selectBySpaceId(int nSpaceId)
Load the list of Document Auto Publication whoseDocumentSpaceidentifier is specified in parameter- Parameters:
nSpaceId- TheDocumentSpaceidentifier- Returns:
- The
CollectionofDocumentAutoPublicationobject
-
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 identifiernSpaceId- theDocumentSpaceidentifier
-
deleteAllSpaces
void deleteAllSpaces(int nPortletId)
Delete records from a portlet- Parameters:
nPortletId- the portlet identifier
-
-