Liferay 7.0-ce-m3

com.liferay.portal.asset
Class LayoutAssetRendererFactory

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

public class LayoutAssetRendererFactory
extends BaseAssetRendererFactory


Field Summary
static String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory
TYPE_LATEST, TYPE_LATEST_APPROVED
 
Constructor Summary
LayoutAssetRendererFactory()
           
 
Method Summary
 AssetEntry getAssetEntry(long assetEntryId)
           
 AssetEntry getAssetEntry(String className, long classPK)
           
 AssetRenderer getAssetRenderer(long plid, int type)
           
 String getClassName()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getType()
           
 boolean isSelectable()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypeFieldName, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypeReader, getClassTypes, getControlPanelPlid, getIconCssClass, getIconPath, getPortletId, getTypeName, getTypeName, getTypeName, getURLAdd, getURLView, hasAddPermission, hasClassTypeFieldNames, hasPermission, isActive, isCategorizable, isLinkable, isListable, 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

LayoutAssetRendererFactory

public LayoutAssetRendererFactory()
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 plid,
                                      int type)
                               throws PortalException
Throws:
PortalException

getClassName

public String getClassName()

getType

public String getType()

isSelectable

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

getIconPath

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

Liferay 7.0-ce-m3