com.pyxis.greenhopper.jira.actions
Class ProjectActionSupport

java.lang.Object
  extended by webwork.action.ActionSupport
      extended by com.atlassian.jira.action.JiraActionSupport
          extended by com.atlassian.jira.web.action.JiraWebActionSupport
              extended by com.pyxis.greenhopper.jira.actions.ProjectActionSupport
All Implemented Interfaces:
com.atlassian.jira.util.ErrorCollection, com.atlassian.jira.util.I18nHelper, com.atlassian.jira.web.HttpServletVariables, com.atlassian.jira.web.util.AuthorizationSupport, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
IssueActionSupport

public class ProjectActionSupport
extends com.atlassian.jira.web.action.JiraWebActionSupport

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport.MessageType
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection
com.atlassian.jira.util.ErrorCollection.Reason
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
com.atlassian.jira.util.I18nHelper.BeanFactory
 
Field Summary
protected  com.atlassian.jira.project.ProjectManager projectManager
           
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ProjectActionSupport()
           
ProjectActionSupport(com.atlassian.jira.project.ProjectManager projectManager, com.atlassian.jira.security.PermissionManager permissionManager)
           
 
Method Summary
 java.lang.String escapeJavaScript(java.lang.String value)
           
 java.lang.String getHtmlEncodedText(java.lang.String key)
           
 I18n2 getI18n()
           
 java.lang.Long getSelectedProjectId()
           
 java.lang.String getText(java.lang.String key)
           
 java.lang.String getText(java.lang.String key, java.lang.Object parameter)
           
 java.lang.String getText(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3)
           
 java.lang.String getText(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3, java.lang.Object value4)
           
 java.lang.String getText(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3, java.lang.Object value4, java.lang.Object value5)
           
 java.lang.String getText(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3, java.lang.Object value4, java.lang.Object value5, java.lang.Object value6)
           
 java.lang.String getText(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3, java.lang.Object value4, java.lang.Object value5, java.lang.Object value6, java.lang.Object value7)
           
 java.lang.String getText(java.lang.String key, java.lang.Object value1, java.lang.Object value2, java.lang.Object value3, java.lang.Object value4, java.lang.Object value5, java.lang.Object value6, java.lang.Object value7, java.lang.Object value8)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3, java.lang.String value4)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.String value6, java.lang.String value7)
           
 java.lang.String getText(java.lang.String key, java.lang.String value1, java.lang.String value2, java.lang.String value3, java.lang.String value4, java.lang.String value5, java.lang.String value6, java.lang.String value7, java.lang.String value8, java.lang.String value9)
           
 java.lang.String htmlEncode(java.lang.String txt)
           
 void setSelectedProject(org.ofbiz.core.entity.GenericValue project)
           
 void setSelectedProject(com.atlassian.jira.project.Project project)
           
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addMessageToResponse, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getAuthorizationSupport, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getErrorMessages, getErrors, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getHttpRequest, getHttpResponse, getHttpSession, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInApplicationUser, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirect, getRedirectSanitiser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getServletContext, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, hasIssuePermission, hasPermission, hasProjectPermission, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, isUserExistsByKey, isUserExistsByName, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId, urlEncode
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, doValidation, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.util.ErrorCollection
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

projectManager

protected final com.atlassian.jira.project.ProjectManager projectManager
Constructor Detail

ProjectActionSupport

public ProjectActionSupport(com.atlassian.jira.project.ProjectManager projectManager,
                            com.atlassian.jira.security.PermissionManager permissionManager)

ProjectActionSupport

public ProjectActionSupport()
Method Detail

getI18n

public I18n2 getI18n()

getText

public java.lang.String getText(java.lang.String key)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object parameter)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String value1)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String value1,
                                java.lang.String value2)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String value1,
                                java.lang.String value2,
                                java.lang.String value3)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String value1,
                                java.lang.String value2,
                                java.lang.String value3,
                                java.lang.String value4)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object value1,
                                java.lang.Object value2,
                                java.lang.Object value3)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object value1,
                                java.lang.Object value2,
                                java.lang.Object value3,
                                java.lang.Object value4)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object value1,
                                java.lang.Object value2,
                                java.lang.Object value3,
                                java.lang.Object value4,
                                java.lang.Object value5)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object value1,
                                java.lang.Object value2,
                                java.lang.Object value3,
                                java.lang.Object value4,
                                java.lang.Object value5,
                                java.lang.Object value6)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object value1,
                                java.lang.Object value2,
                                java.lang.Object value3,
                                java.lang.Object value4,
                                java.lang.Object value5,
                                java.lang.Object value6,
                                java.lang.Object value7)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String value1,
                                java.lang.String value2,
                                java.lang.String value3,
                                java.lang.String value4,
                                java.lang.String value5,
                                java.lang.String value6,
                                java.lang.String value7)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.Object value1,
                                java.lang.Object value2,
                                java.lang.Object value3,
                                java.lang.Object value4,
                                java.lang.Object value5,
                                java.lang.Object value6,
                                java.lang.Object value7,
                                java.lang.Object value8)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getText

public java.lang.String getText(java.lang.String key,
                                java.lang.String value1,
                                java.lang.String value2,
                                java.lang.String value3,
                                java.lang.String value4,
                                java.lang.String value5,
                                java.lang.String value6,
                                java.lang.String value7,
                                java.lang.String value8,
                                java.lang.String value9)
Specified by:
getText in interface com.atlassian.jira.util.I18nHelper
Overrides:
getText in class com.atlassian.jira.action.JiraActionSupport

getHtmlEncodedText

public java.lang.String getHtmlEncodedText(java.lang.String key)

htmlEncode

public java.lang.String htmlEncode(java.lang.String txt)
Overrides:
htmlEncode in class com.atlassian.jira.web.action.JiraWebActionSupport

getSelectedProjectId

public java.lang.Long getSelectedProjectId()

setSelectedProject

public void setSelectedProject(org.ofbiz.core.entity.GenericValue project)

setSelectedProject

public void setSelectedProject(com.atlassian.jira.project.Project project)

escapeJavaScript

public java.lang.String escapeJavaScript(java.lang.String value)


Copyright © 2007-2014 Atlassian. All Rights Reserved.