Class PlatformReleaseStepDAO
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseStepDAO
- All Implemented Interfaces:
IPlatformReleaseStepDAO
This class provides Data Access methods for PlatformReleaseStep objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete every step of a campaignvoidinsert(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the steps 1 to 5 of a campaign, ordered by step number : the verification of step 0 is left outselectByPlatformReleaseAndNumber(int nIdPlatformRelease, int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load one step of a campaign by its number, step 0 includedvoidstore(PlatformReleaseStep step, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
PlatformReleaseStepDAO
public PlatformReleaseStepDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIPlatformReleaseStepDAO- Parameters:
step- instance of the PlatformReleaseStep object to insertplugin- the Plugin
-
store
Update the record in the table- Specified by:
storein interfaceIPlatformReleaseStepDAO- Parameters:
step- the reference of the PlatformReleaseStepplugin- the Plugin
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIPlatformReleaseStepDAO- Parameters:
nKey- The identifier of the PlatformReleaseStep to deleteplugin- the Plugin
-
deleteByPlatformRelease
public void deleteByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete every step of a campaign- Specified by:
deleteByPlatformReleasein interfaceIPlatformReleaseStepDAO- Parameters:
nIdPlatformRelease- The identifier of the campaignplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIPlatformReleaseStepDAO- Parameters:
nKey- The identifier of the PlatformReleaseStepplugin- the Plugin- Returns:
- The instance of the PlatformReleaseStep, or null if not found
-
selectByPlatformRelease
public List<PlatformReleaseStep> selectByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the steps 1 to 5 of a campaign, ordered by step number : the verification of step 0 is left out- Specified by:
selectByPlatformReleasein interfaceIPlatformReleaseStepDAO- Parameters:
nIdPlatformRelease- The identifier of the campaignplugin- the Plugin- Returns:
- The steps
-
selectByPlatformReleaseAndNumber
public PlatformReleaseStep selectByPlatformReleaseAndNumber(int nIdPlatformRelease, int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load one step of a campaign by its number, step 0 included- Specified by:
selectByPlatformReleaseAndNumberin interfaceIPlatformReleaseStepDAO- Parameters:
nIdPlatformRelease- The identifier of the campaignnStepNumber- The step numberplugin- the Plugin- Returns:
- The step, or null if not found
-