com.liferay.portlet.messageboards.asset
Class MBDiscussionAssetRendererFactory

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

public class MBDiscussionAssetRendererFactory
extends MBMessageAssetRendererFactory

Author:
Jorge Ferrer

Field Summary
static java.lang.String CLASS_NAME
           
static java.lang.String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory
TYPE_LATEST, TYPE_LATEST_APPROVED
 
Constructor Summary
MBDiscussionAssetRendererFactory()
           
 
Method Summary
 com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK, int type)
           
 java.lang.String getClassName()
           
 java.lang.String getType()
           
 
Methods inherited from class com.liferay.portlet.messageboards.asset.MBMessageAssetRendererFactory
getIconPath, hasPermission, isCategorizable, isLinkable
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetEntry, getAssetEntry, getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getURLAdd, isSelectable, setClassNameId, 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 java.lang.String CLASS_NAME

TYPE

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

MBDiscussionAssetRendererFactory

public MBDiscussionAssetRendererFactory()
Method Detail

getAssetRenderer

public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK,
                                                                      int type)
                                                               throws com.liferay.portal.kernel.exception.PortalException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Specified by:
getAssetRenderer in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
getAssetRenderer in class MBMessageAssetRendererFactory
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
getClassName in class MBMessageAssetRendererFactory

getType

public java.lang.String getType()
Specified by:
getType in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
getType in class MBMessageAssetRendererFactory