Class WorkflowContextHistoryDAO

java.lang.Object
fr.paris.lutece.plugins.releaser.business.WorkflowContextHistoryDAO
All Implemented Interfaces:
IWorkflowContextHistoryDAO

public final class WorkflowContextHistoryDAO extends Object implements IWorkflowContextHistoryDAO
This class provides Data Access methods for WorkflowDeployContext objects
  • 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:
      insert in interface IWorkflowContextHistoryDAO
      Parameters:
      workflowContext - instance of the WorkflowDeployContext object to insert
      plugin - the Plugin
    • load

      public WorkflowContextHistory load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IWorkflowContextHistoryDAO
      Parameters:
      nKey - The identifier of the workflowDeployContext
      plugin - 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:
      delete in interface IWorkflowContextHistoryDAO
      Parameters:
      nKey - The identifier of the WorkflowDeployContext to delete
      plugin - the Plugin
    • store

      public void store(WorkflowContextHistory workflowContext, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IWorkflowContextHistoryDAO
      Parameters:
      workflowContext - the reference of the WorkflowDeployContext
      plugin - 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:
      selectWorkflowDeployContextsList in interface IWorkflowContextHistoryDAO
      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:
      selectWorkflowDeployContextsListByArtifactId in interface IWorkflowContextHistoryDAO