|
||||||||||
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(java.lang.Object o)
|
java.lang.String |
getCornerThumbnail()
|
java.lang.String |
getCornerThumbnailPath()
|
java.lang.String |
getDescription()
|
PortletModuleDescriptor |
getDescriptor()
|
java.lang.String |
getId()
|
IssueConstant |
getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
|
java.util.List |
getListFromMultiSelectValue(java.lang.String values)
Retrieve a list of values from delimited String. |
java.lang.String |
getName()
|
ObjectConfiguration |
getObjectConfiguration(java.util.Map params)
|
int |
getPermission()
Returns the permission required to view this portlet. |
java.lang.String |
getTemplateLocation()
|
java.lang.String |
getThumbnailfile()
The path to a thumbnail image of this portlet. |
java.lang.String |
getThumbnailPath()
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getVelocityParams(PortletConfiguration portletConfiguration)
Allow for the addition of additional Velocity parameters to the context. |
java.lang.String |
getViewHtml(PortletConfiguration portletConfiguration)
|
int |
hashCode()
|
boolean |
hasPermission()
Returns true if the portlet requires a specific permission to view it. |
void |
init(PortletModuleDescriptor descriptor)
|
protected java.lang.Boolean |
isEditablePortletConfig(PortletConfiguration portletConfiguration)
This is called to work out if a PortletConfiguration is on a page that is editable or not. |
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 |
---|
@Deprecated public PortletImpl(JiraAuthenticationContext authenticationContext)
public PortletImpl(JiraAuthenticationContext authenticationContext, PermissionManager permissionManager, ApplicationProperties applicationProperties)
Method Detail |
---|
public void init(PortletModuleDescriptor descriptor)
init
in interface Portlet
public java.lang.String getTemplateLocation()
getTemplateLocation
in interface Portlet
protected java.lang.Boolean isEditablePortletConfig(PortletConfiguration portletConfiguration)
portletConfiguration
- the PortletConfiguration in play
public java.lang.String getViewHtml(PortletConfiguration portletConfiguration)
getViewHtml
in interface Portlet
protected java.util.Map<java.lang.String,java.lang.Object> getVelocityParams(PortletConfiguration portletConfiguration)
portletConfiguration
- portlet configuration
public ObjectConfiguration getObjectConfiguration(java.util.Map params) throws ObjectConfigurationException
getObjectConfiguration
in interface Portlet
ObjectConfigurationException
public java.lang.String getId()
getId
in interface Portlet
public java.lang.String getName()
getName
in interface Portlet
public java.lang.String getDescription()
getDescription
in interface Portlet
public boolean hasPermission()
Portlet
hasPermission
in interface Portlet
public int getPermission()
Portlet
Permissions
for
symbolic constants.
getPermission
in interface Portlet
Permission
. or -1 indicating no permission.public java.lang.String getThumbnailfile()
Portlet
getThumbnailfile
in interface Portlet
public java.lang.String getCornerThumbnail()
getCornerThumbnail
in interface Portlet
public java.lang.String getThumbnailPath()
public java.lang.String getCornerThumbnailPath()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PortletModuleDescriptor getDescriptor()
getDescriptor
in interface Portlet
public IssueConstant getIssueConstant(org.ofbiz.core.entity.GenericValue issueConstantGV)
public java.util.List getListFromMultiSelectValue(java.lang.String values)
values
- Delimited String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |