Class TemplateGroupHome
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.modules.template.business.TemplateGroupHome
-
public final class TemplateGroupHome extends Object
This class provides instances management methods (create, find, ...) for Group objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreate(fr.paris.lutece.plugins.forms.business.Group group)Create an instance of the group classstatic fr.paris.lutece.plugins.forms.business.GroupfindByPrimaryKey(int nKey)Returns an instance of a group whose identifier is specified in parameterstatic List<fr.paris.lutece.plugins.forms.business.Group>getGroupsListByIdStepList(List<Integer> idStepList)Load the data of all the group objects and returns them as a liststatic voidremove(int nKey)Remove the group whose identifier is specified in parameterstatic voidupdate(fr.paris.lutece.plugins.forms.business.Group group)Update of the group which is specified in parameter
-
-
-
Method Detail
-
create
public static void create(fr.paris.lutece.plugins.forms.business.Group group)
Create an instance of the group class- Parameters:
group- The instance of the Group which contains the informations to store
-
update
public static void update(fr.paris.lutece.plugins.forms.business.Group group)
Update of the group which is specified in parameter- Parameters:
group- The instance of the Group which contains the data to store
-
remove
public static void remove(int nKey)
Remove the group whose identifier is specified in parameter- Parameters:
nKey- The group Id
-
findByPrimaryKey
public static fr.paris.lutece.plugins.forms.business.Group findByPrimaryKey(int nKey)
Returns an instance of a group whose identifier is specified in parameter- Parameters:
nKey- The group primary key- Returns:
- an instance of Group
-
getGroupsListByIdStepList
public static List<fr.paris.lutece.plugins.forms.business.Group> getGroupsListByIdStepList(List<Integer> idStepList)
Load the data of all the group objects and returns them as a list- Parameters:
idStepList-- Returns:
- the list which contains the data of all the group objects
-
-