Class AccountActionBean
java.lang.Object
org.mybatis.jpetstore.web.actions.AbstractActionBean
org.mybatis.jpetstore.web.actions.AccountActionBean
- All Implemented Interfaces:
Serializable
,net.sourceforge.stripes.action.ActionBean
The Class AccountActionBean.
- Author:
- Eduardo Macarron
- See Also:
-
Field Summary
Fields inherited from class org.mybatis.jpetstore.web.actions.AbstractActionBean
context, ERROR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear.net.sourceforge.stripes.action.Resolution
Edits the account.net.sourceforge.stripes.action.Resolution
Edits the account form.boolean
Checks if is authenticated.net.sourceforge.stripes.action.Resolution
New account.net.sourceforge.stripes.action.Resolution
void
void
setPassword
(String password) void
setUsername
(String username) net.sourceforge.stripes.action.Resolution
signoff()
Signoff.net.sourceforge.stripes.action.Resolution
signon()
Signon.net.sourceforge.stripes.action.Resolution
Signon form.Methods inherited from class org.mybatis.jpetstore.web.actions.AbstractActionBean
getContext, setContext, setMessage
-
Constructor Details
-
AccountActionBean
public AccountActionBean()
-
-
Method Details
-
getAccount
-
getUsername
-
setUsername
@Validate(required=true, on={"signon","newAccount","editAccount"}) public void setUsername(String username) -
getPassword
-
setPassword
@Validate(required=true, on={"signon","newAccount","editAccount"}) public void setPassword(String password) -
getMyList
-
setMyList
-
getLanguages
-
getCategories
-
newAccountForm
public net.sourceforge.stripes.action.Resolution newAccountForm() -
newAccount
public net.sourceforge.stripes.action.Resolution newAccount()New account.- Returns:
- the resolution
-
editAccountForm
public net.sourceforge.stripes.action.Resolution editAccountForm()Edits the account form.- Returns:
- the resolution
-
editAccount
public net.sourceforge.stripes.action.Resolution editAccount()Edits the account.- Returns:
- the resolution
-
signonForm
@DefaultHandler public net.sourceforge.stripes.action.Resolution signonForm()Signon form.- Returns:
- the resolution
-
signon
public net.sourceforge.stripes.action.Resolution signon()Signon.- Returns:
- the resolution
-
signoff
public net.sourceforge.stripes.action.Resolution signoff()Signoff.- Returns:
- the resolution
-
isAuthenticated
public boolean isAuthenticated()Checks if is authenticated.- Returns:
- true, if is authenticated
-
clear
public void clear()Clear.
-