|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.document.business.portlet.DocumentPortletDAO
public class DocumentPortletDAO
| Constructor Summary | |
|---|---|
DocumentPortletDAO()
|
|
| Method Summary | |
|---|---|
boolean |
checkIsAliasPortlet(int nPortletId)
Tests if is a portlet is portlet type alias |
void |
delete(int nPortletId)
Deletes records for a portlet identifier in the tables document_portlet, document_published, document_category_portlet |
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table document_portlet |
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of Document Portlet whose identifier is specified in parameter |
java.util.Collection<fr.paris.lutece.util.ReferenceItem> |
selectDocumentTypeListByCodeAndCategory(int nDocumentId,
java.lang.String strCodeDocumentType)
Load the list of documentTypes |
java.util.List<java.lang.Integer> |
selectPortletsByDocumentId(int nDocumentId)
Find all portlets that contain the document |
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocumentPortletDAO()
| Method Detail |
|---|
public void 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 insertpublic void delete(int nPortletId)
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - the portlet identifierpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The Portlet identifier
public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - A portlet
public java.util.Collection<fr.paris.lutece.util.ReferenceItem> selectDocumentTypeListByCodeAndCategory(int nDocumentId,
java.lang.String strCodeDocumentType)
selectDocumentTypeListByCodeAndCategory in interface IDocumentPortletDAOstrCodeDocumentType - The code
public boolean checkIsAliasPortlet(int nPortletId)
checkIsAliasPortlet in interface IDocumentPortletDAOnPortletId - The identifier of the document
public java.util.List<java.lang.Integer> selectPortletsByDocumentId(int nDocumentId)
selectPortletsByDocumentId in interface IDocumentPortletDAOnDocumentId - the document id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||