com.atlassian.jira.jelly.tag.project
Class AddVersion

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by org.apache.commons.jelly.DynaTagSupport
          extended by org.apache.commons.jelly.DynaBeanTagSupport
              extended by com.atlassian.jira.jelly.JiraDynaBeanTagSupport
                  extended by com.atlassian.jira.jelly.ActionTagSupport
                      extended by com.atlassian.jira.jelly.tag.UserAwareActionTagSupport
                          extended by com.atlassian.jira.jelly.tag.ProjectAwareActionTagSupport
                              extended by com.atlassian.jira.jelly.tag.project.AddVersion
All Implemented Interfaces:
ProjectAware, ProjectContextAccessor, UserAware, org.apache.commons.jelly.DynaTag, org.apache.commons.jelly.Tag

public class AddVersion
extends ProjectAwareActionTagSupport
implements ProjectContextAccessor


Field Summary
 
Fields inherited from class com.atlassian.jira.jelly.ActionTagSupport
FAILURE, ignoreErrors, SUCCESS
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
AddVersion()
           
 
Method Summary
protected  void endTagExecution(org.apache.commons.jelly.XMLOutput output)
           
 String[] getRequiredContextVariablesAfter()
           
 String[] getRequiredProperties()
           
 String getVersionIdVar()
           
 void loadPreviousProject()
           
protected  void postTagExecution(org.apache.commons.jelly.XMLOutput output)
           
protected  void preContextValidation()
           
protected  void prePropertyValidation(org.apache.commons.jelly.XMLOutput output)
           
 void setProject(org.ofbiz.core.entity.GenericValue projectKey)
           
 void setProject(Long projectId)
           
 void setProject(String projectKey)
           
 void setVersionIdVar(String versionIdVar)
           
 
Methods inherited from class com.atlassian.jira.jelly.tag.ProjectAwareActionTagSupport
getProject, getProjectId, getRequiredContextVariables, hasProject
 
Methods inherited from class com.atlassian.jira.jelly.tag.UserAwareActionTagSupport
getUser, getUsername
 
Methods inherited from class com.atlassian.jira.jelly.ActionTagSupport
arrayToString, beforeSetAttributes, contextContainsAfter, contextContainsBefore, contextValidation, copyRedirectUrlParametersToTag, doTag, getActionName, getProperty, getRequest, getResponse, getTagName, getTagName, getWebWorkAdaptor, isExecuteWebworkOnClose, mapContainsAll, mapProperty, mapProperty, postTagValidation, propertiesContains, propertyContains, propertyValidation, reportRequired, reportRequiredContextVariablesAfter, reportRequiredContextVariablesBefore, reportRequiredProperties, setActionName, setExecuteWebworkOnClose, setProperty, setProperty, toString
 
Methods inherited from class com.atlassian.jira.jelly.JiraDynaBeanTagSupport
getProperties
 
Methods inherited from class org.apache.commons.jelly.DynaBeanTagSupport
getAttributeType, getDynaBean, setAttribute, setContext, setDynaBean
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setEscapeText, setParent, setTrim, trimBody
 
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.ProjectAware
getContext
 
Methods inherited from interface org.apache.commons.jelly.Tag
getBody, getContext, getParent, invokeBody, setBody, setParent
 

Constructor Detail

AddVersion

public AddVersion()
Method Detail

preContextValidation

protected void preContextValidation()
Overrides:
preContextValidation in class ActionTagSupport

prePropertyValidation

protected void prePropertyValidation(org.apache.commons.jelly.XMLOutput output)
                              throws org.apache.commons.jelly.JellyTagException
Overrides:
prePropertyValidation in class ActionTagSupport
Throws:
org.apache.commons.jelly.JellyTagException

postTagExecution

protected void postTagExecution(org.apache.commons.jelly.XMLOutput output)
                         throws org.apache.commons.jelly.JellyTagException
Overrides:
postTagExecution in class ActionTagSupport
Throws:
org.apache.commons.jelly.JellyTagException

endTagExecution

protected void endTagExecution(org.apache.commons.jelly.XMLOutput output)
Overrides:
endTagExecution in class ActionTagSupport

getRequiredProperties

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

getRequiredContextVariablesAfter

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

setProject

public void setProject(Long projectId)
Specified by:
setProject in interface ProjectContextAccessor

setProject

public void setProject(String projectKey)
Specified by:
setProject in interface ProjectContextAccessor

setProject

public void setProject(org.ofbiz.core.entity.GenericValue projectKey)
Specified by:
setProject in interface ProjectContextAccessor

loadPreviousProject

public void loadPreviousProject()
Specified by:
loadPreviousProject in interface ProjectContextAccessor

getVersionIdVar

public String getVersionIdVar()

setVersionIdVar

public void setVersionIdVar(String versionIdVar)


Copyright © 2002-2014 Atlassian. All Rights Reserved.