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(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, isAllowMultiple
public 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)
IHandler
setupUIDefaults
in interface IHandler
setupUIDefaults
in class BaseActionHandler
actionProps
- The current properties mappublic String getJSPPath()
IHandler
public void prepareForSave(Map<String,Serializable> actionProps, Map<String,Serializable> repoProps)
IHandler
actionProps
- The current properties maprepoProps
- The repository properties map to preparepublic void prepareForEdit(Map<String,Serializable> actionProps, Map<String,Serializable> repoProps)
IHandler
actionProps
- The current properties maprepoProps
- The properties currently in the repositorypublic String generateSummary(FacesContext context, IWizardBean wizard, Map<String,Serializable> actionProps)
IHandler
context
- Faces contextwizard
- The current wizardactionProps
- The properties mapCopyright © 2005–2017 Alfresco Software. All rights reserved.