com.atlassian.jira.web.action.browser
Class Browser

java.lang.Object
  extended bywebwork.action.ActionSupport
      extended bycom.atlassian.jira.action.JiraActionSupport
          extended bycom.atlassian.jira.web.action.JiraWebActionSupport
              extended bycom.atlassian.jira.web.action.ProjectActionSupport
                  extended bycom.atlassian.jira.web.action.browser.Browser
All Implemented Interfaces:
webwork.action.Action, webwork.action.CommandDriven, ErrorCollection, I18nHelper, webwork.action.IllegalArgumentAware, Serializable

public class Browser
extends ProjectActionSupport

See Also:
Serialized Form

Field Summary
(package private)  Map assignedUsers
          All the users who are assigned to open issues
static Collection FIX_FOR_SEARCH_SORTS
           
(package private)  Map newAssignedUsers
           
(package private)  int unassignedIssueCount
           
(package private)  Map usersAssignedUsers
           
 
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, savedFilters, selectedProject
 
Fields inherited from class com.atlassian.jira.action.JiraActionSupport
log
 
Fields inherited from class webwork.action.ActionSupport
command, errorMap, errorMessages
 
Fields inherited from interface com.atlassian.jira.util.I18nHelper
DEFAULT_RESOURCE_BUNDLE
 
Fields inherited from interface webwork.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
Browser(ProjectManager projectManager, ConstantsManager constantsManager, SearchProvider searchProvider, PermissionManager permissionManager, VersionManager versionManager, com.atlassian.plugin.PluginManager pluginManager)
           
 
Method Summary
protected  String doExecute()
           
 String doProject()
          Browse single project
 String doProjects()
          Browse multiple projects
 StatisticAccessorBean getAllStatAccessor()
           
 Long getId()
           
 Collection getIssuesByFixForVersion(Version version)
           
 PercentageGraphModel getIssueSummaryByFixForVersion(Version version)
           
 User getLeadUser(org.ofbiz.core.entity.GenericValue project)
           
 org.ofbiz.core.entity.GenericValue getProject()
           
 String getProjectTabHtml()
           
 List getProjectTabPanels()
           
 String getReport()
           
 List getReports()
           
 long getResolvedGroupedByFixFor(Version version)
           
protected  Map getSession()
           
 StatisticAccessorBean getStatAccessor()
           
 boolean getStringSet(org.ofbiz.core.entity.GenericValue gv, String value)
           
 Long getSubset()
           
 String getUpperCase(String s)
           
 boolean isVersionReleased(Version version)
           
 void setId(Long id)
           
 void setReport(String report)
           
 void setSubset(Long subset)
           
 
Methods inherited from class com.atlassian.jira.web.action.ProjectActionSupport
getBrowseableProjects, getBrowseableProjectsInCategory, getSelectedProjectId, setSelectedProject
 
Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getCalendarTranslationFilenameForLanguage, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSavedFilters, getSelectedProject, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, isHasCalendarTranslationForLanguage, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, setReturnUrl, setSelectedProjectId
 
Methods inherited from class com.atlassian.jira.action.JiraActionSupport
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getApplicationProperties, getDefaultResourceBundle, getDelegator, getJiraLocaleUtils, getLocale, getResult, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isStandard, removeKeyOrAddError
 
Methods inherited from class webwork.action.ActionSupport
addError, addErrorMessage, doDefault, 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

FIX_FOR_SEARCH_SORTS

public static final Collection FIX_FOR_SEARCH_SORTS

assignedUsers

Map assignedUsers
All the users who are assigned to open issues


newAssignedUsers

Map newAssignedUsers

usersAssignedUsers

Map usersAssignedUsers

unassignedIssueCount

int unassignedIssueCount
Constructor Detail

Browser

public Browser(ProjectManager projectManager,
               ConstantsManager constantsManager,
               SearchProvider searchProvider,
               PermissionManager permissionManager,
               VersionManager versionManager,
               com.atlassian.plugin.PluginManager pluginManager)
Method Detail

getId

public Long getId()
           throws PermissionException
Throws:
PermissionException

setId

public void setId(Long id)
           throws PermissionException
Throws:
PermissionException

getReport

public String getReport()

getSession

protected Map getSession()

setReport

public void setReport(String report)

getSubset

public Long getSubset()

setSubset

public void setSubset(Long subset)

getProject

public org.ofbiz.core.entity.GenericValue getProject()
                                              throws Exception
Throws:
Exception

getIssuesByFixForVersion

public Collection getIssuesByFixForVersion(Version version)
                                    throws Exception
Throws:
Exception

getIssueSummaryByFixForVersion

public PercentageGraphModel getIssueSummaryByFixForVersion(Version version)
                                                    throws Exception
Throws:
Exception

getResolvedGroupedByFixFor

public long getResolvedGroupedByFixFor(Version version)
                                throws Exception
Throws:
Exception

getStatAccessor

public StatisticAccessorBean getStatAccessor()
                                      throws PermissionException
Throws:
PermissionException

getAllStatAccessor

public StatisticAccessorBean getAllStatAccessor()
                                         throws PermissionException
Throws:
PermissionException

doProjects

public String doProjects()
                  throws Exception
Browse multiple projects

Throws:
Exception

doProject

public String doProject()
                 throws Exception
Browse single project

Throws:
Exception

doExecute

protected String doExecute()
                    throws Exception
Throws:
Exception

getUpperCase

public String getUpperCase(String s)

isVersionReleased

public boolean isVersionReleased(Version version)
                          throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

getProjectTabPanels

public List getProjectTabPanels()

getProjectTabHtml

public String getProjectTabHtml()

getReports

public List getReports()

getStringSet

public boolean getStringSet(org.ofbiz.core.entity.GenericValue gv,
                            String value)

getLeadUser

public User getLeadUser(org.ofbiz.core.entity.GenericValue project)


Copyright © 2002-2006 Atlassian. All Rights Reserved.