Liferay 7.0-ce-m3

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:
AssetRendererFactory

public class LayoutRevisionAssetRendererFactory
extends BaseAssetRendererFactory


Field Summary
static String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory
TYPE_LATEST, TYPE_LATEST_APPROVED
 
Constructor Summary
LayoutRevisionAssetRendererFactory()
           
 
Method Summary
 AssetEntry getAssetEntry(long assetEntryId)
           
 AssetEntry getAssetEntry(String className, long classPK)
           
 AssetRenderer getAssetRenderer(long layoutRevisionId, int type)
           
 String getClassName()
           
 String getIconCssClass()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getType()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypeFieldName, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypeReader, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getTypeName, getTypeName, getTypeName, getURLAdd, getURLView, hasAddPermission, hasClassTypeFieldNames, hasPermission, isActive, isCategorizable, isLinkable, isListable, isSelectable, isSupportsClassTypes, setCategorizable, setClassName, setLinkable, setPortletId, setSelectable, setSupportsClassTypes, toTuple
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

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

LayoutRevisionAssetRendererFactory

public LayoutRevisionAssetRendererFactory()
Method Detail

getAssetEntry

public AssetEntry getAssetEntry(long assetEntryId)
                         throws PortalException
Specified by:
getAssetEntry in interface AssetRendererFactory
Overrides:
getAssetEntry in class BaseAssetRendererFactory
Throws:
PortalException

getAssetEntry

public AssetEntry getAssetEntry(String className,
                                long classPK)
                         throws PortalException
Specified by:
getAssetEntry in interface AssetRendererFactory
Overrides:
getAssetEntry in class BaseAssetRendererFactory
Throws:
PortalException

getAssetRenderer

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

getClassName

public String getClassName()

getIconCssClass

public String getIconCssClass()
Specified by:
getIconCssClass in interface AssetRendererFactory
Overrides:
getIconCssClass in class BaseAssetRendererFactory

getType

public String getType()

getIconPath

protected String getIconPath(ThemeDisplay themeDisplay)
Overrides:
getIconPath in class BaseAssetRendererFactory

Liferay 7.0-ce-m3