|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwebwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.jira.web.action.ProjectActionSupport
com.atlassian.jira.web.action.IssueActionSupport
public class IssueActionSupport
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
|---|
JiraWebActionSupport.MessageType |
| Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection |
|---|
ErrorCollection.Reason |
| Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
|---|
I18nHelper.BeanFactory |
| Field Summary | |
|---|---|
protected AttachmentManager |
attachmentManager
|
| Fields inherited from class com.atlassian.jira.web.action.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(IssueManager issueManager,
CustomFieldManager customFieldManager,
AttachmentManager attachmentManager,
ProjectManager projectManager,
PermissionManager permissionManager,
VersionManager versionManager,
UserIssueHistoryManager userHistoryManager,
TimeTrackingConfiguration timeTrackingConfiguration)
|
|
| Method Summary | |
|---|---|
void |
addIssueToHistory(Issue issueObj)
Sets the current issue. |
void |
clearSelectedIssue()
|
AttachmentManager |
getAttachmentManager()
|
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 |
String |
getCurrentJQL()
Reutrns the JQL representation of the curren search erquest in the session. |
CustomFieldManager |
getCustomFieldManager()
|
BigDecimal |
getDaysPerWeek()
|
boolean |
getEverLoggedIn(com.atlassian.crowd.embedded.api.User user)
True if the user has ever logged in to JIRA |
BigDecimal |
getHoursPerDay()
|
IssueManager |
getIssueManager()
|
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 |
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 |
String |
getLoginCount(com.atlassian.crowd.embedded.api.User user)
This can be called to get a the number of times the user logged in |
List<VersionProxy> |
getPossibleVersions(org.ofbiz.core.entity.GenericValue project)
Returns a list of versions applicable to this issue (unreleased first). |
List<VersionProxy> |
getPossibleVersionsReleasedFirst(org.ofbiz.core.entity.GenericValue project)
Returns a list of versions applicable to this issue (released first). |
String |
getPrettyDuration(Long v)
this formatting function is shared by the full view for navigator as well as view issue. |
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 |
SearchRequest |
getSearchRequest()
This method will return the one in the current search request, or return null if one does not exist |
Long |
getSelectedIssueId()
|
protected SessionPagerFilterManager |
getSessionPagerFilterManager()
|
protected SessionSearchRequestManager |
getSessionSearchRequestManager()
|
SessionSearchObjectManagerFactory |
getSessionSearchRequestManagerFactory()
|
protected SessionSelectedIssueManager |
getSessionSelectedIssueManager()
|
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 |
String |
getUrlEncoded(String s)
|
com.opensymphony.workflow.Workflow |
getWorkflow()
|
String |
getWorkflowTransitionDescription(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
|
String |
getWorkflowTransitionDisplayName(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
Get the i18n'ed name of a workflow action (eg. |
boolean |
isCustomFieldHidden(Long projectId,
Long customFieldId,
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(Long projectId,
String id,
Integer issueTypeId)
|
boolean |
isFieldHidden(Long projectId,
String id,
String issueTypeId)
Deprecated. Use FieldVisibilityManager.isFieldHidden(java.lang.Long, java.lang.String, java.lang.String)
instead. |
boolean |
isTimeTrackingEnabled()
|
protected void |
setSearchRequest(SearchRequest searchRequest)
This method set the SearchRequest in the user's session |
void |
setSelectedIssueId(Long selectedIssueId)
Deprecated. Use SessionSearchObjectManager.setCurrentObject(Object) instead |
protected void |
updateSearchRequest()
|
| Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport |
|---|
getBrowsableProjects, getBrowseableProjects, getSelectedProjectId, setSelectedProject, setSelectedProject |
| 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, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError |
| Methods inherited from class webwork.action.ActionSupport |
|---|
addError, addErrorMessage, doDefault, doExecute, doValidation, getCommandName, 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, hasAnyErrors, setErrorMessages |
| Methods inherited from interface webwork.action.CommandDriven |
|---|
getCommandName, setCommand |
| Field Detail |
|---|
protected final AttachmentManager attachmentManager
| Constructor Detail |
|---|
public IssueActionSupport(IssueManager issueManager,
CustomFieldManager customFieldManager,
AttachmentManager attachmentManager,
ProjectManager projectManager,
PermissionManager permissionManager,
VersionManager versionManager,
UserIssueHistoryManager userHistoryManager,
TimeTrackingConfiguration timeTrackingConfiguration)
public IssueActionSupport()
| Method Detail |
|---|
public IssueManager getIssueManager()
public CustomFieldManager getCustomFieldManager()
public AttachmentManager getAttachmentManager()
public SearchRequest getSearchRequest()
public String getCurrentJQL()
protected void setSearchRequest(SearchRequest searchRequest)
searchRequest - The seerachRequest to place in the sessionprotected SessionSearchRequestManager getSessionSearchRequestManager()
protected SessionSelectedIssueManager getSessionSelectedIssueManager()
protected SessionPagerFilterManager getSessionPagerFilterManager()
public SessionSearchObjectManagerFactory getSessionSearchRequestManagerFactory()
protected void updateSearchRequest()
public void addIssueToHistory(Issue issueObj)
issueObj - The issue that you are currently viewing.
public List<VersionProxy> getPossibleVersions(org.ofbiz.core.entity.GenericValue project)
throws Exception
Exception
public List<VersionProxy> getPossibleVersionsReleasedFirst(org.ofbiz.core.entity.GenericValue project)
throws Exception
Exceptionpublic String getUrlEncoded(String s)
public com.opensymphony.workflow.Workflow getWorkflow()
public BigDecimal getHoursPerDay()
public BigDecimal getDaysPerWeek()
public boolean isTimeTrackingEnabled()
public String getPrettyDuration(Long v)
v - duration in seconds@Deprecated public void setSelectedIssueId(Long selectedIssueId)
SessionSearchObjectManager.setCurrentObject(Object) instead
selectedIssueId - id of the currently saelected issuepublic void clearSelectedIssue()
public Long getSelectedIssueId()
@Deprecated
public boolean isCustomFieldHidden(Long projectId,
Long customFieldId,
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(Long projectId,
String id,
String issueTypeId)
FieldVisibilityManager.isFieldHidden(java.lang.Long, java.lang.String, java.lang.String)
instead.
projectId - id - fieldId
public boolean isFieldHidden(Long projectId,
String id,
Integer issueTypeId)
public String getWorkflowTransitionDisplayName(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
descriptor - Descriptor eg. from JiraWorkflow.getDescriptor()public String getWorkflowTransitionDescription(com.opensymphony.workflow.loader.ActionDescriptor descriptor)
public String getLastLogin(com.atlassian.crowd.embedded.api.User user)
user - the user in play (not the current user but any user)
public String getPreviousLogin(com.atlassian.crowd.embedded.api.User user)
user - the user in play (not the current user but any user)
public String getLastFailedLogin(com.atlassian.crowd.embedded.api.User user)
user - the user in play (not the current user but any user)
public String getLoginCount(com.atlassian.crowd.embedded.api.User user)
user - the user in play (not the current user but any user)
public String getCurrentFailedLoginCount(com.atlassian.crowd.embedded.api.User user)
user - the user in play (not the current user but any user)
public 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 | |||||||||