com.atlassian.jira.web.action.browser
Class Browser
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.browser.Browser
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class Browser
- extends ProjectActionSupport
- 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.JiraWebActionSupport |
addErrorCollection, forceRedirect, getAssignableUsers, getAssignableUsers, getCachedGroups, getComponentManager, getConstantsManager, getDateFormat, getDateTimeFormat, getDescTranslation, getExternalLinkUtils, getField, getFlushedErrorMessages, getGlobalPermissionManager, getJiraServiceContext, getLanguage, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getPropertySet, getRedirect, getRemoteUser, getReturnUrl, getSearchSortReverseDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getText, getTimeFormat, getUserFullName, getVersionManager, getWebworkStack, getWebworkStack, htmlEncode, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isSystemAdministrator, isUserExists, 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, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isEnterprise, isIndexing, isProfessional, isProfessionalOrEnterprise, 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 webwork.action.CommandDriven |
setCommand |
FIX_FOR_SEARCH_SORTS
public static final Collection FIX_FOR_SEARCH_SORTS
pluginAccessor
protected final com.atlassian.plugin.PluginAccessor pluginAccessor
Browser
public Browser(ProjectManager projectManager,
ConstantsManager constantsManager,
SearchProvider searchProvider,
PermissionManager permissionManager,
VersionManager versionManager,
com.atlassian.plugin.PluginAccessor pluginAccessor)
getId
public Long getId()
throws PermissionException
- Throws:
PermissionException
setId
public void setId(Long id)
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
- Deprecated. This method is deprecated since v3.10. Please use
getProjectObject()
instead.
- This method returns currently selected project generic value
- Returns:
- currently selected project generic value
- Throws:
Exception
- if user does not have permission to see this project
getProjectObject
public Project getProjectObject()
- This method returns currently selected project
- Returns:
- currently selected project
- Since:
- 3.10
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
- Returns:
- String of
Action.SUCCESS
- Throws:
Exception
- never throws
doProject
public String doProject()
throws Exception
- Browse single project
- Returns:
- string representing the view
- Throws:
Exception
- if cannot get the project
doExecute
protected String doExecute()
throws Exception
- Overrides:
doExecute
in class webwork.action.ActionSupport
- 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)
initTabPanels
protected List initTabPanels(Class tabPanelClass)
- Initializes the tab panels and returns a list of
ModuleDescriptor
objects.
- Parameters:
tabPanelClass
- tab panel class
- Returns:
- list of
ModuleDescriptor
objects, never null - Since:
- v3.10
isTabPanelHidden
protected boolean isTabPanelHidden(AbstractTabPanelModuleDescriptor descriptor)
throws PermissionException
- Returns true if the tab panel of the given descriptor should be hidden from the current view
- Parameters:
descriptor
- module descriptor
- Returns:
- true if hidden, false otherwise
- Throws:
PermissionException
- if project is invalid or not visible to the current user- Since:
- v3.10
Copyright © 2002-2009 Atlassian. All Rights Reserved.