com.liferay.portlet.blogs.asset
Class BlogsEntryAssetRendererFactory

java.lang.Object
  extended by com.liferay.portlet.asset.model.BaseAssetRendererFactory
      extended by com.liferay.portlet.blogs.asset.BlogsEntryAssetRendererFactory
All Implemented Interfaces:
com.liferay.portlet.asset.model.AssetRendererFactory

public class BlogsEntryAssetRendererFactory
extends com.liferay.portlet.asset.model.BaseAssetRendererFactory

View Source

Author:
Jorge Ferrer, Juan Fernández

Field Summary
static java.lang.String CLASS_NAME
           
static java.lang.String TYPE
           
 
Constructor Summary
BlogsEntryAssetRendererFactory()
           
 
Method Summary
 com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK)
           
 com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long groupId, java.lang.String urlTitle)
           
 java.lang.String getClassName()
           
protected  java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getType()
           
 javax.portlet.PortletURL getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getClassNameId, getIconPath, getPortletId, 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

BlogsEntryAssetRendererFactory

public BlogsEntryAssetRendererFactory()
Method Detail

getAssetRenderer

public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK)
                                                               throws com.liferay.portal.kernel.exception.PortalException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAssetRenderer

public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long groupId,
                                                                      java.lang.String urlTitle)
                                                               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 com.liferay.portlet.asset.model.BaseAssetRendererFactory
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getClassName

public java.lang.String getClassName()

getType

public java.lang.String getType()

getURLAdd

public javax.portlet.PortletURL getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
                                          com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
Specified by:
getURLAdd in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
getURLAdd in class com.liferay.portlet.asset.model.BaseAssetRendererFactory

getIconPath

protected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
Overrides:
getIconPath in class com.liferay.portlet.asset.model.BaseAssetRendererFactory