Class WebAmetysObjectWorkflowStore

All Implemented Interfaces:
com.opensymphony.workflow.spi.WorkflowStore, AmetysWorkflowStore

Web ametys object workflow store which ensures that the session used operates on the default workspace.
  • Field Details

    • _session

      protected javax.jcr.Session _session
      Internal session
  • Constructor Details

    • WebAmetysObjectWorkflowStore

      public WebAmetysObjectWorkflowStore(javax.jcr.Repository repository, WorkflowAwareAmetysObject ametysObject, AmetysObjectResolver resolver)
      Creates a workflow store for Web Ametys object. The history steps will be clear on workflow completion.
      Parameters:
      repository - the JCR Repository to use.
      ametysObject - The ametys object for this store. Can be null in case of an object creation.
      resolver - the ametys object resolver
    • WebAmetysObjectWorkflowStore

      public WebAmetysObjectWorkflowStore(javax.jcr.Repository repository, WorkflowAwareAmetysObject ametysObject, AmetysObjectResolver resolver, boolean preserveHistory)
      Creates a workflow store for Web Ametys object.
      Parameters:
      repository - The repository
      ametysObject - The ametys object for this store. Can be null in case of an object creation.
      resolver - the ametys object resolver
      preserveHistory - Set to true to preserve history steps when workflow is complete.
  • Method Details