com.atlassian.confluence.core.service
Class CommandActionHelper

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

public class CommandActionHelper
extends java.lang.Object

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


Constructor Summary
CommandActionHelper(ServiceCommand command)
           
 
Method Summary
 java.lang.String execute(ConfluenceActionSupport action)
           
 ServiceCommand getCommand()
           
 java.util.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 java.lang.String execute(ConfluenceActionSupport action)

getValidationErrors

public java.util.Collection getValidationErrors()

isAuthorized

public boolean isAuthorized()

isValid

public boolean isValid()

getCommand

public ServiceCommand getCommand()


Copyright © 2003-2011 Atlassian. All Rights Reserved.