|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDocumentListPortletDAO
| Method Summary | |
|---|---|
boolean |
checkAssignIntoPortlet(int nDocumentId,
int nPortletId)
Tests before insert it, if an article is already assigned in a portlet |
boolean |
checkPublishingIntoPortlet(int nDocumentId,
int nPortletId)
Tests before insert it, if an document is already published in a portlet |
void |
delete(int nPortletId)
Deletes records for a portlet identifier in the tables portlet_articles_list, published_article_portlet, auto_publishing |
void |
deleteFromPortlet(int nDocumentId,
int nPortletId)
Deletes an document assigned from a portlet |
void |
getModifyDocumentOrder(int nNewOrder,
int nDocumentId,
int nPortletId)
Modify the order of a document |
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table portlet_articles_list |
void |
insertIntoPortlet(int nDocumentId,
int nPortletId,
int nStatus)
Insert the documents whose identifier is specified in parameter in a portlet for assignes |
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of Document List Portlet whose identifier is specified in parameter |
int |
maxOrderDocumentList(int nPortletId)
Calculate the new max order |
void |
publishedIntoPortlet(int nDocumentId,
int nPortletId,
int nStatus)
Published the documents whose identifier is specified in parameter in a portlet for publishing : set status to 1 |
java.util.Collection |
selectAssignedDocumentsList(int nPortletId)
Load the list of documentTypes |
java.util.Collection<Document> |
selectByPortlet(int nPortletId)
Returns all the documents of a portlet whose identifier is specified |
DocumentListPortlet |
selectDocument(int nDocumentId,
int nPortletId)
Load the data of DocumentListPortlet from the table |
java.util.Collection<Document> |
selectDocumentsByPortlet(int nPortletId)
Returns all the documents of a portlet whose identifier is specified |
java.util.Collection |
selectDocumentTypeListByCode(int nDocumentId,
java.lang.String strCodeDocumentType)
Load the list of documentTypes |
int |
selectIdByOrder(int nDocumentOrder,
int nPortletId)
Returns a document identifier in a distinct order |
java.util.Collection |
selectPortletsListByDocumentId(java.lang.String strDocumentId)
Loads the list of the portlets whose type is the same as the one specified in parameter |
java.util.Collection |
selectPublishedDocumentsList(int nPortletId)
Loads the list of the documents whose type is the same as the one specified in parameter |
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table |
void |
unPublishedIntoPortlet(int nDocumentId,
int nPortletId,
int nStatus)
UnPublished the documents whose identifier is specified in parameter in a portlet for publishing : set status to 1 and order to -1 |
| Method Detail |
|---|
boolean checkAssignIntoPortlet(int nDocumentId,
int nPortletId)
nDocumentId - The identifier of the documentnPortletId - The identifier of the portlet
boolean checkPublishingIntoPortlet(int nDocumentId,
int nPortletId)
nDocumentId - The identifier of the documentnPortletId - The identifier of the portlet
void delete(int nPortletId)
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - the portlet identifier
void deleteFromPortlet(int nDocumentId,
int nPortletId)
nDocumentId - the identifier of the document to deletenPortletId - the identifier of the portlet
void getModifyDocumentOrder(int nNewOrder,
int nDocumentId,
int nPortletId)
nNewOrder - The order numbernDocumentId - The document identifiernPortletId - the portlet identifiervoid insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - the instance of the Portlet object to insert
void insertIntoPortlet(int nDocumentId,
int nPortletId,
int nStatus)
nDocumentId - the identifier of the documentnPortletId - the identifier of the portletfr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The Portlet identifier
int maxOrderDocumentList(int nPortletId)
nPortletId - the portlet identifer
void publishedIntoPortlet(int nDocumentId,
int nPortletId,
int nStatus)
document - the DocumentListPortlet objectnPortletId - the identifier of the portletnStatus - the publishing status : 1 for unpublished - 0 for publishedjava.util.Collection selectAssignedDocumentsList(int nPortletId)
nPortletId - The portlet identifier
java.util.Collection<Document> selectByPortlet(int nPortletId)
nPortletId - the identifier of the portlet
java.util.Collection<Document> selectDocumentsByPortlet(int nPortletId)
nPortletId - the identifier of the portlet
DocumentListPortlet selectDocument(int nDocumentId,
int nPortletId)
nDocumentId - The identifier of DocumentListPortletnPortletId - the identifier of portlet
java.util.Collection selectDocumentTypeListByCode(int nDocumentId,
java.lang.String strCodeDocumentType)
strCodeDocumentType - The code
int selectIdByOrder(int nDocumentOrder,
int nPortletId)
nDocumentOrder - The order numbernPortletId - the portlet identifier
java.util.Collection selectPortletsListByDocumentId(java.lang.String strDocumentId)
strDocumentId - the document identifier
java.util.Collection selectPublishedDocumentsList(int nPortletId)
nPortletId - the portlet identifier
void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - A portlet
void unPublishedIntoPortlet(int nDocumentId,
int nPortletId,
int nStatus)
document - the DocumentListPortlet objectnPortletId - the identifier of the portletnStatus - the publishing status : 1 for unpublished - 0 for published
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||