Class AmetysWorkflowFactory

    • Method Detail

      • initDone

        public void initDone()
                      throws com.opensymphony.workflow.FactoryException
        Specified by:
        initDone in interface com.opensymphony.workflow.loader.WorkflowFactory
        Overrides:
        initDone in class com.opensymphony.workflow.loader.AbstractWorkflowFactory
        Throws:
        com.opensymphony.workflow.FactoryException
      • setLayout

        public void setLayout​(String workflowName,
                              Object layout)
        Specified by:
        setLayout in interface com.opensymphony.workflow.loader.WorkflowFactory
      • getLayout

        public Object getLayout​(String workflowName)
        Specified by:
        getLayout in interface com.opensymphony.workflow.loader.WorkflowFactory
      • isModifiable

        public boolean isModifiable​(String name)
        Specified by:
        isModifiable in interface com.opensymphony.workflow.loader.WorkflowFactory
      • getName

        public String getName()
        Specified by:
        getName in interface com.opensymphony.workflow.loader.WorkflowFactory
      • getWorkflow

        public com.opensymphony.workflow.loader.WorkflowDescriptor getWorkflow​(String name,
                                                                               boolean validate)
                                                                        throws com.opensymphony.workflow.FactoryException
        Specified by:
        getWorkflow in interface com.opensymphony.workflow.loader.WorkflowFactory
        Throws:
        com.opensymphony.workflow.FactoryException
      • getWorkflowNames

        public String[] getWorkflowNames()
                                  throws com.opensymphony.workflow.FactoryException
        Specified by:
        getWorkflowNames in interface com.opensymphony.workflow.loader.WorkflowFactory
        Throws:
        com.opensymphony.workflow.FactoryException
      • createWorkflow

        public void createWorkflow​(String name)
        Specified by:
        createWorkflow in interface com.opensymphony.workflow.loader.WorkflowFactory
      • removeWorkflow

        public boolean removeWorkflow​(String name)
                               throws com.opensymphony.workflow.FactoryException
        Specified by:
        removeWorkflow in interface com.opensymphony.workflow.loader.WorkflowFactory
        Throws:
        com.opensymphony.workflow.FactoryException
      • renameWorkflow

        public void renameWorkflow​(String oldName,
                                   String newName)
        Specified by:
        renameWorkflow in interface com.opensymphony.workflow.loader.WorkflowFactory
      • save

        public void save()
        Specified by:
        save in interface com.opensymphony.workflow.loader.WorkflowFactory
      • saveWorkflow

        public boolean saveWorkflow​(String name,
                                    com.opensymphony.workflow.loader.WorkflowDescriptor descriptor,
                                    boolean replace)
                             throws com.opensymphony.workflow.FactoryException
        Specified by:
        saveWorkflow in interface com.opensymphony.workflow.loader.WorkflowFactory
        Throws:
        com.opensymphony.workflow.FactoryException