|
||||||||||
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
public class IssueActionSupport
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 com.atlassian.jira.issue.AttachmentManager |
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 | |
---|---|
IssueActionSupport()
|
|
IssueActionSupport(com.atlassian.jira.issue.IssueManager issueManager,
com.atlassian.jira.issue.CustomFieldManager customFieldManager,
com.atlassian.jira.issue.AttachmentManager attachmentManager,
com.atlassian.jira.project.ProjectManager projectManager,
com.atlassian.jira.security.PermissionManager permissionManager,
com.atlassian.jira.project.version.VersionManager versionManager,
com.atlassian.jira.user.UserIssueHistoryManager userHistoryManager,
com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration timeTrackingConfiguration)
|
Method Summary | |
---|---|
void |
clearSelectedIssue()
|
com.atlassian.jira.issue.AttachmentManager |
getAttachmentManager()
|
java.lang.String |
getCurrentFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
This can be called to get a the number of times the user currently failed to logged in |
java.lang.String |
getCurrentJQL()
Reutrns the JQL representation of the curren search erquest in the session. |
com.atlassian.jira.issue.CustomFieldManager |
getCustomFieldManager()
|
java.math.BigDecimal |
getDaysPerWeek()
|
boolean |
getEverLoggedIn(com.atlassian.crowd.embedded.api.User user)
True if the user has ever logged in to JIRA |
java.math.BigDecimal |
getHoursPerDay()
|
com.atlassian.jira.issue.IssueManager |
getIssueManager()
|
java.lang.String |
getLastFailedLogin(com.atlassian.crowd.embedded.api.User user)
This can be called to get a description of the last time the user failed to logged in |
java.lang.String |
getLastLogin(com.atlassian.crowd.embedded.api.User user)
This can be called to get a description of the last time the user logged in |
java.lang.String |
getLoginCount(com.atlassian.crowd.embedded.api.User user)
This can be called to get a the number of times the user logged in |
java.util.List<com.atlassian.jira.project.VersionProxy> |
getPossibleVersions(org.ofbiz.core.entity.GenericValue project)
Returns a list of versions applicable to this issue (unreleased first). |
java.util.List<com.atlassian.jira.project.VersionProxy> |
getPossibleVersionsReleasedFirst(org.ofbiz.core.entity.GenericValue project)
Returns a list of versions applicable to this issue (released first). |
java.lang.String |
getPrettyDuration(java.lang.Long v)
this formatting function is shared by the full view for navigator as well as view issue. |
java.lang.String |
getPreviousLogin(com.atlassian.crowd.embedded.api.User user)
This can be called to get a description of the second last time the user logged in |
com.atlassian.jira.issue.search.SearchRequest |
getSearchRequest()
This method will return the one in the current search request, or return null if one does not exist |
java.lang.Long |
getSelectedIssueId()
|
protected com.atlassian.jira.web.session.SessionPagerFilterManager |
getSessionPagerFilterManager()
|
protected com.atlassian.jira.web.session.SessionSearchRequestManager |
getSessionSearchRequestManager()
|
com.atlassian.jira.web.session.SessionSearchObjectManagerFactory |
getSessionSearchRequestManagerFactory()
|
protected com.atlassian.jira.web.session.SessionSelectedIssueManager |
getSessionSelectedIssueManager()
|
java.lang.String |
getTotalFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
This can be called to get a the total number of times the user has failed to logged in |
java.lang.String |
getUrlEncoded(java.lang.String s)
|
com.opensymphony.workflow.Workflow |
getWorkflow()
|
java.lang.String |
getWorkflowTransitionDescription(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
|
java.lang.String |
getWorkflowTransitionDisplayName(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
Get the i18n'ed name of a workflow action (eg. |
boolean |
isCustomFieldHidden(java.lang.Long projectId,
java.lang.Long customFieldId,
java.lang.String issueTypeId)
Deprecated. Use FieldVisibilityManager.isCustomFieldHidden(java.lang.Long, java.lang.Long,
java.lang.String) instead. |
boolean |
isElevatedSecurityCheckRequired(com.atlassian.crowd.embedded.api.User user)
True if the user requires an elevated security check on the next login |
boolean |
isFieldHidden(java.lang.Long projectId,
java.lang.String id,
java.lang.Integer issueTypeId)
|
boolean |
isFieldHidden(java.lang.Long projectId,
java.lang.String id,
java.lang.String issueTypeId)
Deprecated. Use FieldVisibilityManager.isFieldHidden(java.lang.Long, java.lang.String, java.lang.String)
instead. |
boolean |
isFieldHidden(java.lang.String id)
Deprecated. Use FieldVisibilityManager.isFieldHidden(User, java.lang.String)
instead |
boolean |
isTimeTrackingEnabled()
|
void |
setCurrentIssue(org.ofbiz.core.entity.GenericValue issue)
Sets the current issue. |
protected void |
setSearchRequest(com.atlassian.jira.issue.search.SearchRequest searchRequest)
This method set the SearchRequest in the user's session |
void |
setSelectedIssueId(java.lang.Long selectedIssueId)
Deprecated. Use SessionSearchObjectManager.setCurrentObject(Object) instead |
protected void |
updateSearchRequest()
|
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.util.ErrorCollection |
---|
addError, addErrorMessage, addErrorMessages, addErrors, getErrorMessages, getErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
setCommand |
Field Detail |
---|
protected final com.atlassian.jira.issue.AttachmentManager attachmentManager
Constructor Detail |
---|
public IssueActionSupport(com.atlassian.jira.issue.IssueManager issueManager, com.atlassian.jira.issue.CustomFieldManager customFieldManager, com.atlassian.jira.issue.AttachmentManager attachmentManager, com.atlassian.jira.project.ProjectManager projectManager, com.atlassian.jira.security.PermissionManager permissionManager, com.atlassian.jira.project.version.VersionManager versionManager, com.atlassian.jira.user.UserIssueHistoryManager userHistoryManager, com.atlassian.jira.bc.issue.worklog.TimeTrackingConfiguration timeTrackingConfiguration)
public IssueActionSupport()
Method Detail |
---|
public com.atlassian.jira.issue.IssueManager getIssueManager()
public com.atlassian.jira.issue.CustomFieldManager getCustomFieldManager()
public com.atlassian.jira.issue.AttachmentManager getAttachmentManager()
public com.atlassian.jira.issue.search.SearchRequest getSearchRequest()
public java.lang.String getCurrentJQL()
protected void setSearchRequest(com.atlassian.jira.issue.search.SearchRequest searchRequest)
searchRequest
- The seerachRequest to place in the sessionprotected com.atlassian.jira.web.session.SessionSearchRequestManager getSessionSearchRequestManager()
protected com.atlassian.jira.web.session.SessionSelectedIssueManager getSessionSelectedIssueManager()
protected com.atlassian.jira.web.session.SessionPagerFilterManager getSessionPagerFilterManager()
public com.atlassian.jira.web.session.SessionSearchObjectManagerFactory getSessionSearchRequestManagerFactory()
protected void updateSearchRequest()
public void setCurrentIssue(org.ofbiz.core.entity.GenericValue issue)
issue
- The issue that you are currently viewing.public java.util.List<com.atlassian.jira.project.VersionProxy> getPossibleVersions(org.ofbiz.core.entity.GenericValue project) throws java.lang.Exception
java.lang.Exception
public java.util.List<com.atlassian.jira.project.VersionProxy> getPossibleVersionsReleasedFirst(org.ofbiz.core.entity.GenericValue project) throws java.lang.Exception
java.lang.Exception
public java.lang.String getUrlEncoded(java.lang.String s)
public com.opensymphony.workflow.Workflow getWorkflow()
public java.math.BigDecimal getHoursPerDay()
public java.math.BigDecimal getDaysPerWeek()
public boolean isTimeTrackingEnabled()
public java.lang.String getPrettyDuration(java.lang.Long v)
v
- duration in seconds@Deprecated public boolean isFieldHidden(java.lang.String id)
FieldVisibilityManager.isFieldHidden(User, java.lang.String)
instead
Permissions.BROWSE
permission).
id
- id of the FieldConfiguration@Deprecated public void setSelectedIssueId(java.lang.Long selectedIssueId)
SessionSearchObjectManager.setCurrentObject(Object)
instead
selectedIssueId
- id of the currently saelected issuepublic void clearSelectedIssue()
public java.lang.Long getSelectedIssueId()
@Deprecated public boolean isCustomFieldHidden(java.lang.Long projectId, java.lang.Long customFieldId, java.lang.String issueTypeId)
FieldVisibilityManager.isCustomFieldHidden(java.lang.Long, java.lang.Long,
java.lang.String)
instead.
projectId
- customFieldId
- the data store id of the custom field@Deprecated public boolean isFieldHidden(java.lang.Long projectId, java.lang.String id, java.lang.String issueTypeId)
FieldVisibilityManager.isFieldHidden(java.lang.Long, java.lang.String, java.lang.String)
instead.
projectId
- id
- fieldIdpublic boolean isFieldHidden(java.lang.Long projectId, java.lang.String id, java.lang.Integer issueTypeId)
public java.lang.String getWorkflowTransitionDisplayName(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
descriptor
- Descriptor eg. from JiraWorkflow.getDescriptor()
public java.lang.String getWorkflowTransitionDescription(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
public java.lang.String getLastLogin(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
public java.lang.String getPreviousLogin(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
public java.lang.String getLastFailedLogin(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
public java.lang.String getLoginCount(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
public java.lang.String getCurrentFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
public java.lang.String getTotalFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
public boolean isElevatedSecurityCheckRequired(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
public boolean getEverLoggedIn(com.atlassian.crowd.embedded.api.User user)
user
- the user in play (not the current user but any user)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |