Class DefaultWorkflowDesignerPersistenceService

    • Constructor Detail

      • DefaultWorkflowDesignerPersistenceService

        public DefaultWorkflowDesignerPersistenceService()
    • Method Detail

      • 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​(java.util.Map<java.lang.String,​java.lang.Object> parameters,
                                       java.lang.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​(java.lang.Runnable transactionBody)
        Executes given statement within single transaction
        Parameters:
        transactionBody - the statement that should be executed within transaction
      • setModelService

        public void setModelService​(ModelService modelService)
      • setSessionService

        public void setSessionService​(SessionService sessionService)
      • setWorkflowModelFinder

        public void setWorkflowModelFinder​(WorkflowModelFinder workflowModelFinder)