|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.bean.actions.handlers.BaseActionHandler
org.alfresco.web.bean.actions.handlers.SimpleWorkflowHandler
public class SimpleWorkflowHandler
Action handler for the "simple-workflow" action.
Field Summary | |
---|---|
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
|
Fields inherited from class org.alfresco.web.bean.actions.handlers.BaseActionHandler |
---|
ACTION_PAGES_LOCATION, PROP_DESTINATION |
Constructor Summary | |
---|---|
SimpleWorkflowHandler()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.alfresco.web.bean.actions.handlers.BaseActionHandler |
---|
getJSPPath, isAllowMultiple |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public SimpleWorkflowHandler()
Method Detail |
---|
public void setupUIDefaults(java.util.Map actionProps)
IHandler
setupUIDefaults
in interface IHandler
setupUIDefaults
in class BaseActionHandler
actionProps
- The current properties mappublic java.lang.String getJSPPath()
IHandler
public void prepareForSave(java.util.Map actionProps, java.util.Map repoProps)
IHandler
actionProps
- The current properties maprepoProps
- The repository properties map to preparepublic void prepareForEdit(java.util.Map actionProps, java.util.Map repoProps)
IHandler
actionProps
- 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)
IHandler
context
- Faces contextwizard
- The current wizardactionProps
- The properties map
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |