com.atlassian.jira.portal.portlets
Class ProjectPortlet

java.lang.Object
  extended by com.atlassian.jira.portal.PortletImpl
      extended by com.atlassian.jira.portal.portlets.ProjectPortlet
All Implemented Interfaces:
Portlet

public class ProjectPortlet
extends PortletImpl

Portlet that displays information about a single project.

Since:
v3.13

Nested Class Summary
static class ProjectPortlet.PriorityStat
           
 
Field Summary
 
Fields inherited from class com.atlassian.jira.portal.PortletImpl
applicationProperties, authenticationContext, permissionManager
 
Constructor Summary
ProjectPortlet(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationProperties applicationProperties, ProjectManager projectManager, com.atlassian.plugin.PluginAccessor pluginAccessor, ConstantsManager constantsManager)
           
 
Method Summary
 Map<String,ProjectPortlet.PriorityStat> getPriorityStats(Long projectId)
           
 List getProjectTabPanels(Project project)
           
protected  Map<String,Object> getVelocityParams(PortletConfiguration portletConfiguration)
          Allow for the addition of additional Velocity parameters to the context.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectPortlet

public ProjectPortlet(JiraAuthenticationContext authenticationContext,
                      PermissionManager permissionManager,
                      ApplicationProperties applicationProperties,
                      ProjectManager projectManager,
                      com.atlassian.plugin.PluginAccessor pluginAccessor,
                      ConstantsManager constantsManager)
Method Detail

getVelocityParams

protected Map<String,Object> 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

getPriorityStats

public Map<String,ProjectPortlet.PriorityStat> getPriorityStats(Long projectId)

getProjectTabPanels

public List getProjectTabPanels(Project project)


Copyright © 2002-2010 Atlassian. All Rights Reserved.