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

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.admin.SelectProjectScheme
All Implemented Interfaces:
PermissionSchemeAware, ProjectAware, ProjectContextAccessor, UserAware, org.apache.commons.jelly.DynaTag, org.apache.commons.jelly.Tag

public class SelectProjectScheme
extends ProjectAwareActionTagSupport
implements PermissionSchemeAware, ProjectContextAccessor


Field Summary
static java.lang.String KEY_PROJECT_ID
           
 
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
SelectProjectScheme()
           
 
Method Summary
protected  void endTagExecution(org.apache.commons.jelly.XMLOutput output)
           
 org.ofbiz.core.entity.GenericValue getPermissionScheme()
           
 java.lang.Long getPermissionSchemeId()
           
 java.lang.String[] getRequiredContextVariables()
           
 java.lang.String[] getRequiredContextVariablesAfter()
           
 java.lang.String[] getRequiredProperties()
           
 boolean hasPermissionScheme()
           
 void loadPreviousProject()
           
protected  void preContextValidation()
           
protected  void prePropertyValidation(org.apache.commons.jelly.XMLOutput output)
           
 void setProject(org.ofbiz.core.entity.GenericValue project)
           
 void setProject(java.lang.Long projectId)
           
 void setProject(java.lang.String projectKey)
           
 
Methods inherited from class com.atlassian.jira.jelly.tag.ProjectAwareActionTagSupport
getProject, getProjectId, hasProject
 
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, isBackendAction, isExecuteWebworkOnClose, mapContainsAll, mapProperty, mapProperty, postTagExecution, postTagValidation, propertiesContains, propertyContains, propertyValidation, reportRequired, reportRequiredContextVariablesAfter, reportRequiredContextVariablesBefore, reportRequiredProperties, setActionName, setBackendAction, setExecuteWebworkOnClose, setProperty, setProperty, toString
 
Methods inherited from class com.atlassian.jira.jelly.JiraDynaBeanTagSupport
getProperties
 
Methods inherited from class org.apache.commons.jelly.DynaBeanTagSupport
beforeSetAttributes, 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, isTrim, setBody, 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.UserAware
getUser, getUsername
 
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
 

Field Detail

KEY_PROJECT_ID

public static final java.lang.String KEY_PROJECT_ID
See Also:
Constant Field Values
Constructor Detail

SelectProjectScheme

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

endTagExecution

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

getRequiredContextVariables

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

getRequiredProperties

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

getRequiredContextVariablesAfter

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

hasPermissionScheme

public boolean hasPermissionScheme()
Specified by:
hasPermissionScheme in interface PermissionSchemeAware

getPermissionSchemeId

public java.lang.Long getPermissionSchemeId()
Specified by:
getPermissionSchemeId in interface PermissionSchemeAware

getPermissionScheme

public org.ofbiz.core.entity.GenericValue getPermissionScheme()
Specified by:
getPermissionScheme in interface PermissionSchemeAware

setProject

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

setProject

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

setProject

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

loadPreviousProject

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


Copyright © 2002-2006 Atlassian. All Rights Reserved.