Class WorkflowContextHistoryDAO
java.lang.Object
fr.paris.lutece.plugins.releaser.business.WorkflowContextHistoryDAO
- All Implemented Interfaces:
IWorkflowContextHistoryDAO
This class provides Data Access methods for WorkflowDeployContext objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(WorkflowContextHistory workflowContext, 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 tableselectWorkflowDeployContextsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the workflowDeployContext objects and returns them as a listselectWorkflowDeployContextsListByArtifactId(fr.paris.lutece.portal.service.plugin.Plugin plugin, String strArtifactId) voidstore(WorkflowContextHistory workflowContext, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
WorkflowContextHistoryDAO
public WorkflowContextHistoryDAO()
-
-
Method Details
-
insert
public void insert(WorkflowContextHistory workflowContext, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIWorkflowContextHistoryDAO- Parameters:
workflowContext- instance of the WorkflowDeployContext object to insertplugin- the Plugin
-
load
Load the data from the table- Specified by:
loadin interfaceIWorkflowContextHistoryDAO- Parameters:
nKey- The identifier of the workflowDeployContextplugin- the Plugin- Returns:
- The instance of the workflowDeployContext
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIWorkflowContextHistoryDAO- Parameters:
nKey- The identifier of the WorkflowDeployContext to deleteplugin- the Plugin
-
store
public void store(WorkflowContextHistory workflowContext, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceIWorkflowContextHistoryDAO- Parameters:
workflowContext- the reference of the WorkflowDeployContextplugin- the Plugin
-
selectWorkflowDeployContextsList
public List<WorkflowContextHistory> selectWorkflowDeployContextsList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the workflowDeployContext objects and returns them as a list- Specified by:
selectWorkflowDeployContextsListin interfaceIWorkflowContextHistoryDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the workflowDeployContext objects
-
selectWorkflowDeployContextsListByArtifactId
public List<WorkflowContextHistory> selectWorkflowDeployContextsListByArtifactId(fr.paris.lutece.portal.service.plugin.Plugin plugin, String strArtifactId) - Specified by:
selectWorkflowDeployContextsListByArtifactIdin interfaceIWorkflowContextHistoryDAO
-