Liferay 6.0.5

com.liferay.portlet.asset.model
Interface AssetRendererFactory

All Known Implementing Classes:
BaseAssetRendererFactory, BlogsEntryAssetRendererFactory, BookmarksEntryAssetRendererFactory, CalEventAssetRendererFactory, DLFileEntryAssetRendererFactory, IGImageAssetRendererFactory, JournalArticleAssetRendererFactory, MBDiscussionAssetRendererFactory, MBMessageAssetRendererFactory, WikiPageAssetRendererFactory

public interface AssetRendererFactory


Field Summary
static int TYPE_LATEST
           
static int TYPE_LATEST_APPROVED
           
 
Method Summary
 AssetRenderer getAssetRenderer(long classPK)
           
 AssetRenderer getAssetRenderer(long classPK, int type)
           
 AssetRenderer getAssetRenderer(long groupId, String urlTitle)
           
 String getClassName()
           
 long getClassNameId()
           
 String getIconPath(PortletRequest portletRequest)
           
 String getPortletId()
           
 String getType()
           
 PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 boolean hasPermission(PermissionChecker permissionChecker, long entryClassPK, String actionId)
           
 boolean isSelectable()
           
 void setClassNameId(long classNameId)
           
 void setPortletId(String portletId)
           
 

Field Detail

TYPE_LATEST

static final int TYPE_LATEST
See Also:
Constant Field Values

TYPE_LATEST_APPROVED

static final int TYPE_LATEST_APPROVED
See Also:
Constant Field Values
Method Detail

getAssetRenderer

AssetRenderer getAssetRenderer(long classPK)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getAssetRenderer

AssetRenderer getAssetRenderer(long classPK,
                               int type)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getAssetRenderer

AssetRenderer getAssetRenderer(long groupId,
                               String urlTitle)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

getClassName

String getClassName()

getClassNameId

long getClassNameId()

getIconPath

String getIconPath(PortletRequest portletRequest)

getPortletId

String getPortletId()

getType

String getType()

getURLAdd

PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
                     LiferayPortletResponse liferayPortletResponse)

hasPermission

boolean hasPermission(PermissionChecker permissionChecker,
                      long entryClassPK,
                      String actionId)
                      throws Exception
Throws:
Exception

isSelectable

boolean isSelectable()

setClassNameId

void setClassNameId(long classNameId)

setPortletId

void setPortletId(String portletId)

Liferay 6.0.5