com.atlassian.jira.portal
Interface Portlet

All Known Implementing Classes:
AdminPortlet, AssignedToMePortlet, PortletImpl, ProjectStatsPortlet, StatsPortlet, TwoDimensionalStatsPortlet

public interface Portlet


Method Summary
 java.lang.String getCornerThumbnail()
           
 java.lang.String getDescription()
           
 PortletModuleDescriptor getDescriptor()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 com.atlassian.configurable.ObjectConfiguration getObjectConfiguration(java.util.Map map)
           
 int getPermission()
          Returns a list of permissions for this portlet.
 java.lang.String getTemplateLocation()
           
 java.lang.String getThumbnailfile()
          The path to a thumbnail image of this portlet
 java.lang.String getViewHtml(PortletConfiguration portletConfiguration)
           
 boolean hasPermission()
          Does the portlet have a permission set on it
 void init(PortletModuleDescriptor descriptor)
           
 

Method Detail

getId

java.lang.String getId()

getName

java.lang.String getName()

getDescription

java.lang.String getDescription()

hasPermission

boolean hasPermission()
Does the portlet have a permission set on it

Returns:
true If this user has a permission e.g. getPermission == -1

getPermission

int getPermission()
Returns a list of permissions for this portlet.

Returns:
Returns a Permission. -1 indicates no permission so viewable by everyone

getThumbnailfile

java.lang.String getThumbnailfile()
The path to a thumbnail image of this portlet

Returns:
Path to image

getCornerThumbnail

java.lang.String getCornerThumbnail()

init

void init(PortletModuleDescriptor descriptor)

getTemplateLocation

java.lang.String getTemplateLocation()

getViewHtml

java.lang.String getViewHtml(PortletConfiguration portletConfiguration)

getObjectConfiguration

com.atlassian.configurable.ObjectConfiguration getObjectConfiguration(java.util.Map map)
                                                                      throws com.atlassian.configurable.ObjectConfigurationException
Throws:
com.atlassian.configurable.ObjectConfigurationException

getDescriptor

PortletModuleDescriptor getDescriptor()


Copyright © 2002-2006 Atlassian. All Rights Reserved.