|
||||||||||
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.pyxis.greenhopper.jira.actions.ProjectActionSupport com.pyxis.greenhopper.jira.actions.IssueActionSupport com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction com.pyxis.greenhopper.jira.actions.AbstractBoardAction
public abstract class AbstractBoardAction
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 GreenHopperLicenseManager |
ghLicense
|
protected GreenHopper |
greenHopperService
|
protected java.util.Set<com.atlassian.jira.issue.Issue> |
issuesToUpdate
|
Fields inherited from class com.pyxis.greenhopper.jira.actions.AbstractIssueSelectAction |
---|
id, issueObject |
Fields inherited from class com.pyxis.greenhopper.jira.actions.IssueActionSupport |
---|
attachmentManager |
Fields inherited from class com.pyxis.greenhopper.jira.actions.ProjectActionSupport |
---|
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 | |
---|---|
AbstractBoardAction(GreenHopper greenHopperService,
GreenHopperLicenseManager ghLicense)
|
Method Summary | |
---|---|
protected void |
addError(java.lang.Exception e)
|
protected void |
addError(java.lang.Exception e,
java.lang.String msgId)
|
void |
addError(java.lang.String e,
java.lang.String msg)
|
void |
asApplicationSlashJson()
This can be called to set the response to be application/json. |
java.util.Collection<com.atlassian.jira.project.Project> |
getAllJIRAProjects()
|
java.util.Collection<com.atlassian.jira.issue.priority.Priority> |
getAllPriorities()
|
java.util.Set<com.atlassian.jira.issue.resolution.Resolution> |
getAllResolutions()
|
java.lang.String |
getCalendarFormat()
|
java.lang.String |
getCalendarLocale()
|
java.lang.String |
getCalendarTimeFormat()
|
boolean |
getCanEditPreferences()
|
java.lang.String |
getDefaultPriorityId()
|
java.lang.String |
getDefaultResolutionId()
|
GreenHopperHelpPathResolver.HelpPath |
getHelpPath(java.lang.String key)
|
I18n2 |
getI18n()
|
java.lang.Long |
getId()
Get Id of current issue. |
java.lang.String |
getIssueKeys()
|
java.util.Set<com.atlassian.jira.issue.Issue> |
getIssuesToUpdate()
|
java.lang.String |
getKey()
Get key of current issue. |
java.lang.String |
getPluginKey()
|
java.lang.String |
getPluginVersion()
|
java.lang.String |
getResourceLocation(java.lang.String moduleName,
java.lang.String resourceName)
|
protected com.atlassian.jira.user.UserProjectHistoryManager |
getUserProjectHistoryManager()
|
WebUtilities |
getUtil()
Utilities object |
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. |
boolean |
isAdmin()
|
boolean |
isBetaEnabled(java.lang.String betaId)
|
boolean |
isHostedEnvironment()
|
boolean |
isTimeTrackingOn()
|
boolean |
isUnassignAllowed()
|
protected java.lang.String |
redirectToDashboard()
|
protected java.lang.String |
redirectToRapidStart()
|
void |
registerKeyboardContext()
Registers the GreenHopper keyboard context. |
void |
resetIssue()
|
void |
setI18nFactoryService(I18nFactoryService i18nFactoryService)
Deprecated. |
void |
setId(java.lang.Long id)
Set the the current issue by its id. |
void |
setIssueKeys(java.lang.String keys)
|
void |
setKey(java.lang.String key)
Set current issue by its key. |
void |
setWebUtilities(WebUtilities webUtilities)
Deprecated. |
protected java.lang.String |
toDecimalFormat(java.lang.String value)
|
protected void |
validate(java.lang.String str,
java.lang.String key)
|
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.ProjectActionSupport |
---|
escapeJavaScript, getHtmlEncodedText, getSelectedProjectId, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, htmlEncode, setSelectedProject, setSelectedProject |
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, 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 |
---|
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.pyxis.greenhopper.jira.util.I18n |
---|
getHtmlEncodedText, getText, getText, getText |
Methods inherited from interface com.atlassian.jira.web.action.issue.IssueSummaryAware |
---|
getLoggedInUser |
Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
setCommand |
Field Detail |
---|
protected GreenHopper greenHopperService
protected GreenHopperLicenseManager ghLicense
protected java.util.Set<com.atlassian.jira.issue.Issue> issuesToUpdate
Constructor Detail |
---|
public AbstractBoardAction(GreenHopper greenHopperService, GreenHopperLicenseManager ghLicense)
Method Detail |
---|
public WebUtilities getUtil()
public I18n2 getI18n()
getI18n
in class ProjectActionSupport
public java.lang.Long getId()
AbstractIssueSelectAction
getId
in class AbstractIssueSelectAction
public java.lang.String getKey()
AbstractIssueSelectAction
getKey
in class AbstractIssueSelectAction
public void setId(java.lang.Long id)
AbstractIssueSelectAction
setId
in class AbstractIssueSelectAction
id
- Eg. from Issue.getId()
public void setKey(java.lang.String key)
AbstractIssueSelectAction
setKey
in class AbstractIssueSelectAction
key
- Issue key.public void resetIssue()
resetIssue
in class AbstractIssueSelectAction
public java.util.Set<com.atlassian.jira.issue.Issue> getIssuesToUpdate()
public void setIssueKeys(java.lang.String keys)
public java.lang.String getIssueKeys()
public void registerKeyboardContext()
public void includeFieldResourcesForCurrentUser()
public boolean isBetaEnabled(java.lang.String betaId)
public java.lang.String getPluginKey()
public java.lang.String getPluginVersion()
public java.lang.String getCalendarLocale()
public java.lang.String getCalendarFormat()
public java.lang.String getCalendarTimeFormat()
public java.lang.String getDefaultResolutionId()
public java.lang.String getDefaultPriorityId()
public boolean isAdmin()
public java.util.Set<com.atlassian.jira.issue.resolution.Resolution> getAllResolutions()
public boolean isTimeTrackingOn()
public boolean isUnassignAllowed()
public boolean getCanEditPreferences()
public java.util.Collection<com.atlassian.jira.issue.priority.Priority> getAllPriorities()
public java.util.Collection<com.atlassian.jira.project.Project> getAllJIRAProjects()
public void addError(java.lang.String e, java.lang.String msg)
addError
in interface com.atlassian.jira.util.ErrorCollection
addError
in class webwork.action.ActionSupport
public java.lang.String getResourceLocation(java.lang.String moduleName, java.lang.String resourceName)
protected void addError(java.lang.Exception e)
protected void addError(java.lang.Exception e, java.lang.String msgId)
protected com.atlassian.jira.user.UserProjectHistoryManager getUserProjectHistoryManager()
getUserProjectHistoryManager
in class com.atlassian.jira.web.action.JiraWebActionSupport
protected void validate(java.lang.String str, java.lang.String key) throws GreenHopperException
GreenHopperException
protected java.lang.String toDecimalFormat(java.lang.String value)
@Deprecated public void setWebUtilities(WebUtilities webUtilities)
@Deprecated public void setI18nFactoryService(I18nFactoryService i18nFactoryService)
public boolean isHostedEnvironment()
public void asApplicationSlashJson()
protected java.lang.String redirectToRapidStart()
protected java.lang.String redirectToDashboard()
public GreenHopperHelpPathResolver.HelpPath getHelpPath(java.lang.String key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |