com.atlassian.greenhopper.web
Class GreenHopperWebActionSupport

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.atlassian.greenhopper.web.GreenHopperWebActionSupport
All Implemented Interfaces:
com.atlassian.jira.util.ErrorCollection, com.atlassian.jira.util.I18nHelper, com.atlassian.jira.web.util.AuthorizationSupport, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
Direct Known Subclasses:
AdministerBacklogsAction, BacklogBoardAction, BacklogBoardEditFieldAction, BacklogMarkerAction, BacklogPrintAction, BuildPropertiesInfoAction, ChangeCardDisplayAction, ColumnBoxSizeAction, CompleteBacklogAction, CreateCardAction, EditBacklogAction, EditCapacitiesAction, EditContextAction, EditNonWorkingDaysAction, IssueNavigatorAction, LegendAction, ManageStatisticsAction, MoveSubtaskAction, QuickFilterAction, RankIssuesAction, RapidBoardAction, RapidViewAction, RedirectAction, TranslationAction, XProjectAction, XProjectDataMigrationAction

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

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper
com.atlassian.jira.util.I18nHelper.BeanFactory
 
Field Summary
protected static java.lang.String ERROR_DIALOG_CANCEL
           
protected static java.lang.String ERROR_DIALOG_SIMPLE
           
 
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
GreenHopperWebActionSupport()
           
 
Method Summary
protected  void attachErrors(ErrorCollection errors)
          Attaches all errors in the error collection to the current action.
 I18n2 getI18n()
           
 java.util.Collection<com.atlassian.jira.plugin.webfragment.model.SimpleLink> getIssueOperations()
          NOTE: Code is a copy from public com.atlassian.jira.web.action.issue.IssueNavigator.getIssueOperations() Used for the dot dialog functionality.
 WebUtilities getUtil()
          Utilities object
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, forceRedirect, getApplicationProperties, getAssignableUsers, getAssignableUsers, getComponentManager, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRandomHint, getRedirect, getRedirectChecker, getRemoteUser, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, setConglomerateCookieValue, setInline, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, doExecute, doValidation, getErrorMessages, getErrors, 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, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages
 
Methods inherited from interface webwork.action.CommandDriven
setCommand
 

Field Detail

ERROR_DIALOG_SIMPLE

protected static final java.lang.String ERROR_DIALOG_SIMPLE
See Also:
Constant Field Values

ERROR_DIALOG_CANCEL

protected static final java.lang.String ERROR_DIALOG_CANCEL
See Also:
Constant Field Values
Constructor Detail

GreenHopperWebActionSupport

public GreenHopperWebActionSupport()
Method Detail

getI18n

public I18n2 getI18n()

getUtil

public WebUtilities getUtil()
Utilities object


attachErrors

protected void attachErrors(ErrorCollection errors)
Attaches all errors in the error collection to the current action. All errors are translated


getIssueOperations

public java.util.Collection<com.atlassian.jira.plugin.webfragment.model.SimpleLink> getIssueOperations()
NOTE: Code is a copy from public com.atlassian.jira.web.action.issue.IssueNavigator.getIssueOperations() Used for the dot dialog functionality. The way the keyboard shortcuts work is that they click on hidden links (generated out of the data provided by this method), the listeners attached to those links then get the issue id/key from somewhere, take the url from the link and replace the id placeholder with the real id. the real url and issue id is then passed as ajaxOptions to the dialogs that then load the resulting urls, which gives the content htlm for the form.



Copyright © 2007-2011 Atlassian. All Rights Reserved.