Liferay 6.1.2-ce-ga3

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 CLASS_NAME
           
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()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getType()
           
 boolean isCategorizable()
           
 boolean isSelectable()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getURLAdd, hasPermission, isLinkable, setClassName, 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 String CLASS_NAME

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,
                                SystemException
Specified by:
getAssetEntry in interface AssetRendererFactory
Overrides:
getAssetEntry in class BaseAssetRendererFactory
Throws:
PortalException
SystemException

getAssetEntry

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

getAssetRenderer

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

getClassName

public String getClassName()

getType

public String getType()

isCategorizable

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

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 6.1.2-ce-ga3