com.liferay.portlet.messageboards.asset
Class MBMessageAssetRendererFactory
java.lang.Object
com.liferay.portlet.asset.model.BaseAssetRendererFactory
com.liferay.portlet.messageboards.asset.MBMessageAssetRendererFactory
- All Implemented Interfaces:
- AssetRendererFactory
- Direct Known Subclasses:
- MBDiscussionAssetRendererFactory
public class MBMessageAssetRendererFactory
- extends BaseAssetRendererFactory
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
MBMessageAssetRendererFactory
public MBMessageAssetRendererFactory()
getAssetRenderer
public AssetRenderer getAssetRenderer(long classPK,
int type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getClassName
public String getClassName()
getType
public String getType()
getURLAdd
public PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
- Specified by:
getURLAdd
in interface AssetRendererFactory
- Overrides:
getURLAdd
in class BaseAssetRendererFactory
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
getIconPath
protected String getIconPath(ThemeDisplay themeDisplay)
- Overrides:
getIconPath
in class BaseAssetRendererFactory