|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.webflow.action.AbstractAction
org.springframework.webflow.action.MultiAction
org.springframework.webflow.action.FormAction
org.springframework.ldap.samples.person.web.EditGroupFormAction
public class EditGroupFormAction
Action implementation that handles edit of a group. This action has the capability to add and remove members of the current Group form object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction |
---|
org.springframework.webflow.action.MultiAction.MethodResolver |
Field Summary |
---|
Fields inherited from class org.springframework.webflow.action.FormAction |
---|
DEFAULT_FORM_OBJECT_NAME, VALIDATOR_METHOD_ATTRIBUTE |
Fields inherited from class org.springframework.webflow.action.AbstractAction |
---|
logger |
Constructor Summary | |
---|---|
EditGroupFormAction()
|
Method Summary | |
---|---|
org.springframework.webflow.execution.Event |
add(org.springframework.webflow.execution.RequestContext context)
Add the member in the member property to the form object
members property. |
protected Object |
createFormObject(org.springframework.webflow.execution.RequestContext context)
|
protected void |
initAction()
|
org.springframework.webflow.execution.Event |
remove(org.springframework.webflow.execution.RequestContext context)
Removes the members in the selectedMembers property from
the form object members property. |
void |
setGroupService(GroupService groupService)
|
Methods inherited from class org.springframework.webflow.action.FormAction |
---|
bind, bindAndValidate, createBinder, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObject, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, initBinder, registerPropertyEditors, registerPropertyEditors, resetForm, setFormErrorsScope, setFormObjectClass, setFormObjectName, setFormObjectScope, setMessageCodesResolver, setPropertyEditorRegistrar, setupForm, setValidator, validate, validationEnabled |
Methods inherited from class org.springframework.webflow.action.MultiAction |
---|
doExecute, getMethodResolver, setMethodResolver, setTarget |
Methods inherited from class org.springframework.webflow.action.AbstractAction |
---|
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, no, result, result, result, result, success, success, yes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.InitializingBean |
---|
afterPropertiesSet |
Constructor Detail |
---|
public EditGroupFormAction()
Method Detail |
---|
public void setGroupService(GroupService groupService)
protected void initAction()
initAction
in class org.springframework.webflow.action.FormAction
protected Object createFormObject(org.springframework.webflow.execution.RequestContext context) throws Exception
createFormObject
in class org.springframework.webflow.action.FormAction
Exception
public org.springframework.webflow.execution.Event add(org.springframework.webflow.execution.RequestContext context) throws Exception
member
property to the form object
members
property.
context
- RequestContext with parameters and attributes.
success
event if member was added successfully
Exception
- if an unexpected error occurspublic org.springframework.webflow.execution.Event remove(org.springframework.webflow.execution.RequestContext context) throws Exception
selectedMembers
property from
the form object members
property.
context
- RequestContext with parameters and attributes.
success
event if members were removed
successfully
Exception
- if an unexpected error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |