Class 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 void create​(fr.paris.lutece.plugins.forms.business.Group group)
      Create an instance of the group class
      static fr.paris.lutece.plugins.forms.business.Group findByPrimaryKey​(int nKey)
      Returns an instance of a group whose identifier is specified in parameter
      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
      static void remove​(int nKey)
      Remove the group whose identifier is specified in parameter
      static void update​(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