com.liferay.portlet.asset.model
Interface AssetRenderer

All Known Implementing Classes:
BaseAssetRenderer

public interface AssetRenderer

View Source

Author:
Jorge Ferrer, Juan Fernández

Field Summary
static java.lang.String TEMPLATE_ABSTRACT
           
static java.lang.String TEMPLATE_FULL_CONTENT
           
 
Method Summary
 java.lang.String[] getAvailableLocales()
           
 long getClassPK()
           
 java.lang.String getDiscussionPath()
           
 long getGroupId()
           
 java.lang.String getIconPath(javax.portlet.PortletRequest portletRequest)
           
 java.lang.String getSummary()
           
 java.lang.String getTitle()
           
 javax.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 javax.portlet.PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 java.lang.String getUrlTitle()
           
 java.lang.String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, java.lang.String noSuchEntryRedirect)
           
 long getUserId()
           
 java.lang.String getViewInContextMessage()
           
 boolean hasEditPermission(PermissionChecker permissionChecker)
           
 boolean hasViewPermission(PermissionChecker permissionChecker)
           
 boolean isConvertible()
           
 boolean isLocalizable()
           
 boolean isPrintable()
           
 java.lang.String render(javax.portlet.RenderRequest renderRequest, javax.portlet.RenderResponse renderResponse, java.lang.String template)
           
 

Field Detail

TEMPLATE_ABSTRACT

static final java.lang.String TEMPLATE_ABSTRACT
See Also:
Constant Field Values

TEMPLATE_FULL_CONTENT

static final java.lang.String TEMPLATE_FULL_CONTENT
See Also:
Constant Field Values
Method Detail

getAvailableLocales

java.lang.String[] getAvailableLocales()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

getClassPK

long getClassPK()

getDiscussionPath

java.lang.String getDiscussionPath()

getGroupId

long getGroupId()

getIconPath

java.lang.String getIconPath(javax.portlet.PortletRequest portletRequest)

getSummary

java.lang.String getSummary()

getTitle

java.lang.String getTitle()

getURLEdit

javax.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest,
                                    LiferayPortletResponse liferayPortletResponse)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

getURLExport

javax.portlet.PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest,
                                      LiferayPortletResponse liferayPortletResponse)
                                      throws java.lang.Exception
Throws:
java.lang.Exception

getUrlTitle

java.lang.String getUrlTitle()

getURLViewInContext

java.lang.String getURLViewInContext(LiferayPortletRequest liferayPortletRequest,
                                     LiferayPortletResponse liferayPortletResponse,
                                     java.lang.String noSuchEntryRedirect)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getUserId

long getUserId()

getViewInContextMessage

java.lang.String getViewInContextMessage()

hasEditPermission

boolean hasEditPermission(PermissionChecker permissionChecker)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

hasViewPermission

boolean hasViewPermission(PermissionChecker permissionChecker)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

isConvertible

boolean isConvertible()

isLocalizable

boolean isLocalizable()

isPrintable

boolean isPrintable()

render

java.lang.String render(javax.portlet.RenderRequest renderRequest,
                        javax.portlet.RenderResponse renderResponse,
                        java.lang.String template)
                        throws java.lang.Exception
Throws:
java.lang.Exception