public abstract class OwBPMWorkflowLauncher extends Object
Base class for workflow launchers.
The workflow launching scenario (workflow choosing and launch step processor dialog displaying) is
encapsulated in this class in order to be reused under different use cases (like launch document function
and new workflow extension).
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwBPMWorkflowLauncher(com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository repository_p,
Collection targetObjects_p,
com.wewebu.ow.server.app.OwMainAppContext context_p,
com.wewebu.ow.server.util.OwXMLUtil configNode_p)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected abstract com.wewebu.ow.server.app.OwStandardSequenceDialog |
createLaunchProcessorDialog(com.wewebu.ow.server.ecm.bpm.OwWorkitem launchableItem_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
(overridable)
Creates a custom launch item processing dialog
|
protected void |
dispatchLaunchStepProcessor(com.wewebu.ow.server.ecm.bpm.OwWorkflowDescription selectedDescription_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
Creates the launch item based on the given description and dispatches the custom processing dialog.
|
protected com.wewebu.ow.server.util.OwXMLUtil |
getConfigNode() |
void |
launch(com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
Starts the launching scenario.
|
public OwBPMWorkflowLauncher(com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository repository_p, Collection targetObjects_p, com.wewebu.ow.server.app.OwMainAppContext context_p, com.wewebu.ow.server.util.OwXMLUtil configNode_p)
repository_p
- targetObjects_p
- context_p
- configNode_p
- public void launch(com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
refreshCtx_p
- Exception
protected abstract com.wewebu.ow.server.app.OwStandardSequenceDialog createLaunchProcessorDialog(com.wewebu.ow.server.ecm.bpm.OwWorkitem launchableItem_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
launchableItem_p
- refreshCtx_p
- OwStandardSequenceDialog
to process the newly created launch itemException
protected void dispatchLaunchStepProcessor(com.wewebu.ow.server.ecm.bpm.OwWorkflowDescription selectedDescription_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
selectedDescription_p
- refreshCtx_p
- Exception
protected com.wewebu.ow.server.util.OwXMLUtil getConfigNode()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.