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, DDLRecordAssetRendererFactory, DLFileEntryAssetRendererFactory, JournalArticleAssetRendererFactory, LayoutRevisionAssetRendererFactory, MBCategoryAssetRendererFactory, MBMessageAssetRendererFactory, UserAssetRendererFactory, 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()
getAssetEntry
public AssetEntry getAssetEntry(long assetEntryId)
throws PortalException,
SystemException
- Specified by:
getAssetEntry in interface AssetRendererFactory
- Throws:
PortalException
SystemException
getAssetEntry
public AssetEntry getAssetEntry(String className,
long classPK)
throws PortalException,
SystemException
- Specified by:
getAssetEntry in interface AssetRendererFactory
- Throws:
PortalException
SystemException
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
getClassTypes
public Map<Long,String> getClassTypes(long[] groupId,
Locale locale)
throws Exception
- Specified by:
getClassTypes in interface AssetRendererFactory
- Throws:
Exception
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)
throws PortalException,
SystemException
- Specified by:
getURLAdd in interface AssetRendererFactory
- Throws:
PortalException
SystemException
hasPermission
public boolean hasPermission(PermissionChecker permissionChecker,
long classPK,
String actionId)
throws Exception
- Specified by:
hasPermission in interface AssetRendererFactory
- Throws:
Exception
isCategorizable
public boolean isCategorizable()
- Specified by:
isCategorizable in interface AssetRendererFactory
isLinkable
public boolean isLinkable()
- Specified by:
isLinkable in interface AssetRendererFactory
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
getControlPanelPlid
protected long getControlPanelPlid(ThemeDisplay themeDisplay)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getIconPath
protected String getIconPath(ThemeDisplay themeDisplay)