Class WorkflowContextHistoryDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.releaser.business.WorkflowContextHistoryDAO
-
- All Implemented Interfaces:
IWorkflowContextHistoryDAO
public final class WorkflowContextHistoryDAO extends java.lang.Object implements IWorkflowContextHistoryDAO
This class provides Data Access methods for WorkflowDeployContext objects
-
-
Constructor Summary
Constructors Constructor Description WorkflowContextHistoryDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(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.WorkflowContextHistoryload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<WorkflowContextHistory>selectWorkflowDeployContextsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the workflowDeployContext objects and returns them as a listjava.util.List<WorkflowContextHistory>selectWorkflowDeployContextsListByArtifactId(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String strArtifactId)voidstore(WorkflowContextHistory workflowContext, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
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
public WorkflowContextHistory load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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 java.util.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 java.util.List<WorkflowContextHistory> selectWorkflowDeployContextsListByArtifactId(fr.paris.lutece.portal.service.plugin.Plugin plugin, java.lang.String strArtifactId)
- Specified by:
selectWorkflowDeployContextsListByArtifactIdin interfaceIWorkflowContextHistoryDAO
-
-