Class WorkflowContextHistoryHome
java.lang.Object
fr.paris.lutece.plugins.releaser.business.WorkflowContextHistoryHome
This class provides instances management methods (create, find, ...) for WorkflowDeployContext objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowContextHistorycreate(WorkflowContextHistory workflowDeployContext) Create an instance of the workflowDeployContext classstatic WorkflowContextHistoryfindByPrimaryKey(int nKey) Returns an instance of a workflowDeployContext whose identifier is specified in parameterstatic List<WorkflowContextHistory>Load the data of all the workflowDeployContext objects and returns them as a liststatic List<WorkflowContextHistory>getWorkflowDeployContextsListByArtifactId(String strArtifactId) Load the data of all the workflowDeployContext objects and returns them as a list.static voidremove(int nKey) Remove the workflowDeployContext whose identifier is specified in parameterstatic WorkflowContextHistoryupdate(WorkflowContextHistory workflowDeployContext) Update of the workflowDeployContext which is specified in parameter
-
Method Details
-
create
Create an instance of the workflowDeployContext class- Parameters:
workflowDeployContext- The instance of the WorkflowDeployContext which contains the informations to store- Returns:
- The instance of workflowDeployContext which has been created with its primary key.
-
update
Update of the workflowDeployContext which is specified in parameter- Parameters:
workflowDeployContext- The instance of the WorkflowDeployContext which contains the data to store- Returns:
- The instance of the workflowDeployContext which has been updated
-
remove
public static void remove(int nKey) Remove the workflowDeployContext whose identifier is specified in parameter- Parameters:
nKey- The workflowDeployContext Id
-
findByPrimaryKey
Returns an instance of a workflowDeployContext whose identifier is specified in parameter- Parameters:
nKey- The workflowDeployContext primary key- Returns:
- an instance of WorkflowDeployContext
-
getWorkflowDeployContextsList
Load the data of all the workflowDeployContext objects and returns them as a list- Returns:
- the list which contains the data of all the workflowDeployContext objects
-
getWorkflowDeployContextsListByArtifactId
public static List<WorkflowContextHistory> getWorkflowDeployContextsListByArtifactId(String strArtifactId) Load the data of all the workflowDeployContext objects and returns them as a list.- Parameters:
strArtifactId- the str artifact id- Returns:
- the list which contains the data of all the workflowDeployContext objects
-