public final class TagCloudPortletDAO extends Object implements ITagCloudPortletDAO
Constructor and Description |
---|
TagCloudPortletDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nTagCloudPortletId)
Delete a record from the table
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Associates a portlet to a tagcloud
|
void |
insert(TagCloudPortlet tagCloudPortlet)
Insert a new record in the table.
|
void |
insertCloud(int nPortletId,
int nCloudId)
Associates a portlet to a tagcloud
|
TagCloudPortlet |
load(int nId)
Load the data of the tagCloudPortlet from the table
|
Collection<Integer> |
selectTagCloudByPortlet(int nPortletId)
A collection of integer
|
Collection<TagCloudPortlet> |
selectTagCloudPortletsList()
Load the data of all the tagCloudPortlets and returns them as a collection
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
A dummy store method
|
void |
store(TagCloudPortlet tagCloudPortlet)
Update the record in the table
|
void |
storeCloud(int nPortletId,
int nCloudId)
Updates association of a portlet to a tagcloud
|
public void insert(TagCloudPortlet tagCloudPortlet)
tagCloudPortlet
- instance of the TagCloudPortlet object to insertpublic TagCloudPortlet load(int nId)
load
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nId
- The identifier of the tagCloudPortletpublic void delete(int nTagCloudPortletId)
delete
in interface ITagCloudPortletDAO
delete
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nTagCloudPortletId
- The identifier of the tagCloudPortletpublic void store(TagCloudPortlet tagCloudPortlet)
tagCloudPortlet
- The reference of the tagCloudPortletpublic Collection<TagCloudPortlet> selectTagCloudPortletsList()
public Collection<Integer> selectTagCloudByPortlet(int nPortletId)
selectTagCloudByPortlet
in interface ITagCloudPortletDAO
nPortletId
- The portlet idpublic void insertCloud(int nPortletId, int nCloudId)
insertCloud
in interface ITagCloudPortletDAO
nPortletId
- The portlet idnCloudId
- The cloud idpublic void storeCloud(int nPortletId, int nCloudId)
storeCloud
in interface ITagCloudPortletDAO
nPortletId
- The portlet idnCloudId
- The cloud idpublic void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- The portletpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- The portletCopyright © 2015 City of Paris. All rights reserved.