Class PlatformStepDefinitionDAO
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformStepDefinitionDAO
- All Implemented Interfaces:
IPlatformStepDefinitionDAO
This class provides Data Access methods for PlatformStepDefinition objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinsert(PlatformStepDefinition definition, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load every step definition, ordered by step numbervoidstore(PlatformStepDefinition definition, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
PlatformStepDefinitionDAO
public PlatformStepDefinitionDAO()
-
-
Method Details
-
insert
public void insert(PlatformStepDefinition definition, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIPlatformStepDefinitionDAO- Parameters:
definition- instance of the PlatformStepDefinition object to insertplugin- the Plugin
-
store
public void store(PlatformStepDefinition definition, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceIPlatformStepDefinitionDAO- Parameters:
definition- the reference of the PlatformStepDefinitionplugin- the Plugin
-
load
public PlatformStepDefinition load(int nStepNumber, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Specified by:
loadin interfaceIPlatformStepDefinitionDAO- Parameters:
nStepNumber- The step numberplugin- the Plugin- Returns:
- The instance of the PlatformStepDefinition, or null if not found
-
selectAll
Load every step definition, ordered by step number- Specified by:
selectAllin interfaceIPlatformStepDefinitionDAO- Parameters:
plugin- the Plugin- Returns:
- The definitions
-