Constructor and Description |
---|
TagCloudDAO() |
Modifier and Type | Method and Description |
---|---|
void |
deleteCloud(int nCloudId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteTag(int nTagId,
int nCloudId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(TagCloud tagCloud,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates a new TagCloud
|
void |
insert(Tag tag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Tag |
load(int nCloudId,
int nTagId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Tag from the table
|
ArrayList<Tag> |
loadByCloud(int nCloudId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the tag from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key for a tag
|
int |
newPrimaryKeyTagCloud(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key for the tag cloud
|
fr.paris.lutece.util.ReferenceList |
selectAllTagClouds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of clouds
|
TagCloud |
selectCloudById(int nCloudId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select a tagcloud by its identifier
|
Collection<TagCloud> |
selectTagClouds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the tagClouds and returns them as a collection
|
Collection<Tag> |
selectTagList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the tags and returns them as a collection
|
void |
store(TagCloud tagCloud,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Updates the record in the table
|
void |
store(Tag tag,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginpublic int newPrimaryKeyTagCloud(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginpublic void insert(Tag tag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Tag load(int nCloudId, int nTagId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public ArrayList<Tag> loadByCloud(int nCloudId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByCloud
in interface ITagDAO
nCloudId
- The identifier of the cloudplugin
- The pluginpublic void deleteTag(int nTagId, int nCloudId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Tag tag, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Collection<Tag> selectTagList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTagList
in interface ITagDAO
plugin
- The pluginpublic Collection<TagCloud> selectTagClouds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTagClouds
in interface ITagDAO
plugin
- The Pluginpublic TagCloud selectCloudById(int nCloudId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCloudById
in interface ITagDAO
nCloudId
- The cloud identifierplugin
- The plugin objectpublic void insert(TagCloud tagCloud, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(TagCloud tagCloud, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void deleteCloud(int nCloudId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteCloud
in interface ITagDAO
nCloudId
- The id of the tag cloudplugin
- The pluginpublic fr.paris.lutece.util.ReferenceList selectAllTagClouds(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAllTagClouds
in interface ITagDAO
plugin
- The pluginCopyright © 2015 City of Paris. All rights reserved.