com.liferay.portlet.asset.model
Class BaseAssetRendererFactory
java.lang.Object
com.liferay.portlet.asset.model.BaseAssetRendererFactory
- All Implemented Interfaces:
- AssetRendererFactory
- Direct Known Subclasses:
- BlogsEntryAssetRendererFactory, BookmarksEntryAssetRendererFactory, CalEventAssetRendererFactory, DLFileEntryAssetRendererFactory, IGImageAssetRendererFactory, JournalArticleAssetRendererFactory, MBMessageAssetRendererFactory, WikiPageAssetRendererFactory
public abstract class BaseAssetRendererFactory
- extends Object
- implements AssetRendererFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseAssetRendererFactory
public BaseAssetRendererFactory()
getAssetRenderer
public AssetRenderer getAssetRenderer(long classPK)
throws PortalException,
SystemException
- Specified by:
getAssetRenderer
in interface AssetRendererFactory
- Throws:
PortalException
SystemException
getAssetRenderer
public AssetRenderer getAssetRenderer(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Specified by:
getAssetRenderer
in interface AssetRendererFactory
- Throws:
PortalException
SystemException
getClassNameId
public long getClassNameId()
- Specified by:
getClassNameId
in interface AssetRendererFactory
getIconPath
public String getIconPath(PortletRequest portletRequest)
- Specified by:
getIconPath
in interface AssetRendererFactory
getPortletId
public String getPortletId()
- Specified by:
getPortletId
in interface AssetRendererFactory
getURLAdd
public PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
- Specified by:
getURLAdd
in interface AssetRendererFactory
hasPermission
public boolean hasPermission(PermissionChecker permissionChecker,
long classPK,
String actionId)
throws Exception
- Specified by:
hasPermission
in interface AssetRendererFactory
- Throws:
Exception
isSelectable
public boolean isSelectable()
- Specified by:
isSelectable
in interface AssetRendererFactory
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId
in interface AssetRendererFactory
setPortletId
public void setPortletId(String portletId)
- Specified by:
setPortletId
in interface AssetRendererFactory
getIconPath
protected String getIconPath(ThemeDisplay themeDisplay)