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, webwork.action.IllegalArgumentAware, webwork.action.ParameterAware, java.io.Serializable

public class IssueNavigator
extends AbstractBrowser

See Also:
Serialized Form

Field Summary
static java.util.List invalidCharList
           
 
Fields inherited from class com.atlassian.jira.web.action.AbstractBrowser
MODE_HIDE, MODE_SHOW, params
 
Fields inherited from class com.atlassian.jira.web.action.ProjectActionSupport
savedFilters
 
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
PERMISSION_VIOLATION_RESULT, request
 
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
IssueNavigator()
           
 
Method Summary
protected  java.lang.String doExecute()
           
protected  void doValidation()
           
 java.lang.String getAssignee()
           
 java.lang.String getAssigneeSelect()
           
 java.util.List getAssigneeSelects()
           
 java.util.Collection getBrowsableItems()
          Return all issues matching the current filter, sorted.
 java.util.Collection getColumns()
          Get the column display names and names.
 java.util.Collection getComponent()
           
 java.util.Collection getComponents()
          Get the components associated with this project
 java.lang.String getCreatedAfter()
           
 java.lang.String getCreatedBefore()
           
 java.lang.Long getCreatedPrevious()
           
 java.util.Collection getCurrentPage()
          Return the current 'page' of issues (given max and start) for the current filter
 java.lang.String getCustomFieldName(java.lang.Long pId)
           
 java.lang.String getCustomFieldName(java.lang.Long pId, java.lang.String pSuffix)
           
 java.util.Collection getCustomFieldOptions(java.lang.Long customFieldId)
           
 java.lang.String getCustomFieldParamValue(java.lang.Long pId)
           
 java.lang.String getCustomFieldParamValue(java.lang.Long pId, java.lang.String pSuffix)
           
 java.util.Collection getCustomFields()
           
 java.lang.String getCustomFieldValue(org.ofbiz.core.entity.GenericValue issue, org.ofbiz.core.entity.GenericValue customfield)
           
 CustomFieldValuesHolder getCustomFieldValuesHolder(org.ofbiz.core.entity.GenericValue issue)
           
 java.lang.String getDurationString(java.lang.Long millis)
           
 java.util.Collection getFields()
           
 SearchSort getFirstSorter()
           
 java.util.Collection getFixfor()
           
 LinkCollection getLinkCollection(org.ofbiz.core.entity.GenericValue issue)
           
 PagerFilter getPager()
          Store the current pager in the session.
 java.lang.Long getPid()
           
 java.util.Collection getPriorityIds()
           
 java.lang.String getQuery()
           
 java.lang.String getReporter()
           
 java.lang.String getReporterSelect()
           
 java.util.List getReporterSelects()
           
 java.util.Collection getResolutionIds()
           
 java.lang.String getSRQueryString()
          This method returns a query string representing the current search request
 java.util.Collection getStatusIds()
           
 int getTempMax()
          Get / Set the temporary maximum - this is used for printable and excel views etc
 java.util.List getTypes()
           
 java.lang.String getUpdatedAfter()
           
 java.lang.String getUpdatedBefore()
           
 java.lang.Long getUpdatedPrevious()
           
 java.util.List getValidCustomFields()
           
 java.util.Collection getVersion()
           
 java.util.Collection getVersions()
          Get the versions associated with this project
 java.lang.String getView()
           
 boolean isAssigneeActive()
           
 boolean isReporterActive()
           
 void resetPager()
           
 void setParameters(java.util.Map parameters)
           
 void setPid(java.lang.Long pid)
           
 void setSearchFilter(SearchRequest searchRequest)
           
 void setTempMax(int tempMax)
           
 void setView(java.lang.String view)
           
 java.lang.String xmlEscaped(java.lang.String s)
           
 
Methods inherited from class com.atlassian.jira.web.action.AbstractBrowser
getMaxValues, getMode, getNiceEnd, getNiceStart, getSingleParam, getTimePeriods, setHide, setMode, setShow, setStart
 
