Interface IPlatformReleaseStepDAO
- All Known Implementing Classes:
PlatformReleaseStepDAO
public interface IPlatformReleaseStepDAO
IPlatformReleaseStepDAO Interface
-
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
-
Method Details
-
insert
Insert a new record in the table.- Parameters:
step- instance of the PlatformReleaseStep object to insertplugin- the Plugin
-
store
Update the record in the table- Parameters:
step- the reference of the PlatformReleaseStepplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the PlatformReleaseStep to deleteplugin- the Plugin
-
deleteByPlatformRelease
void deleteByPlatformRelease(int nIdPlatformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete every step of a campaign- Parameters:
nIdPlatformRelease- The identifier of the campaignplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the PlatformReleaseStepplugin- the Plugin- Returns:
- The instance of the PlatformReleaseStep, or null if not found
-
selectByPlatformRelease
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- Parameters:
nIdPlatformRelease- The identifier of the campaignplugin- the Plugin- Returns:
- The steps
-
selectByPlatformReleaseAndNumber
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- Parameters:
nIdPlatformRelease- The identifier of the campaignnStepNumber- The step numberplugin- the Plugin- Returns:
- The step, or null if not found
-