com.liferay.portal.asset
Class LayoutRevisionAssetRendererFactory

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

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

Author:
Raymond Augé

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
LayoutRevisionAssetRendererFactory()
           
 
Method Summary
 com.liferay.portlet.asset.model.AssetEntry getAssetEntry(long assetEntryId)
           
 com.liferay.portlet.asset.model.AssetEntry getAssetEntry(java.lang.String className, long classPK)
           
 com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long layoutRevisionId, int type)
           
 java.lang.String getClassName()
           
protected  java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getType()
           
 boolean isCategorizable()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getURLAdd, hasPermission, isLinkable, 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

LayoutRevisionAssetRendererFactory

public LayoutRevisionAssetRendererFactory()
Method Detail

getAssetEntry

public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(long assetEntryId)
                                                         throws com.liferay.portal.kernel.exception.PortalException,
                                                                com.liferay.portal.kernel.exception.SystemException
Specified by:
getAssetEntry in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
getAssetEntry in class com.liferay.portlet.asset.model.BaseAssetRendererFactory
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAssetEntry

public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(java.lang.String className,
                                                                long classPK)
                                                         throws com.liferay.portal.kernel.exception.PortalException,
                                                                com.liferay.portal.kernel.exception.SystemException
Specified by:
getAssetEntry in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
getAssetEntry in class com.liferay.portlet.asset.model.BaseAssetRendererFactory
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getAssetRenderer

public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long layoutRevisionId,
                                                                      int type)
                                                               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

getClassName

public java.lang.String getClassName()

getType

public java.lang.String getType()

isCategorizable

public boolean isCategorizable()
Specified by:
isCategorizable in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
isCategorizable 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