Class GetCategory
java.lang.Object
org.apache.struts2.ActionSupport
org.apache.struts2.showcase.ajax.tree.GetCategory
- All Implemented Interfaces:
Serializable,Action,ValidationAware,LocaleProvider,TextProvider,Validateable
- Direct Known Subclasses:
Toggle
- See Also:
-
Field Summary
Fields inherited from class org.apache.struts2.ActionSupport
container -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.struts2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocale, getLocaleProvider, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validate
-
Constructor Details
-
GetCategory
public GetCategory()
-
-
Method Details
-
execute
Description copied from class:ActionSupportA default implementation that does nothing an returns "success".Subclasses should override this method to provide their business logic.
See also
Action.execute().- Specified by:
executein interfaceAction- Overrides:
executein classActionSupport- Returns:
- returns
Action.SUCCESS - Throws:
Exception- can be thrown by subclasses.
-
setCatId
public void setCatId(long catId) -
getCategory
-