Class LevelHome

java.lang.Object
fr.paris.lutece.portal.business.right.LevelHome

public final class LevelHome extends Object
This class provides instances management methods (create, find, ...) for Level right objects
  • Method Details

    • create

      public static Level create(Level mode)
      Creation of an instance of a mode
      Parameters:
      mode - An instance of a mode which contains the informations to store
      Returns:
      The instance of a mode which has been created with its primary key.
    • update

      public static Level update(Level mode)
      Update of the mode which is specified
      Parameters:
      mode - The instance of the mode which contains the data to store
      Returns:
      The instance of the mode which has been updated
    • remove

      public static void remove(int nId)
      Remove the mode whose identifier is specified in parameter
      Parameters:
      nId - The identifier of the mode to remove
    • findByPrimaryKey

      public static Level findByPrimaryKey(int nKey)
      Returns an instance of an mode whose identifier is specified in parameter
      Parameters:
      nKey - The mode primary key
      Returns:
      an instance of a mode
    • getLevelsList

      public static Collection<Level> getLevelsList()
      Return the list of all the modes
      Returns:
      A collection of modes objects