public class OwBPMLaunchProcessorFunction
extends com.wewebu.ow.server.app.OwDocumentFunction
Class for workflow launch document functions.
Depending on configuration, the workflow properties are rendered using a JSP file, or in a standard manner.
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
Modifier and Type | Class and Description |
---|---|
protected static interface |
OwBPMLaunchProcessorFunction.OwBPMWorkflowLauncherFactory
Factory interface used to create a
OwBPMWorkflowLauncher object. |
protected class |
OwBPMLaunchProcessorFunction.OwJSPWorkflowLauncherFactory
Concrete factory use to create a JSP based workflow launcher.
|
protected class |
OwBPMLaunchProcessorFunction.OwStandardWorkflowLauncherFactory
Concrete factory use to create a standard workflow launcher.
|
Modifier and Type | Field and Description |
---|---|
protected com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository |
m_bpmRepository
the work item repository
|
protected OwBPMLaunchProcessorFunction.OwBPMWorkflowLauncherFactory |
m_workflowLauncherFactory
the workflow launcher factory object
|
Constructor and Description |
---|
OwBPMLaunchProcessorFunction()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected OwBPMWorkflowLauncher |
createLauncher(Collection targetObjects_p)
(overridable)
Creates a custom workflow launcher for this document function
|
protected OwBPMLaunchProcessorFunction.OwBPMWorkflowLauncherFactory |
createWorkflowLauncherFactory(com.wewebu.ow.server.util.OwXMLUtil node_p)
Creates the concrete factory for workflow launcher.
|
String |
getBigIcon()
get the big (24x24 pixels) icon URL for this plugin to be displayed
|
String |
getIcon()
get the small (16x16 pixels) icon URL for this plugin to be displayed
|
protected com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository |
getWorkitemRepository()
Get the
OwWorkitemRepository object |
void |
init(com.wewebu.ow.server.util.OwXMLUtil node_p,
com.wewebu.ow.server.app.OwMainAppContext context_p) |
boolean |
isEnabled(com.wewebu.ow.server.ecm.OwObject object_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
int context_p) |
void |
onClickEvent(com.wewebu.ow.server.ecm.OwObject object_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) |
void |
onMultiselectClickEvent(Collection objects_p,
com.wewebu.ow.server.ecm.OwObject parent_p,
com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) |
addHistoryEvent, addHistoryEvent, getBigDefaultIconHTML, getBigIconHTML, getColumnTitle, getContextMenu, getDefaultIconHTML, getDefaultLabel, getDisplayNameFromUserId, getEnableColumnClickEvent, getIconHTML, getLabel, getMultiselect, getNeedParent, getObjectInstance, getPluginType, getRetrievalPropertyNames, getShowInEditViews, isEnabled, isObjectTypeSupported, onColumnClickEvent
getConfigNode, getContext, getDragDropProperties, getEventManager, getHelpPath, getName, getNoEvent, getPluginID, getPluginTitle, getPluginTypeDisplayName, getSafeSetting, getSupportedObjectClassesFromDescriptor, getSupportedObjectTypesFromDescriptor, getTooltip, isDragDropTarget, isObjectClassSupported, setSafeSetting
protected com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository m_bpmRepository
protected OwBPMLaunchProcessorFunction.OwBPMWorkflowLauncherFactory m_workflowLauncherFactory
public void init(com.wewebu.ow.server.util.OwXMLUtil node_p, com.wewebu.ow.server.app.OwMainAppContext context_p) throws Exception
init
in class com.wewebu.ow.server.app.OwDocumentFunction
Exception
protected OwBPMLaunchProcessorFunction.OwBPMWorkflowLauncherFactory createWorkflowLauncherFactory(com.wewebu.ow.server.util.OwXMLUtil node_p)
node_p
- - the configuration nodepublic boolean isEnabled(com.wewebu.ow.server.ecm.OwObject object_p, com.wewebu.ow.server.ecm.OwObject parent_p, int context_p) throws Exception
isEnabled
in class com.wewebu.ow.server.app.OwDocumentFunction
Exception
public final void onClickEvent(com.wewebu.ow.server.ecm.OwObject object_p, com.wewebu.ow.server.ecm.OwObject parent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
onClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
Exception
public void onMultiselectClickEvent(Collection objects_p, com.wewebu.ow.server.ecm.OwObject parent_p, com.wewebu.ow.server.app.OwClientRefreshContext refreshCtx_p) throws Exception
onMultiselectClickEvent
in class com.wewebu.ow.server.app.OwDocumentFunction
Exception
protected com.wewebu.ow.server.ecm.bpm.OwWorkitemRepository getWorkitemRepository()
OwWorkitemRepository
objectOwWorkitemRepository
object.protected OwBPMWorkflowLauncher createLauncher(Collection targetObjects_p) throws Exception
targetObjects_p
- OwBPMWorkflowLauncher
Exception
public String getIcon() throws Exception
getIcon
in interface com.wewebu.ow.server.app.OwPlugin
getIcon
in class com.wewebu.ow.server.app.OwFunction
Exception
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.