Class PlatformReleaseHome
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseHome
This class provides instances management methods (create, find, ...) for PlatformRelease objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlatformReleasecreate(PlatformRelease platformRelease) Create an instance of the platformRelease classstatic PlatformReleasefindByName(String strName) Returns the campaign with the given name, names being uniquestatic PlatformReleasefindByPrimaryKey(int nKey) Returns an instance of a platformRelease whose identifier is specified in parameter, without its stepsstatic PlatformReleasefindByPrimaryKeyWithSteps(int nKey) Returns an instance of a platformRelease whose identifier is specified in parameter, with its steps and its step 0 loadedstatic List<PlatformRelease>Load the data of all the platformRelease objects and returns them as a list, most recent firststatic voidremove(int nKey) Remove the platformRelease whose identifier is specified in parameter, with its stepsstatic PlatformReleaseupdate(PlatformRelease platformRelease) Update of the platformRelease which is specified in parameter
-
Method Details
-
create
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
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
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
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
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
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
-