com.pyxis.greenhopper.jira.actions
Class AbstractBoardAction
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.pyxis.greenhopper.jira.actions.ProjectActionSupport
com.pyxis.greenhopper.jira.actions.IssueActionSupport
com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction
com.pyxis.greenhopper.jira.actions.AbstractBoardAction
- All Implemented Interfaces:
- com.atlassian.jira.util.ErrorCollection, com.atlassian.jira.util.I18nHelper, com.atlassian.jira.web.action.issue.IssueSummaryAware, com.atlassian.jira.web.util.AuthorizationSupport, I18n, java.io.Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
- Direct Known Subclasses:
- BoardAction, GadgetBoardAction
public abstract class AbstractBoardAction
- extends AbstractIssueSelectAction
- implements I18n
- See Also:
- Serialized Form
| 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 |
| 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 |
| Methods inherited from class com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction |
cameFromIssue, cameFromParent, getIssue, getIssueObject, getIssueObjectNoSecurityCheck, getIssuePath, getLayoutBean, getParentIssueObject, getProject, getSecurityLevel, getSecurityLevel, getSecurityLevelName, getSubTaskManager, getSummaryIssue, getViewIssueKey, getViewUrl, isEditable, isEditable, isHasEditIssuePermission, isIssueExists, isIssueValid, isSubTask, isSubTaskCreatable, isWorkflowAllowsEdit, redirectToView, setIssue, setViewIssueKey |
| Methods inherited from class com.pyxis.greenhopper.jira.actions.IssueActionSupport |
clearSelectedIssue, getAttachmentManager, getCurrentFailedLoginCount, getCurrentJQL, getCustomFieldManager, getDaysPerWeek, getEverLoggedIn, getHoursPerDay, getIssueManager, getLastFailedLogin, getLastLogin, getLoginCount, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getPreviousLogin, getSearchRequest, getSelectedIssueId, getSessionPagerFilterManager, getSessionSearchRequestManager, getSessionSearchRequestManagerFactory, getSessionSelectedIssueManager, getTotalFailedLoginCount, getUrlEncoded, getWorkflow, getWorkflowTransitionDescription, getWorkflowTransitionDisplayName, isCustomFieldHidden, isElevatedSecurityCheckRequired, isFieldHidden, isFieldHidden, isFieldHidden, isTimeTrackingEnabled, setCurrentIssue, setSearchRequest, setSelectedIssueId, updateSearchRequest |
| Methods inherited from class com.pyxis.greenhopper.jira.actions.ProjectActionSupport |
getSelectedProjectId, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, setSelectedProject, setSelectedProject |
| 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, 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 |
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.web.action.issue.IssueSummaryAware |
getLoggedInUser |
| Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
| Methods inherited from interface webwork.action.CommandDriven |
setCommand |
greenHopperService
protected GreenHopper greenHopperService
ghLicense
protected GreenHopperLicenseManager ghLicense
issuesToUpdate
protected java.util.Set<com.atlassian.jira.issue.Issue> issuesToUpdate
AbstractBoardAction
public AbstractBoardAction(GreenHopper greenHopperService,
GreenHopperLicenseManager ghLicense)
getUtil
public WebUtilities getUtil()
- Utilities object
getI18n
public I18n2 getI18n()
- Overrides:
getI18n in class ProjectActionSupport
getId
public java.lang.Long getId()
- Description copied from class:
AbstractIssueSelectAction
- Get Id of current issue.
- Overrides:
getId in class AbstractIssueSelectAction
- Returns:
- Integer Id, or null if issue not set
getKey
public java.lang.String getKey()
- Description copied from class:
AbstractIssueSelectAction
- Get key of current issue.
- Overrides:
getKey in class AbstractIssueSelectAction
- Returns:
- Issue key, or null if not set
setId
public void setId(java.lang.Long id)
- Description copied from class:
AbstractIssueSelectAction
- Set the the current issue by its id.
- Overrides:
setId in class AbstractIssueSelectAction
- Parameters:
id - Eg. from Issue.getId()
setKey
public void setKey(java.lang.String key)
- Description copied from class:
AbstractIssueSelectAction
- Set current issue by its key.
- Overrides:
setKey in class AbstractIssueSelectAction
- Parameters:
key - Issue key.
resetIssue
public void resetIssue()
- Overrides:
resetIssue in class AbstractIssueSelectAction
getIssuesToUpdate
public java.util.Set<com.atlassian.jira.issue.Issue> getIssuesToUpdate()
setIssueKeys
public void setIssueKeys(java.lang.String keys)
getIssueKeys
public java.lang.String getIssueKeys()
registerKeyboardContext
public void registerKeyboardContext()
- Registers the GreenHopper keyboard context.
includeFieldResourcesForCurrentUser
public void includeFieldResourcesForCurrentUser()
- Load additional field specific javascript files
JIRA includes this on various jsp files, such as the navigator, search, issuedetails or wizards and forms.
isBetaEnabled
public boolean isBetaEnabled(java.lang.String betaId)
getPluginKey
public java.lang.String getPluginKey()
getPluginVersion
public java.lang.String getPluginVersion()
getCalendarLocale
public java.lang.String getCalendarLocale()
getCalendarFormat
public java.lang.String getCalendarFormat()
getCalendarTimeFormat
public java.lang.String getCalendarTimeFormat()
getDefaultResolutionId
public java.lang.String getDefaultResolutionId()
getDefaultPriorityId
public java.lang.String getDefaultPriorityId()
isAdmin
public boolean isAdmin()
getAllResolutions
public java.util.Set<com.atlassian.jira.issue.resolution.Resolution> getAllResolutions()
isTimeTrackingOn
public boolean isTimeTrackingOn()
isUnassignAllowed
public boolean isUnassignAllowed()
getCanEditPreferences
public boolean getCanEditPreferences()
getAllPriorities
public java.util.Collection<com.atlassian.jira.issue.priority.Priority> getAllPriorities()
getAllJIRAProjects
public java.util.Collection<com.atlassian.jira.project.Project> getAllJIRAProjects()
addError
public void addError(java.lang.String e,
java.lang.String msg)
- Specified by:
addError in interface com.atlassian.jira.util.ErrorCollection- Overrides:
addError in class webwork.action.ActionSupport
getResourceLocation
public java.lang.String getResourceLocation(java.lang.String moduleName,
java.lang.String resourceName)
addError
protected void addError(java.lang.Exception e)
addError
protected void addError(java.lang.Exception e,
java.lang.String msgId)
getUserProjectHistoryManager
protected com.atlassian.jira.user.UserProjectHistoryManager getUserProjectHistoryManager()
- Overrides:
getUserProjectHistoryManager in class com.atlassian.jira.web.action.JiraWebActionSupport
validate
protected void validate(java.lang.String str,
java.lang.String key)
throws GreenHopperException
- Throws:
GreenHopperException
toDecimalFormat
protected java.lang.String toDecimalFormat(java.lang.String value)
setWebUtilities
@Deprecated
public void setWebUtilities(WebUtilities webUtilities)
- Deprecated.
setI18nFactoryService
@Deprecated
public void setI18nFactoryService(I18nFactoryService i18nFactoryService)
- Deprecated.
isHostedEnvironment
public boolean isHostedEnvironment()
asApplicationSlashJson
public void asApplicationSlashJson()
- This can be called to set the response to be application/json. It callable even from
Velocity since we have shared actions that produce both JSON and HTML and hence
its the .vm that is in the best position to make this call.
redirectToRapidStart
protected java.lang.String redirectToRapidStart()
redirectToDashboard
protected java.lang.String redirectToDashboard()
getHelpPath
public GreenHopperHelpPathResolver.HelpPath getHelpPath(java.lang.String key)
Copyright © 2007-2012 Atlassian. All Rights Reserved.