Class WorkflowContextHistoryHome

java.lang.Object
fr.paris.lutece.plugins.releaser.business.WorkflowContextHistoryHome

public final class WorkflowContextHistoryHome extends Object
This class provides instances management methods (create, find, ...) for WorkflowDeployContext objects
  • Method Details

    • create

      public static WorkflowContextHistory create(WorkflowContextHistory workflowDeployContext)
      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

      public static WorkflowContextHistory update(WorkflowContextHistory workflowDeployContext)
      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

      public static WorkflowContextHistory findByPrimaryKey(int nKey)
      Returns an instance of a workflowDeployContext whose identifier is specified in parameter
      Parameters:
      nKey - The workflowDeployContext primary key
      Returns:
      an instance of WorkflowDeployContext
    • getWorkflowDeployContextsList

      public static List<WorkflowContextHistory> 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