com.wewebu.ow.server.plug.owbpm.plug
Class OwBPMWorkflowLauncher

java.lang.Object
  extended by com.wewebu.ow.server.plug.owbpm.plug.OwBPMWorkflowLauncher
Direct Known Subclasses:
OwBPMJspWorkflowLauncher, OwBPMStandardWorkflowLauncher

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 Summary
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
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwBPMWorkflowLauncher

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)
Constructor

Parameters:
repository_p -
targetObjects_p -
context_p -
configNode_p -
Method Detail

launch

public void launch(com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
            throws Exception
Starts the launching scenario.

Parameters:
refreshCtx_p -
Throws:
Exception

createLaunchProcessorDialog

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
(overridable) Creates a custom launch item processing dialog

Parameters:
launchableItem_p -
refreshCtx_p -
Returns:
an OwStandardSequenceDialog to process the newly created launch item
Throws:
Exception

dispatchLaunchStepProcessor

protected void dispatchLaunchStepProcessor(com.wewebu.ow.server.ecm.bpm.OwWorkflowDescription selectedDescription_p,
                                           com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p)
                                    throws Exception
Creates the launch item based on the given description and dispatches the custom processing dialog.

Parameters:
selectedDescription_p -
refreshCtx_p -
Throws:
Exception

getConfigNode

protected com.wewebu.ow.server.util.OwXMLUtil getConfigNode()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.