Interface IClusterDAO
- All Known Implementing Classes:
ClusterDAO
public interface IClusterDAO
IClusterDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidInsert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectClustersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the cluster objects and returns them as a listfr.paris.lutece.util.ReferenceListselectClustersReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the cluster objects and returns them as a referenceListselectIdClustersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the cluster objects and returns them as a listvoidUpdate the record in the table
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
cluster- instance of the Cluster object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
cluster- the reference of the Clusterplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the Cluster to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the clusterplugin- the Plugin- Returns:
- The instance of the cluster
-
selectClustersList
Load the data of all the cluster objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the cluster objects
-
selectIdClustersList
Load the id of all the cluster objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the cluster objects
-
selectClustersReferenceList
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- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the cluster objects
-