Class WorkflowContextHistoryDAO

    • Constructor Detail

      • WorkflowContextHistoryDAO

        public WorkflowContextHistoryDAO()
    • 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:
        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