public class DocumentAutoPublicationDAO extends Object implements IDocumentAutoPublicationDAO
Constructor and Description |
---|
DocumentAutoPublicationDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nPortletId,
int nSpaceId)
Deletes 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
|
public void delete(int nPortletId, int nSpaceId)
delete
in interface IDocumentAutoPublicationDAO
nPortletId
- the portlet identifiernSpaceId
- the DocumentSpace
identifierpublic void deleteAllSpaces(int nPortletId)
deleteAllSpaces
in interface IDocumentAutoPublicationDAO
nPortletId
- the portlet identifierpublic void insert(DocumentAutoPublication documentAutoPublication)
insert
in interface IDocumentAutoPublicationDAO
documentAutoPublication
- the instance of the
DocumentAutoPublication object to insertpublic DocumentAutoPublication load(int nPortletId, int nSpaceId)
load
in interface IDocumentAutoPublicationDAO
nPortletId
- The Portlet
identifiernSpaceId
- The DocumentSpace
identifierDocumentAutoPublication
objectpublic Collection<DocumentAutoPublication> load()
load
in interface IDocumentAutoPublicationDAO
Collection
of DocumentAutoPublication
objectpublic Collection<DocumentAutoPublication> selectByPortletId(int nPortletId)
selectByPortletId
in interface IDocumentAutoPublicationDAO
nPortletId
- The Portlet
identifierDocumentAutoPublication
objectpublic Collection<DocumentAutoPublication> selectBySpaceId(int nSpaceId)
DocumentSpace
identifier is specified in parameterselectBySpaceId
in interface IDocumentAutoPublicationDAO
nSpaceId
- The DocumentSpace
identifierDocumentAutoPublication
objectpublic void store(DocumentAutoPublication documentAutoPublication)
store
in interface IDocumentAutoPublicationDAO
documentAutoPublication
- The DocumentAutoPublication to updateCopyright © 2020 City of Paris. All rights reserved.