|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.portal.PortletImpl
public class PortletImpl
Field Summary | |
---|---|
protected ApplicationProperties |
applicationProperties
|
protected JiraAuthenticationContext |
authenticationContext
|
protected PermissionManager |
permissionManager
|
Constructor Summary | |
---|---|
PortletImpl(JiraAuthenticationContext authenticationContext)
Deprecated. Use full constructor instead. |
|
PortletImpl(JiraAuthenticationContext authenticationContext,
PermissionManager permissionManager,
ApplicationProperties applicationProperties)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getCornerThumbnail()
|
String |
getDescription()
|
PortletModuleDescriptor |
getDescriptor()
|
String |
getId()
|
IssueConstant |
getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
|
String |
getName()
|
com.atlassian.configurable.ObjectConfiguration |
getObjectConfiguration(Map params)
|
int |
getPermission()
Returns a list of permissions for this portlet. |
String |
getTemplateLocation()
|
String |
getThumbnailfile()
The path to a thumbnail image of this portlet |
protected Map |
getVelocityParams(PortletConfiguration portletConfiguration)
Allow for the addition of additional Velocity parameters to the context. |
String |
getViewHtml(PortletConfiguration portletConfiguration)
|
int |
hashCode()
|
boolean |
hasPermission()
Does the portlet have a permission set on it |
void |
init(PortletModuleDescriptor descriptor)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final JiraAuthenticationContext authenticationContext
protected PermissionManager permissionManager
protected ApplicationProperties applicationProperties
Constructor Detail |
---|
public PortletImpl(JiraAuthenticationContext authenticationContext)
public PortletImpl(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationProperties applicationProperties)
Method Detail |
---|
public void init(PortletModuleDescriptor descriptor)
init
in interface Portlet
public String getTemplateLocation()
getTemplateLocation
in interface Portlet
public String getViewHtml(PortletConfiguration portletConfiguration)
getViewHtml
in interface Portlet
protected Map getVelocityParams(PortletConfiguration portletConfiguration)
public com.atlassian.configurable.ObjectConfiguration getObjectConfiguration(Map params) throws com.atlassian.configurable.ObjectConfigurationException
getObjectConfiguration
in interface Portlet
com.atlassian.configurable.ObjectConfigurationException
public String getId()
getId
in interface Portlet
public String getName()
getName
in interface Portlet
public String getDescription()
getDescription
in interface Portlet
public boolean hasPermission()
Portlet
hasPermission
in interface Portlet
public int getPermission()
Portlet
getPermission
in interface Portlet
Permission
. -1 indicates no permission so viewable by everyonepublic String getThumbnailfile()
Portlet
getThumbnailfile
in interface Portlet
public String getCornerThumbnail()
getCornerThumbnail
in interface Portlet
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public PortletModuleDescriptor getDescriptor()
getDescriptor
in interface Portlet
public IssueConstant getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |