Liferay 6.1.2-ce-ga3

com.liferay.portlet.messageboards.asset
Class MBMessageAssetRendererFactory

java.lang.Object
  extended by com.liferay.portlet.asset.model.BaseAssetRendererFactory
      extended by com.liferay.portlet.messageboards.asset.MBMessageAssetRendererFactory
All Implemented Interfaces:
AssetRendererFactory
Direct Known Subclasses:
MBDiscussionAssetRendererFactory

public class MBMessageAssetRendererFactory
extends BaseAssetRendererFactory


Field Summary
static String CLASS_NAME
           
static String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory
TYPE_LATEST, TYPE_LATEST_APPROVED
 
Constructor Summary
MBMessageAssetRendererFactory()
           
 
Method Summary
 AssetRenderer getAssetRenderer(long classPK, int type)
           
 String getClassName()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getType()
           
 boolean hasPermission(PermissionChecker permissionChecker, long classPK, String actionId)
           
 boolean isCategorizable()
           
 boolean isLinkable()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetEntry, getAssetEntry, getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getURLAdd, isSelectable, setClassName, setPortletId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final String CLASS_NAME

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

MBMessageAssetRendererFactory

public MBMessageAssetRendererFactory()
Method Detail

getAssetRenderer

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

getClassName

public String getClassName()

getType

public String getType()

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

isCategorizable

public boolean isCategorizable()
Specified by:
isCategorizable in interface AssetRendererFactory
Overrides:
isCategorizable in class BaseAssetRendererFactory

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

Liferay 6.1.2-ce-ga3