com.atlassian.jira.portal.portlets
Class ProjectsPortlet
java.lang.Object
com.atlassian.jira.portal.PortletImpl
com.atlassian.jira.portal.portlets.ProjectsPortlet
- All Implemented Interfaces:
- Portlet
public class ProjectsPortlet
- extends PortletImpl
Portlet that displays information about multiple projects.
- Since:
- v3.13
Methods inherited from class com.atlassian.jira.portal.PortletImpl |
equals, getCornerThumbnail, getCornerThumbnailPath, getDescription, getDescriptor, getId, getIssueConstant, getListFromMultiSelectValue, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getThumbnailPath, getViewHtml, hashCode, hasPermission, init, isEditablePortletConfig |
ProjectsPortlet
public ProjectsPortlet(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
ApplicationProperties applicationProperties,
com.atlassian.plugin.PluginAccessor pluginAccessor,
ProjectManager projectManager,
ConstantsManager constantsManager)
getVelocityParams
protected Map getVelocityParams(PortletConfiguration portletConfiguration)
- Description copied from class:
PortletImpl
- Allow for the addition of additional Velocity parameters to the context.
Sub-classes may wish to override this to add their own object to the velocity context
- Overrides:
getVelocityParams
in class PortletImpl
- Parameters:
portletConfiguration
- portlet configuration
- Returns:
- map of velocity parameters, never null
getBrowseableProjectsInCategory
public Collection getBrowseableProjectsInCategory(org.ofbiz.core.entity.GenericValue category)
- Retrieves a list of projects belonging to the specified category that the user has permission to see
- Parameters:
category
- specify the category or null to retrieve a list of browseable projects that are not associated with any category
- Returns:
- collection of project generic values
hasBrowsePermission
public Boolean hasBrowsePermission(Project project)
getProjectTabPanels
public List getProjectTabPanels(Project project)
isPriorityFieldVisible
public Boolean isPriorityFieldVisible(Long projectId)
getPriorityStats
public Map getPriorityStats(Long projectId)
hasDisplayableItems
public boolean hasDisplayableItems(Project project)
displayableItemsHtml
public String displayableItemsHtml(Project project)
Copyright © 2002-2008 Atlassian. All Rights Reserved.