Methods inherited from class com.atlassian.jira.web.action.IssueActionSupport
getActionManager, getAssignableUsers, getAttachmentManager, getCustomFieldManager, getIssueManager, getPossibleVersions, getSearchRequest, getSelectedProject, getUrlEncoded, getWorkflow, setCurrentIssue, setSelectedProject, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getProjectManager, getSavedFilters
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
getCachedGroups, getConstantsManager, getGlobalColumns, getPropertySet, getRedirect, getRemoteUser, getUserPreferences, isHasPermission, isHasPermission
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, execute, getActionName, getApplicationProperties, getDelegator, getResult, isIndexing
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, addIllegalArgumentException, doDefault, getErrorMessages, getErrors, getHasErrorMessages, getHasErrors, getLocale, getText, 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
 

Field Detail

invalidCharList

public static final java.util.List invalidCharList
Constructor Detail

IssueNavigator

public IssueNavigator()
Method Detail

doValidation

protected void doValidation()
Overrides:
doValidation in class webwork.action.ActionSupport

doExecute

protected java.lang.String doExecute()
                              throws java.lang.Exception
Overrides:
doExecute in class webwork.action.ActionSupport
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
java.lang.Exception

setPid

public void setPid(java.lang.Long pid)
            throws java.lang.Exception
java.lang.Exception

getColumns

public java.util.Collection getColumns()
Get the column display names and names. The columns change depending on the Navigator mode.


getVersions

public java.util.Collection getVersions()
                                 throws java.lang.Exception
Get the versions associated with this project

java.lang.Exception

getComponents

public java.util.Collection getComponents()
                                   throws java.lang.Exception
Get the components associated with this project

java.lang.Exception

getQuery

public java.lang.String getQuery()

getFields

public java.util.Collection getFields()

getTypes

public java.util.List getTypes()

getFixfor

public java.util.Collection getFixfor()

getReporterSelects

public java.util.List getReporterSelects()

getReporterSelect

public java.lang.String getReporterSelect()

isReporterActive

public boolean isReporterActive()

getReporter

public java.lang.String getReporter()

getAssigneeSelects

public java.util.List getAssigneeSelects()

getAssigneeSelect

public java.lang.String getAssigneeSelect()

isAssigneeActive

public boolean isAssigneeActive()

getAssignee

public java.lang.String getAssignee()

getCreatedBefore

public java.lang.String getCreatedBefore()

getCreatedAfter

public java.lang.String getCreatedAfter()

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
java.lang.Exception

getCustomFieldOptions

public java.util.Collection getCustomFieldOptions(java.lang.Long customFieldId)

getCustomFieldName

public java.lang.String getCustomFieldName(java.lang.Long pId)

getCustomFieldName

public java.lang.String getCustomFieldName(java.lang.Long pId,
                                           java.lang.String pSuffix)

getCustomFieldParamValue

public java.lang.String getCustomFieldParamValue(java.lang.Long pId)

getCustomFieldParamValue

public java.lang.String getCustomFieldParamValue(java.lang.Long pId,
                                                 java.lang.String pSuffix)

getValidCustomFields

public java.util.List getValidCustomFields()
                                    throws java.lang.Exception
java.lang.Exception

getCustomFieldValue

public java.lang.String getCustomFieldValue(org.ofbiz.core.entity.GenericValue issue,
                                            org.ofbiz.core.entity.GenericValue customfield)
                                     throws java.lang.Exception
java.lang.Exception

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


xmlEscaped

public java.lang.String xmlEscaped(java.lang.String s)

getDurationString

public java.lang.String getDurationString(java.lang.Long millis)

getLinkCollection

public LinkCollection getLinkCollection(org.ofbiz.core.entity.GenericValue issue)

getCustomFieldValuesHolder

public CustomFieldValuesHolder getCustomFieldValuesHolder(org.ofbiz.core.entity.GenericValue issue)


Copyright © 2002-2003 Atlassian. All Rights Reserved.