Class NotifygruMappingManagerDAO
java.lang.Object
fr.paris.lutece.plugins.modulenotifygrumappingmanager.business.NotifygruMappingManagerDAO
- All Implemented Interfaces:
INotifygruMappingManagerDAO
@ApplicationScoped
public final class NotifygruMappingManagerDAO
extends Object
implements INotifygruMappingManagerDAO
This class provides Data Access methods for NotifygruMappingManager objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(NotifygruMappingManager notifygruMappingManager, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableLoad.selectIdNotifygruMappingManagersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the notifygruMappingManager objects and returns them as a collectionselectNotifygruMappingManagersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the notifygruMappingManager objects and returns them as a collectionvoidstore(NotifygruMappingManager notifygruMappingManager, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
NotifygruMappingManagerDAO
public NotifygruMappingManagerDAO()
-
-
Method Details
-
insert
public void insert(NotifygruMappingManager notifygruMappingManager, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceINotifygruMappingManagerDAO- Parameters:
notifygruMappingManager- instance of the NotifygruMappingManager object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceINotifygruMappingManagerDAO- Parameters:
nKey- The identifier of the notifygruMappingManagerplugin- the Plugin- Returns:
- The instance of the notifygruMappingManager
-
load
public NotifygruMappingManager load(String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load.- Specified by:
loadin interfaceINotifygruMappingManagerDAO- Parameters:
strKey- the str keyplugin- the plugin- Returns:
- the notifygru mapping manager
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceINotifygruMappingManagerDAO- Parameters:
nKey- The identifier of the NotifygruMappingManager to deleteplugin- the Plugin
-
store
public void store(NotifygruMappingManager notifygruMappingManager, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceINotifygruMappingManagerDAO- Parameters:
notifygruMappingManager- the reference of the NotifygruMappingManagerplugin- the Plugin
-
selectNotifygruMappingManagersList
public List<NotifygruMappingManager> selectNotifygruMappingManagersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the notifygruMappingManager objects and returns them as a collection- Specified by:
selectNotifygruMappingManagersListin interfaceINotifygruMappingManagerDAO- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the data of all the notifygruMappingManager objects
-
selectIdNotifygruMappingManagersList
public List<Integer> selectIdNotifygruMappingManagersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the notifygruMappingManager objects and returns them as a collection- Specified by:
selectIdNotifygruMappingManagersListin interfaceINotifygruMappingManagerDAO- Parameters:
plugin- the Plugin- Returns:
- The collection which contains the id of all the notifygruMappingManager objects
-