|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object webwork.action.ActionSupport com.atlassian.jira.action.JiraActionSupport com.atlassian.jira.web.action.JiraWebActionSupport com.atlassian.greenhopper.web.GreenHopperWebActionSupport com.atlassian.greenhopper.web.rapid.BoardDispatchAction
public class BoardDispatchAction
Action which either redirects the user to the single board which an issue/sprint is on, or presents the user with a list of boards which it appears on so they can be redirected to the right place. This action also an "inline dialog" -- like JIRA issue operations, it serves back its content for presentation as a dialog when triggered from the right place.
Nested Class Summary |
---|
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 | |
---|---|
static java.lang.String |
BOARD_SELECTOR
|
Fields inherited from class com.atlassian.greenhopper.web.GreenHopperWebActionSupport |
---|
ERROR_DIALOG_CANCEL, ERROR_DIALOG_SIMPLE, greenHopperHelpPathResolver |
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 | |
---|---|
BoardDispatchAction()
|
Method Summary | |
---|---|
java.lang.String |
doGoToBoard()
Given only an issueId or sprintId, this command will attempt to redirect the user to the location of that issue or sprint on a Rapid Board. |
java.lang.String |
doGoToIssueOnBoard()
Given an issueId and a rapidViewId, this command will redirect the user to the location of that issue on that Rapid Board. |
java.lang.String |
doGoToSprintOnBoard()
Given a sprintId and a rapidViewId, this command will redirect the user to the location of that sprint on that Rapid Board. |
java.util.List<RapidView> |
getBoards()
|
com.atlassian.jira.issue.Issue |
getIssue()
|
java.lang.Long |
getIssueId()
|
java.lang.Integer |
getNumBoards()
|
java.lang.Long |
getRapidViewId()
|
Sprint |
getSprint()
|
java.lang.Long |
getSprintId()
|
boolean |
isIssueRequest()
|
void |
setIssueId(java.lang.Long issueId)
|
void |
setRapidViewId(java.lang.Long rapidViewId)
|
void |
setSprintId(java.lang.Long sprintId)
|
Methods inherited from class com.atlassian.greenhopper.web.GreenHopperWebActionSupport |
---|
attachErrors, getHelpPath, getI18n, getResourceTags, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUtil, isHostedEnvironment |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, 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 |
---|
public static final java.lang.String BOARD_SELECTOR
Constructor Detail |
---|
public BoardDispatchAction()
Method Detail |
---|
public java.lang.String doGoToBoard()
public java.lang.String doGoToIssueOnBoard()
doGoToBoard()
take the user. Therefore, this command should not be
accessed in "inline mode".
public java.lang.String doGoToSprintOnBoard()
doGoToBoard()
take the user. Therefore, this command should not be
accessed in "inline mode".
public boolean isIssueRequest()
public java.lang.Long getIssueId()
public void setIssueId(java.lang.Long issueId)
public java.lang.Long getSprintId()
public void setSprintId(java.lang.Long sprintId)
public java.lang.Long getRapidViewId()
public void setRapidViewId(java.lang.Long rapidViewId)
public com.atlassian.jira.issue.Issue getIssue()
public Sprint getSprint()
public java.util.List<RapidView> getBoards()
public java.lang.Integer getNumBoards()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |