com.liferay.portlet.journal.asset
Class JournalArticleAssetRendererFactory
java.lang.Object
com.liferay.portlet.asset.model.BaseAssetRendererFactory
com.liferay.portlet.journal.asset.JournalArticleAssetRendererFactory
- All Implemented Interfaces:
- AssetRendererFactory
public class JournalArticleAssetRendererFactory
- extends BaseAssetRendererFactory
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory |
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getControlPanelPlid, getIconPath, getPortletId, isCategorizable, isSelectable, setClassName, setPortletId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAME
public static final String CLASS_NAME
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
JournalArticleAssetRendererFactory
public JournalArticleAssetRendererFactory()
getAssetRenderer
public AssetRenderer getAssetRenderer(long classPK,
int type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetRenderer
public AssetRenderer getAssetRenderer(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Specified by:
getAssetRenderer
in interface AssetRendererFactory
- Overrides:
getAssetRenderer
in class BaseAssetRendererFactory
- Throws:
PortalException
SystemException
getClassName
public String getClassName()
getClassTypes
public Map<Long,String> getClassTypes(long[] groupIds,
Locale locale)
throws Exception
- Specified by:
getClassTypes
in interface AssetRendererFactory
- Overrides:
getClassTypes
in class BaseAssetRendererFactory
- Throws:
Exception
getType
public String getType()
getURLAdd
public PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
throws PortalException,
SystemException
- Specified by:
getURLAdd
in interface AssetRendererFactory
- Overrides:
getURLAdd
in class BaseAssetRendererFactory
- Throws:
PortalException
SystemException
hasPermission
public boolean hasPermission(PermissionChecker permissionChecker,
long classPK,
String actionId)
throws Exception
- Specified by:
hasPermission
in interface AssetRendererFactory
- Overrides:
hasPermission
in class BaseAssetRendererFactory
- Throws:
Exception
isLinkable
public boolean isLinkable()
- Specified by:
isLinkable
in interface AssetRendererFactory
- Overrides:
isLinkable
in class BaseAssetRendererFactory
getIconPath
protected String getIconPath(ThemeDisplay themeDisplay)
- Overrides:
getIconPath
in class BaseAssetRendererFactory