|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.slim3.struts.config.S3ExecuteConfig
public class S3ExecuteConfig
The configuration for execute method.
| Field Summary | |
|---|---|
protected String |
input
The path to transit when a validation error is encountered. |
protected Method |
method
The method of the action class. |
protected boolean |
removeActionForm
Whether the action form is removed from session or request. |
protected Method |
resetMethod
The reset method. |
protected String[] |
roles
The roles. |
protected boolean |
validate
Whether this execute method is validated. |
| Constructor Summary | |
|---|---|
S3ExecuteConfig(Method method)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getInput()
Returns the path to transit when a validation error is encountered. |
Method |
getMethod()
Returns the method of the action class. |
Method |
getResetMethod()
Returns the reset method. |
String[] |
getRoles()
Returns the roles. |
boolean |
isRemoveActionForm()
Determines if the action form is removed from session or request. |
boolean |
isTarget(HttpServletRequest request)
Determines if this execute method is target. |
boolean |
isValidate()
Determines if this execute method is validated. |
void |
setInput(String input)
Sets the path to transit when a validation error is encountered. |
void |
setRemoveActionForm(boolean removeActionForm)
Sets the removeActionForm flag. |
void |
setResetMethod(Method resetMethod)
Sets the reset method. |
void |
setRoles(String[] roles)
Set the roles. |
void |
setValidate(boolean validate)
Sets the validate flag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Method method
protected boolean validate
protected String input
protected String[] roles
protected boolean removeActionForm
protected Method resetMethod
| Constructor Detail |
|---|
public S3ExecuteConfig(Method method)
throws NullPointerException
method - the method
NullPointerException - if the method parameter is null| Method Detail |
|---|
public Method getMethod()
public boolean isValidate()
public void setValidate(boolean validate)
validate - the validate flagpublic String getInput()
public void setInput(String input)
throws NullPointerException
input - the path to transit
NullPointerException - if the input parameter is nullpublic String[] getRoles()
public void setRoles(String[] roles)
throws NullPointerException
roles - the roles
NullPointerException - if the roles parameter is nullpublic boolean isRemoveActionForm()
public void setRemoveActionForm(boolean removeActionForm)
removeActionForm - the removeActionForm flagpublic Method getResetMethod()
public void setResetMethod(Method resetMethod)
resetMethod - the reset methodpublic boolean isTarget(HttpServletRequest request)
request - the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||