public class ProcessGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private static String |
__MESSAGE_NO_ACTION |
private BPMWorkflowManager |
_bpmWorkflowManager |
private CurrentUserProvider |
_currentUserProvider |
private AmetysObjectResolver |
_resolver |
private RightManager |
_rightManager |
private UserHelper |
_userHelper |
private UserManager |
_userManager |
private WorkflowProvider |
_workflowProvider |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
ProcessGenerator() |
Modifier and Type | Method and Description |
---|---|
private List<com.opensymphony.workflow.spi.Step> |
_getProcessSteps(JCRWorkflowProcess process,
WorkflowProvider.AmetysObjectWorkflow aoWorkflow) |
private com.opensymphony.workflow.loader.WorkflowDescriptor |
_getWorkflowDescriptor(WorkflowProvider.AmetysObjectWorkflow aoWorkflow,
JCRWorkflowProcess process) |
private void |
_saxCurrentWorkflowStep(JCRWorkflowProcess process,
com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) |
private void |
_saxProcess(JCRWorkflowProcess process,
JCRWorkflow workflow) |
private void |
_saxProcess(String processName,
JCRWorkflowProcess process,
JCRWorkflow workflow) |
private void |
_saxStep(JCRWorkflowProcess process,
com.opensymphony.workflow.spi.Step step,
com.opensymphony.workflow.spi.Step previousStep,
com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) |
private void |
_saxWorkflowActions(JCRWorkflowProcess process,
JCRWorkflow workflow,
WorkflowProvider.AmetysObjectWorkflow aoWorkflow,
com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) |
private void |
_saxWorkflowSteps(JCRWorkflowProcess process,
WorkflowProvider.AmetysObjectWorkflow aoWorkflow,
com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) |
void |
generate() |
void |
service(ServiceManager smanager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private static final String __MESSAGE_NO_ACTION
private BPMWorkflowManager _bpmWorkflowManager
private AmetysObjectResolver _resolver
private UserManager _userManager
private WorkflowProvider _workflowProvider
private UserHelper _userHelper
private CurrentUserProvider _currentUserProvider
private RightManager _rightManager
public ProcessGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxProcess(String processName, JCRWorkflowProcess process, JCRWorkflow workflow) throws SAXException
SAXException
private com.opensymphony.workflow.loader.WorkflowDescriptor _getWorkflowDescriptor(WorkflowProvider.AmetysObjectWorkflow aoWorkflow, JCRWorkflowProcess process) throws AmetysRepositoryException
AmetysRepositoryException
private void _saxProcess(JCRWorkflowProcess process, JCRWorkflow workflow) throws SAXException
SAXException
private void _saxWorkflowSteps(JCRWorkflowProcess process, WorkflowProvider.AmetysObjectWorkflow aoWorkflow, com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) throws SAXException
SAXException
private List<com.opensymphony.workflow.spi.Step> _getProcessSteps(JCRWorkflowProcess process, WorkflowProvider.AmetysObjectWorkflow aoWorkflow)
private void _saxStep(JCRWorkflowProcess process, com.opensymphony.workflow.spi.Step step, com.opensymphony.workflow.spi.Step previousStep, com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) throws SAXException
SAXException
private void _saxCurrentWorkflowStep(JCRWorkflowProcess process, com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) throws SAXException
SAXException
private void _saxWorkflowActions(JCRWorkflowProcess process, JCRWorkflow workflow, WorkflowProvider.AmetysObjectWorkflow aoWorkflow, com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor) throws SAXException
SAXException