Class TemplateGroupDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.modules.template.business.TemplateGroupDAO
-
- All Implemented Interfaces:
ITemplateGroupDAO
public final class TemplateGroupDAO extends Object implements ITemplateGroupDAO
This class provides Data Access methods for Group objects
-
-
Constructor Summary
Constructors Constructor Description TemplateGroupDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(fr.paris.lutece.plugins.forms.business.Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.fr.paris.lutece.plugins.forms.business.Groupload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<fr.paris.lutece.plugins.forms.business.Group>selectGroupsListByListIdStep(List<Integer> idSteplist, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the group objects and returns them as a listvoidstore(fr.paris.lutece.plugins.forms.business.Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(fr.paris.lutece.plugins.forms.business.Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.- Specified by:
insertin interfaceITemplateGroupDAO- Parameters:
group- instance of the Group object to insertplugin- the Plugin
-
load
public fr.paris.lutece.plugins.forms.business.Group load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the table- Specified by:
loadin interfaceITemplateGroupDAO- Parameters:
nKey- The identifier of the groupplugin- the Plugin- Returns:
- The instance of the group
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceITemplateGroupDAO- Parameters:
nKey- The identifier of the Group to deleteplugin- the Plugin
-
store
public void store(fr.paris.lutece.plugins.forms.business.Group group, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table- Specified by:
storein interfaceITemplateGroupDAO- Parameters:
group- the reference of the Groupplugin- the Plugin
-
selectGroupsListByListIdStep
public List<fr.paris.lutece.plugins.forms.business.Group> selectGroupsListByListIdStep(List<Integer> idSteplist, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:ITemplateGroupDAOLoad the data of all the group objects and returns them as a list- Specified by:
selectGroupsListByListIdStepin interfaceITemplateGroupDAOplugin- the Plugin- Returns:
- The list which contains the data of all the group objects
-
-