Class CommandActionHelper
- java.lang.Object
-
- com.atlassian.confluence.core.service.CommandActionHelper
-
public class CommandActionHelper extends Object
Helper class for Struts actions that want to execute a command.
-
-
Constructor Summary
Constructors Constructor Description CommandActionHelper(ServiceCommand command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
execute(ConfluenceActionSupport action)
ServiceCommand
getCommand()
Collection
getValidationErrors()
boolean
isAuthorized()
boolean
isValid()
void
validate(ConfluenceActionSupport action)
-
-
-
Constructor Detail
-
CommandActionHelper
public CommandActionHelper(ServiceCommand command)
-
-
Method Detail
-
validate
public void validate(ConfluenceActionSupport action)
-
execute
public String execute(ConfluenceActionSupport action)
-
getValidationErrors
public Collection getValidationErrors()
-
isAuthorized
public boolean isAuthorized()
-
isValid
public boolean isValid()
-
getCommand
public ServiceCommand getCommand()
-
-