Class DefaultWorkflowDesignerPersistenceService

java.lang.Object
com.hybris.backoffice.workflow.designer.persistence.DefaultWorkflowDesignerPersistenceService
All Implemented Interfaces:
WorkflowDesignerPersistenceService

public class DefaultWorkflowDesignerPersistenceService extends Object implements WorkflowDesignerPersistenceService
Default implementation of persisting Workflow Template that is being edited in Workflow Designer.
  • Constructor Details

    • DefaultWorkflowDesignerPersistenceService

      public DefaultWorkflowDesignerPersistenceService()
  • Method Details

    • persist

      public void persist(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context)
      Persists the Workflow Template data given in the context.
      Specified by:
      persist in interface WorkflowDesignerPersistenceService
      Parameters:
      context - contains the data about the Workflow Template to persist
    • withinLocalView

      protected void withinLocalView(Map<String,Object> parameters, Runnable sessionExecutionBody)
      Executes given statement within local session that is populated with parameters provided in the map.
      Parameters:
      parameters - parameters that will be set in local view
      sessionExecutionBody - callback to be invoked
    • withinTransaction

      protected void withinTransaction(Runnable transactionBody)
      Executes given statement within single transaction
      Parameters:
      transactionBody - the statement that should be executed within transaction
    • getPreprocessors

      public List<NetworkChartContextPreprocessor> getPreprocessors()
    • setPreprocessors

      public void setPreprocessors(List<NetworkChartContextPreprocessor> preprocessors)
    • getModelService

      public ModelService getModelService()
    • setModelService

      public void setModelService(ModelService modelService)
    • getPostprocessors

      public List<NetworkChartContextPostprocessor> getPostprocessors()
    • setPostprocessors

      public void setPostprocessors(List<NetworkChartContextPostprocessor> postprocessors)
    • getSessionService

      public SessionService getSessionService()
    • setSessionService

      public void setSessionService(SessionService sessionService)
    • getWorkflowModelFinder

      public WorkflowModelFinder getWorkflowModelFinder()
    • setWorkflowModelFinder

      public void setWorkflowModelFinder(WorkflowModelFinder workflowModelFinder)