com.atlassian.confluence.core.service
Class CommandActionHelper

java.lang.Object
  extended by com.atlassian.confluence.core.service.CommandActionHelper

public class CommandActionHelper
extends Object

Helper class for Webwork actions that want to execute a command.


Constructor Summary
CommandActionHelper(ServiceCommand command)
           
 
Method Summary
 String execute(ConfluenceActionSupport action)
           
 ServiceCommand getCommand()
           
 Collection getValidationErrors()
           
 boolean isAuthorized()
           
 boolean isValid()
           
 void validate(ConfluenceActionSupport action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()


Copyright © 2003-2012 Atlassian. All Rights Reserved.