public final class ClusterDAO extends Object implements IClusterDAO
| Constructor and Description |
|---|
ClusterDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Cluster cluster,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Cluster |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Cluster> |
selectClustersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the cluster objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectClustersReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the cluster objects and returns them as a referenceList
|
List<Integer> |
selectIdClustersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the cluster objects and returns them as a list
|
void |
store(Cluster cluster,
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 void insert(Cluster cluster, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IClusterDAOcluster - instance of the Cluster object to insertplugin - the Pluginpublic Cluster load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IClusterDAOnKey - The identifier of the clusterplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IClusterDAOnKey - The identifier of the Cluster to deleteplugin - the Pluginpublic void store(Cluster cluster, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IClusterDAOcluster - the reference of the Clusterplugin - the Pluginpublic List<Cluster> selectClustersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectClustersList in interface IClusterDAOplugin - the Pluginpublic List<Integer> selectIdClustersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdClustersList in interface IClusterDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectClustersReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectClustersReferenceList in interface IClusterDAOplugin - the PluginCopyright © 2021 City of Paris. All rights reserved.