com.atlassian.jira.jelly.tag.admin
Class AddUserToGroup

java.lang.Object
  extended byDynaBeanTagSupport
      extended bycom.atlassian.jira.jelly.JiraDynaBeanTagSupport
          extended bycom.atlassian.jira.jelly.ActionTagSupport
              extended bycom.atlassian.jira.jelly.tag.UserAwareActionTagSupport
                  extended bycom.atlassian.jira.jelly.tag.admin.AddUserToGroup
All Implemented Interfaces:
GroupAware, GroupContextAccessor, NewUserAware, NewUserContextAccessor, UserAware

public class AddUserToGroup
extends UserAwareActionTagSupport
implements NewUserAware, GroupAware, NewUserContextAccessor, GroupContextAccessor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.jira.jelly.ActionTagSupport
FAILURE, ignoreErrors, SUCCESS
 
Constructor Summary
AddUserToGroup()
           
 
Method Summary
protected  void endTagExecution(XMLOutput output)
           
 Group getGroup()
           
 java.lang.String getGroupName()
           
 java.lang.String getNewUsername()
           
 java.lang.String[] getRequiredContextVariables()
           
 java.lang.String[] getRequiredContextVariablesAfter()
           
 java.lang.String[] getRequiredProperties()
           
 boolean hasGroup()
           
 boolean hasNewUsername()
           
 void loadPreviousGroup()
           
 void loadPreviousNewUser()
           
protected  void preContextValidation()
           
protected  void prePropertyValidation(XMLOutput output)
           
 void setGroup(java.lang.String groupname)
           
 void setNewUser(java.lang.String username)
           
 
Methods inherited from class com.atlassian.jira.jelly.tag.UserAwareActionTagSupport
getUser, getUsername
 
Methods inherited from class com.atlassian.jira.jelly.ActionTagSupport
arrayToString, contextContainsAfter, contextContainsBefore, contextValidation, copyRedirectUrlParametersToTag, doTag, getActionName, getProperty, getRequest, getResponse, getTagName, getTagName, getWebWorkAdaptor, mapContainsAll, mapProperty, postTagExecution, postTagValidation, propertiesContains, propertyValidation, reportRequired, reportRequiredContextVariablesAfter, reportRequiredContextVariablesBefore, reportRequiredProperties, setActionName, setProperty, setProperty, toString
 
Methods inherited from class com.atlassian.jira.jelly.JiraDynaBeanTagSupport
getProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.jelly.NewUserContextAccessor
getContext
 
Methods inherited from interface com.atlassian.jira.jelly.GroupContextAccessor
getContext
 

Constructor Detail

AddUserToGroup

public AddUserToGroup()
Method Detail

preContextValidation

protected void preContextValidation()
Overrides:
preContextValidation in class ActionTagSupport

prePropertyValidation

protected void prePropertyValidation(XMLOutput output)
                              throws JellyTagException
Overrides:
prePropertyValidation in class ActionTagSupport
Throws:
JellyTagException

getRequiredContextVariables

public java.lang.String[] getRequiredContextVariables()
Specified by:
getRequiredContextVariables in interface UserAware
Overrides:
getRequiredContextVariables in class UserAwareActionTagSupport

endTagExecution

protected void endTagExecution(XMLOutput output)
Overrides:
endTagExecution in class ActionTagSupport

getRequiredProperties

public java.lang.String[] getRequiredProperties()
Specified by:
getRequiredProperties in class ActionTagSupport

getRequiredContextVariablesAfter

public java.lang.String[] getRequiredContextVariablesAfter()
Specified by:
getRequiredContextVariablesAfter in class ActionTagSupport

hasGroup

public boolean hasGroup()
Specified by:
hasGroup in interface GroupAware

getGroupName

public java.lang.String getGroupName()
Specified by:
getGroupName in interface GroupAware

getGroup

public Group getGroup()
Specified by:
getGroup in interface GroupAware

hasNewUsername

public boolean hasNewUsername()
Specified by:
hasNewUsername in interface NewUserAware

getNewUsername

public java.lang.String getNewUsername()
Specified by:
getNewUsername in interface NewUserAware

setNewUser

public void setNewUser(java.lang.String username)
Specified by:
setNewUser in interface NewUserContextAccessor

loadPreviousNewUser

public void loadPreviousNewUser()
Specified by:
loadPreviousNewUser in interface NewUserContextAccessor

setGroup

public void setGroup(java.lang.String groupname)
Specified by:
setGroup in interface GroupContextAccessor

loadPreviousGroup

public void loadPreviousGroup()
Specified by:
loadPreviousGroup in interface GroupContextAccessor