com.atlassian.jira.web.action.issue
Class IssueNavigator
java.lang.Object
webwork.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
com.atlassian.jira.web.action.AbstractBrowser
com.atlassian.jira.web.action.issue.IssueNavigator
- All Implemented Interfaces:
- webwork.action.Action, webwork.action.CommandDriven, CustomFieldValuesAware, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, webwork.action.ParameterAware, java.io.Serializable
- public class IssueNavigator
- extends AbstractBrowser
- implements CustomFieldValuesAware
- See Also:
- Serialized Form
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.atlassian.jira.web.action.IssueActionSupport |
getActionManager, getAttachmentManager, getCustomFieldManager, getDaysPerWeek, getHoursPerDay, getIssueManager, getPossibleVersions, getPossibleVersionsReleasedFirst, getPrettyDuration, getSearchRequest, getUrlEncoded, getWorkflow, isCustomFieldHidden, isFieldHidden, isFieldHidden, isFieldHidden, setCurrentIssue |
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addErrorCollection, getAssignableUsers, getAssignableUsers, getCachedGroups, getColumnViewHtml, getComponentManager, getConstantsManager, getCustomFieldHtml, getCustomFieldXML, getDefaultAssignee, getDefaultResourceBundle, getField, getLocale, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getText, getText, getText, getText, getText, getUserFullName, getUserPreferences, getVersionManager, isDefaultAssignee, isDefaultAssignee, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, processDefaultAssignee, processDefaultAssignee, processDefaultAssignee, setReturnUrl |
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getLocaleUtils, getResult, getUnescapedText, getWatcherManager, hasAnyErrors, isIndexing |
Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, addIllegalArgumentException, doDefault, doValidation, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, 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 webwork.action.CommandDriven |
setCommand |
invalidCharList
public static final java.util.List invalidCharList
SELECT_LIST_NONE
public static final java.lang.String SELECT_LIST_NONE
- See Also:
- Constant Field Values
SELECT_LIST_USER
public static final java.lang.String SELECT_LIST_USER
- See Also:
- Constant Field Values
SELECT_LIST_GROUP
public static final java.lang.String SELECT_LIST_GROUP
- See Also:
- Constant Field Values
thumbnailCache
java.util.Map thumbnailCache
IssueNavigator
public IssueNavigator(ThumbnailManager thumbnailManager,
IssueLinkManager issueLinkManager,
SubTaskManager subTaskManager)
doExecute
protected java.lang.String doExecute()
throws java.lang.Exception
- Throws:
java.lang.Exception
setSearchFilter
public void setSearchFilter(SearchRequest searchRequest)
getFirstSorter
public SearchSort getFirstSorter()
getPager
public PagerFilter getPager()
- Store the current pager in the session.
The pager handles paging through the issue list.
- Specified by:
getPager
in class AbstractBrowser
resetPager
public void resetPager()
- Specified by:
resetPager
in class AbstractBrowser
getCurrentPage
public java.util.Collection getCurrentPage()
- Return the current 'page' of issues (given max and start) for the current filter
- Specified by:
getCurrentPage
in class AbstractBrowser
getBrowsableItems
public java.util.Collection getBrowsableItems()
- Return all issues matching the current filter, sorted.
- Specified by:
getBrowsableItems
in class AbstractBrowser
getPid
public java.lang.Long getPid()
throws java.lang.Exception
- Throws:
java.lang.Exception
setPid
public void setPid(java.lang.Long pid)
throws java.lang.Exception
- Throws:
java.lang.Exception
getVersions
public java.util.Collection getVersions()
throws java.lang.Exception
- Get the versions associated with this project
- Throws:
java.lang.Exception
getComponents
public java.util.Collection getComponents()
throws java.lang.Exception
- Get the components associated with this project
- Throws:
java.lang.Exception
getQuery
public java.lang.String getQuery()
getFields
public java.util.Collection getFields()
getTypes
public java.util.List getTypes()
getIssueTypeList
public java.util.Collection getIssueTypeList()
- Returns the list of all issue types to display
- Returns:
getFixfor
public java.util.Collection getFixfor()
getReporterSelects
public java.util.List getReporterSelects()
getReporterSelect
public java.lang.String getReporterSelect()
isReporterTypeNone
public boolean isReporterTypeNone()
isReporterTypeUser
public boolean isReporterTypeUser()
isReporterTypeGroup
public boolean isReporterTypeGroup()
getReporter
public java.lang.String getReporter()
getAssigneeSelects
public java.util.List getAssigneeSelects()
getAssigneeSelect
public java.lang.String getAssigneeSelect()
getAssigneeType
public java.lang.String getAssigneeType()
isAssigneeTypeNone
public boolean isAssigneeTypeNone()
isAssigneeTypeUser
public boolean isAssigneeTypeUser()
isAssigneeTypeGroup
public boolean isAssigneeTypeGroup()
getAssignee
public java.lang.String getAssignee()
getCreatedBefore
public java.lang.String getCreatedBefore()
getCreatedAfter
public java.lang.String getCreatedAfter()
getDuedateAfter
public java.lang.String getDuedateAfter()
getDuedateBefore
public java.lang.String getDuedateBefore()
getDuedatePrevious
public java.lang.String getDuedatePrevious()
getDuedateNext
public java.lang.String getDuedateNext()
getCreatedPrevious
public java.lang.Long getCreatedPrevious()
getUpdatedBefore
public java.lang.String getUpdatedBefore()
getUpdatedAfter
public java.lang.String getUpdatedAfter()
getUpdatedPrevious
public java.lang.Long getUpdatedPrevious()
getComponent
public java.util.Collection getComponent()
getVersion
public java.util.Collection getVersion()
getStatusIds
public java.util.Collection getStatusIds()
getResolutionIds
public java.util.Collection getResolutionIds()
getPriorityIds
public java.util.Collection getPriorityIds()
getView
public java.lang.String getView()
setView
public void setView(java.lang.String view)
getTempMax
public int getTempMax()
- Get / Set the temporary maximum - this is used for printable and excel views etc
setTempMax
public void setTempMax(int tempMax)
getCustomFields
public java.util.Collection getCustomFields()
throws java.lang.Exception
- Throws:
java.lang.Exception
getCustomFieldName
public java.lang.String getCustomFieldName(java.lang.Long pId)
getCustomFieldName
public java.lang.String getCustomFieldName(java.lang.Long pId,
java.lang.String pSuffix)
getValidCustomFields
public java.util.List getValidCustomFields()
throws java.lang.Exception
- Throws:
java.lang.Exception
isProjectLevelSearch
public boolean isProjectLevelSearch()
getValidCustomFields
public java.util.Set getValidCustomFields(org.ofbiz.core.entity.GenericValue issue)
throws FieldException
- Throws:
FieldException
setParameters
public void setParameters(java.util.Map parameters)
- Specified by:
setParameters
in interface webwork.action.ParameterAware
- Overrides:
setParameters
in class AbstractBrowser
getSRQueryString
public java.lang.String getSRQueryString()
- This method returns a query string representing the current search request
getDurationString
public java.lang.String getDurationString(java.lang.Long millis)
getLinkCollection
public LinkCollection getLinkCollection(org.ofbiz.core.entity.GenericValue issue)
getPrettyDateDuration
public java.lang.String getPrettyDateDuration(long l)
- Used by full content view's issue_extraproperties.jsp.
TODO - move this into a utility bean
getDurationInMinutes
public long getDurationInMinutes(long l)
getVisibleCustomFields
public java.util.Set getVisibleCustomFields()
throws java.lang.Exception
- Throws:
java.lang.Exception
getColumns
public java.util.Collection getColumns()
throws java.lang.Exception
- Throws:
java.lang.Exception
isHasSearchRequestColumnLayout
public boolean isHasSearchRequestColumnLayout()
throws ColumnLayoutStorageException
- Determines if the current search request has a column layout
- Throws:
ColumnLayoutStorageException
isShowOverrideColumnLayout
public boolean isShowOverrideColumnLayout()
throws ColumnLayoutStorageException
- Determines whether the "Use Your Columns" link should be shown to the user.
This will happen IF the search request has its own column layout AND
If the user has NOT chosen to override the search request's column layout
- Returns:
-
- Throws:
ColumnLayoutStorageException
doColumnOverride
public java.lang.String doColumnOverride()
throws java.lang.Exception
- Throws:
java.lang.Exception
isHasBulkEditPermissionForSearchRequest
public boolean isHasBulkEditPermissionForSearchRequest()
- Checks to see if the current user has a permission needed for bulk editing dependant on
all projects or the currently selected project in the search request
- Returns:
getThumbnails
public java.util.Collection getThumbnails(org.ofbiz.core.entity.GenericValue issue)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCustomFieldValuesHolder
public java.util.Map getCustomFieldValuesHolder()
- Specified by:
getCustomFieldValuesHolder
in interface CustomFieldValuesAware
setMinRatioLimit
public void setMinRatioLimit(java.lang.String minRatioLimit)
getMinRatioLimit
public java.lang.String getMinRatioLimit()
getMaxRatioLimit
public java.lang.String getMaxRatioLimit()
setMaxRatioLimit
public void setMaxRatioLimit(java.lang.String maxRatioLimit)
isTimeTrackingOn
public boolean isTimeTrackingOn()
getCustomFieldHtml
public java.lang.String getCustomFieldHtml(CustomField field)
getProjectIssueType
public ProjectIssueType getProjectIssueType()
Copyright © 2002-2005 Atlassian. All Rights Reserved.