|
||||||||||
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
public abstract class AbstractIssueSelectAction
An abstract action that should be extended by any action which wants to 'select' an issue
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 | |
---|---|
protected java.lang.Long |
id
|
protected com.atlassian.jira.issue.MutableIssue |
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 | |
---|---|
protected |
AbstractIssueSelectAction()
Our terrible action hierarchy makes this call necessary |
protected |
AbstractIssueSelectAction(com.atlassian.jira.config.SubTaskManager subTaskManager)
|
Method Summary | |
---|---|
boolean |
cameFromIssue()
|
boolean |
cameFromParent()
|
java.lang.Long |
getId()
Get Id of current issue. |
org.ofbiz.core.entity.GenericValue |
getIssue()
Gets the current issue's GenericValue. |
com.atlassian.jira.issue.MutableIssue |
getIssueObject()
Returns the current Issue . |
com.atlassian.jira.issue.Issue |
getIssueObjectNoSecurityCheck()
|
java.lang.String |
getIssuePath()
Gets the relative path to the current issue. |
protected java.lang.String |
getKey()
Get key of current issue. |
com.atlassian.jira.web.component.issuesummary.IssueSummaryLayoutBean |
getLayoutBean()
Get the default layout bean for most actions. |
com.atlassian.jira.issue.Issue |
getParentIssueObject()
Returns the parent of the current Issue |
org.ofbiz.core.entity.GenericValue |
getProject()
|
org.ofbiz.core.entity.GenericValue |
getSecurityLevel()
|
org.ofbiz.core.entity.GenericValue |
getSecurityLevel(java.lang.Long id)
|
java.lang.String |
getSecurityLevelName()
|
protected com.atlassian.jira.config.SubTaskManager |
getSubTaskManager()
|
com.atlassian.jira.issue.Issue |
getSummaryIssue()
This is used by the issue summary decorator to add the left-hand side decoration. |
java.lang.String |
getViewIssueKey()
|
java.lang.String |
getViewUrl()
Gets the relative path to the current issue. |
boolean |
isEditable()
Determines whether the current user can edit or resolve this issue. |
boolean |
isEditable(com.atlassian.jira.issue.Issue issue)
Determines whether the current user can edit or resolve an specified issue. |
boolean |
isHasEditIssuePermission(com.atlassian.jira.issue.Issue issue)
|
boolean |
isIssueExists()
|
boolean |
isIssueValid()
In comparison to isIssueExists() this method performs a permission check and returns true if the issue exists and the user has sufficient permissions. |
boolean |
isSubTask()
Determines whether the issue is a sub task - i.e. |
boolean |
isSubTaskCreatable()
Tests whether the sub-tasks are turned on and whether the the current issue is a 'parent' issue, i.e. |
boolean |
isWorkflowAllowsEdit(com.atlassian.jira.issue.Issue issue)
|
protected java.lang.String |
redirectToView()
|
protected void |
resetIssue()
|
void |
setId(java.lang.Long id)
Set the the current issue by its id. |
void |
setIssue(org.ofbiz.core.entity.GenericValue issue)
|
void |
setKey(java.lang.String key)
Set current issue by its key. |
void |
setViewIssueKey(java.lang.String viewIssueKey)
|
Methods inherited from class com.pyxis.greenhopper.jira.actions.ProjectActionSupport |
---|
escapeJavaScript, getHtmlEncodedText, getI18n, 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, 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, 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.web.action.issue.IssueSummaryAware |
---|
getLoggedInUser |
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 |
---|
protected java.lang.Long id
protected com.atlassian.jira.issue.MutableIssue issueObject
Constructor Detail |
---|
protected AbstractIssueSelectAction()
protected AbstractIssueSelectAction(com.atlassian.jira.config.SubTaskManager subTaskManager)
Method Detail |
---|
public boolean isIssueExists()
public boolean isIssueValid()
public org.ofbiz.core.entity.GenericValue getIssue()
getIssueObject()
public void setIssue(org.ofbiz.core.entity.GenericValue issue)
protected void resetIssue()
public java.lang.Long getId() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void setId(java.lang.Long id)
id
- Eg. from Issue.getId()
protected java.lang.String getKey() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public void setKey(java.lang.String key)
key
- Issue key.public org.ofbiz.core.entity.GenericValue getProject()
public java.lang.String getSecurityLevelName() throws java.lang.Exception
java.lang.Exception
public org.ofbiz.core.entity.GenericValue getSecurityLevel() throws java.lang.Exception
java.lang.Exception
public org.ofbiz.core.entity.GenericValue getSecurityLevel(java.lang.Long id) throws java.lang.Exception
java.lang.Exception
public java.lang.String getViewIssueKey()
public void setViewIssueKey(java.lang.String viewIssueKey)
protected java.lang.String redirectToView() throws java.lang.Exception
java.lang.Exception
public java.lang.String getViewUrl()
context path
.
public java.lang.String getIssuePath()
context path
.
public boolean isEditable()
public boolean isEditable(com.atlassian.jira.issue.Issue issue)
issue
- The issue in play.
public boolean isHasEditIssuePermission(com.atlassian.jira.issue.Issue issue)
public boolean isWorkflowAllowsEdit(com.atlassian.jira.issue.Issue issue)
public com.atlassian.jira.issue.MutableIssue getIssueObject()
Issue
.
getIssue()
public com.atlassian.jira.issue.Issue getIssueObjectNoSecurityCheck() throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
public boolean cameFromIssue()
public boolean cameFromParent()
public com.atlassian.jira.issue.Issue getSummaryIssue()
getSummaryIssue
in interface com.atlassian.jira.web.action.issue.IssueSummaryAware
public com.atlassian.jira.web.component.issuesummary.IssueSummaryLayoutBean getLayoutBean()
getLayoutBean
in interface com.atlassian.jira.web.action.issue.IssueSummaryAware
protected com.atlassian.jira.config.SubTaskManager getSubTaskManager()
public boolean isSubTask()
public boolean isSubTaskCreatable()
public com.atlassian.jira.issue.Issue getParentIssueObject()
Issue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |