|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.view.AbstractFacesBean org.apache.shale.usecases.profile.EditProfileActions
public class EditProfileActions
Action methods for the Edit Profile dialog.
$Id: EditProfileActions.java 464373 2006-10-16 04:21:54Z rahul $
Constructor Summary | |
---|---|
EditProfileActions()
|
Method Summary | |
---|---|
String |
cancel()
Perform any processing necessary to cancel an edit profile dialog. |
String |
finish()
Finish processing by creating or updating the appropriate user profile. |
String |
getUserKey()
|
boolean |
isConfirmation()
|
void |
setConfirmation(boolean confirmation)
|
String |
setup()
Register an instance of EditProfileState as the data object
for our dialog. |
void |
setUserKey(String userKey)
|
Methods inherited from class org.apache.shale.view.AbstractFacesBean |
---|
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getExternalContext, getFacesContext, getLifecycle, getRequestHeaderMap, getRequestMap, getRequestParameter, getRequestParameterMap, getRequestParameterValues, getSessionMap, getValue, info, info, log, log, retrieveData, saveData, setBean, setValue, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditProfileActions()
Method Detail |
---|
public boolean isConfirmation()
public void setConfirmation(boolean confirmation)
public String getUserKey()
public void setUserKey(String userKey)
public String cancel()
Perform any processing necessary to cancel an edit profile dialog.
The following logical outcome values are returned:
SUCCESS
- Proceed to the next state normally.
public String finish()
Finish processing by creating or updating the appropriate user profile.
The following logical outcome values are returned:
PASSWORD
- One or both password values were entered,
but they do not match (or neither were entered on a create)SUCCESS
- Creation or update succeeded, proceed to
the next state normally.USERNAME
- Missing or dupicate username on
a create.
public String setup()
Register an instance of EditProfileState
as the data object
for our dialog. If there is an existing logged on user, we are editing
the existing profile; otherwise, we are creating a new one.
The following logical outcome values are returned:
SUCCESS
- Proceed to the next state.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |