public class SimpleWorkflowHandler extends BaseActionHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_APPROVE_ACTION |
static java.lang.String |
PROP_APPROVE_FOLDER |
static java.lang.String |
PROP_APPROVE_STEP_NAME |
static java.lang.String |
PROP_REJECT_ACTION |
static java.lang.String |
PROP_REJECT_FOLDER |
static java.lang.String |
PROP_REJECT_STEP_NAME |
static java.lang.String |
PROP_REJECT_STEP_PRESENT |
ACTION_PAGES_LOCATION, PROP_DESTINATION| Constructor and Description |
|---|
SimpleWorkflowHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
generateSummary(javax.faces.context.FacesContext context,
IWizardBean wizard,
java.util.Map actionProps)
Generates a summary string for this handler.
|
java.lang.String |
getJSPPath()
By default, a JSP with the same name as the handler will
be loaded from a default location.
|
void |
prepareForEdit(java.util.Map actionProps,
java.util.Map repoProps)
Called at the start of the edit wizard.
|
void |
prepareForSave(java.util.Map actionProps,
java.util.Map repoProps)
Called at the end of the wizard.
|
void |
setupUIDefaults(java.util.Map actionProps)
Adds any properties to the given map that need default values
before the UI is displayed to the user.
|
getJSPPath, isAllowMultiplepublic static final java.lang.String PROP_APPROVE_STEP_NAME
public static final java.lang.String PROP_APPROVE_ACTION
public static final java.lang.String PROP_APPROVE_FOLDER
public static final java.lang.String PROP_REJECT_STEP_PRESENT
public static final java.lang.String PROP_REJECT_STEP_NAME
public static final java.lang.String PROP_REJECT_ACTION
public static final java.lang.String PROP_REJECT_FOLDER
public void setupUIDefaults(java.util.Map actionProps)
IHandlersetupUIDefaults in interface IHandlersetupUIDefaults in class BaseActionHandleractionProps - The current properties mappublic java.lang.String getJSPPath()
IHandlerpublic void prepareForSave(java.util.Map actionProps,
java.util.Map repoProps)
IHandleractionProps - The current properties maprepoProps - The repository properties map to preparepublic void prepareForEdit(java.util.Map actionProps,
java.util.Map repoProps)
IHandleractionProps - The current properties maprepoProps - The properties currently in the repositorypublic java.lang.String generateSummary(javax.faces.context.FacesContext context,
IWizardBean wizard,
java.util.Map actionProps)
IHandlercontext - Faces contextwizard - The current wizardactionProps - The properties mapCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.