Class PlatformReleaseHome

java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseHome

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

    • create

      public static PlatformRelease create(PlatformRelease platformRelease)
      Create an instance of the platformRelease class
      Parameters:
      platformRelease - The instance of the PlatformRelease which contains the informations to store
      Returns:
      The instance of platformRelease which has been created with its primary key.
    • update

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

      public static void remove(int nKey)
      Remove the platformRelease whose identifier is specified in parameter, with its steps
      Parameters:
      nKey - The platformRelease Id
    • findByPrimaryKey

      public static PlatformRelease findByPrimaryKey(int nKey)
      Returns an instance of a platformRelease whose identifier is specified in parameter, without its steps
      Parameters:
      nKey - The platformRelease primary key
      Returns:
      an instance of PlatformRelease, or null if not found
    • findByPrimaryKeyWithSteps

      public static PlatformRelease findByPrimaryKeyWithSteps(int nKey)
      Returns an instance of a platformRelease whose identifier is specified in parameter, with its steps and its step 0 loaded
      Parameters:
      nKey - The platformRelease primary key
      Returns:
      an instance of PlatformRelease, or null if not found
    • findByName

      public static PlatformRelease findByName(String strName)
      Returns the campaign with the given name, names being unique
      Parameters:
      strName - The campaign name
      Returns:
      an instance of PlatformRelease, or null if not found
    • getPlatformReleasesList

      public static List<PlatformRelease> getPlatformReleasesList()
      Load the data of all the platformRelease objects and returns them as a list, most recent first
      Returns:
      the list which contains the data of all the platformRelease objects