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