| Method from com.opensymphony.xwork2.ActionSupport Detail: |
public void addActionError(String anErrorMessage) {
validationAware.addActionError(anErrorMessage);
}
|
public void addActionMessage(String aMessage) {
validationAware.addActionMessage(aMessage);
}
|
public void addFieldError(String fieldName,
String errorMessage) {
validationAware.addFieldError(fieldName, errorMessage);
}
|
public void clearActionErrors() {
validationAware.clearActionErrors();
}
Clears action errors. Useful for Continuations and other situations
where you might want to clear parts of the state on the same action. |
public void clearErrors() {
validationAware.clearErrors();
}
Clears all errors. Useful for Continuations and other situations
where you might want to clear parts of the state on the same action. |
public void clearErrorsAndMessages() {
validationAware.clearErrorsAndMessages();
}
Clears all errors and messages. Useful for Continuations and other situations
where you might want to clear parts of the state on the same action. |
public void clearFieldErrors() {
validationAware.clearFieldErrors();
}
Clears field errors. Useful for Continuations and other situations
where you might want to clear parts of the state on the same action. |
public void clearMessages() {
validationAware.clearMessages();
}
Clears messages. Useful for Continuations and other situations
where you might want to clear parts of the state on the same action. |
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
|
public String doDefault() throws Exception {
return SUCCESS;
}
|
public String execute() throws Exception {
return SUCCESS;
}
|
public Collection getActionErrors() {
return validationAware.getActionErrors();
}
|
public Collection getActionMessages() {
return validationAware.getActionMessages();
}
|
public Collection getErrorMessages() {
return getActionErrors();
} Deprecated! Use - #getActionErrors() .
|
public Map getErrors() {
return getFieldErrors();
} Deprecated! Use - #getFieldErrors() .
|
public Map getFieldErrors() {
return validationAware.getFieldErrors();
}
|
public Locale getLocale() {
ActionContext ctx = ActionContext.getContext();
if (ctx != null) {
return ctx.getLocale();
} else {
LOG.debug("Action context not initialized");
return null;
}
}
|
public String getText(String aTextName) {
return textProvider.getText(aTextName);
}
|
public String getText(String aTextName,
String defaultValue) {
return textProvider.getText(aTextName, defaultValue);
}
|
public String getText(String aTextName,
List args) {
return textProvider.getText(aTextName, args);
}
|
public String getText(String key,
String[] args) {
return textProvider.getText(key, args);
}
|
public String getText(String aTextName,
String defaultValue,
String obj) {
return textProvider.getText(aTextName, defaultValue, obj);
}
|
public String getText(String aTextName,
String defaultValue,
List args) {
return textProvider.getText(aTextName, defaultValue, args);
}
|
public String getText(String key,
String defaultValue,
String[] args) {
return textProvider.getText(key, defaultValue, args);
}
|
public String getText(String key,
String defaultValue,
List args,
ValueStack stack) {
return textProvider.getText(key, defaultValue, args, stack);
}
|
public String getText(String key,
String defaultValue,
String[] args,
ValueStack stack) {
return textProvider.getText(key, defaultValue, args, stack);
}
|
public ResourceBundle getTexts() {
return textProvider.getTexts();
}
|
public ResourceBundle getTexts(String aBundleName) {
return textProvider.getTexts(aBundleName);
}
|
public boolean hasActionErrors() {
return validationAware.hasActionErrors();
}
|
public boolean hasActionMessages() {
return validationAware.hasActionMessages();
}
|
public boolean hasErrors() {
return validationAware.hasErrors();
}
|
public boolean hasFieldErrors() {
return validationAware.hasFieldErrors();
}
|
public String input() throws Exception {
return INPUT;
}
|
public void pause(String result) {
}
Stops the action invocation immediately (by throwing a PauseException) and causes the action invocation to return
the specified result, such as #SUCCESS , #INPUT , etc.
The next time this action is invoked (and using the same continuation ID), the method will resume immediately
after where this method was called, with the entire call stack in the execute method restored.
Note: this method can only be called within the #execute() method.
|
public void setActionErrors(Collection errorMessages) {
validationAware.setActionErrors(errorMessages);
}
|
public void setActionMessages(Collection messages) {
validationAware.setActionMessages(messages);
}
|
public void setFieldErrors(Map errorMap) {
validationAware.setFieldErrors(errorMap);
}
|
public void validate() {
}
A default implementation that validates nothing.
Subclasses should override this method to provide validations. |