Liferay 7.0-ce-m6

com.liferay.portlet.directory.asset
Class UserAssetRendererFactory

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

public class UserAssetRendererFactory
extends BaseAssetRendererFactory


Field Summary
static String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory
TYPE_LATEST, TYPE_LATEST_APPROVED
 
Constructor Summary
UserAssetRendererFactory()
           
 
Method Summary
 AssetRenderer getAssetRenderer(long classPK, int type)
           
 AssetRenderer getAssetRenderer(long groupId, String urlTitle)
           
 String getClassName()
           
 String getIconCssClass()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getType()
           
 boolean hasPermission(PermissionChecker permissionChecker, long classPK, String actionId)
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getClassTypeFieldName, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypeReader, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getTypeName, getTypeName, getTypeName, getURLAdd, getURLAdd, getURLView, hasAddPermission, hasClassTypeFieldNames, 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

UserAssetRendererFactory

public UserAssetRendererFactory()
Method Detail

getAssetRenderer

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

getAssetRenderer

public AssetRenderer getAssetRenderer(long groupId,
                                      String urlTitle)
                               throws PortalException
Specified by:
getAssetRenderer in interface AssetRendererFactory
Overrides:
getAssetRenderer in class BaseAssetRendererFactory
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()

hasPermission

public boolean hasPermission(PermissionChecker permissionChecker,
                             long classPK,
                             String actionId)
                      throws Exception
Specified by:
hasPermission in interface AssetRendererFactory
Overrides:
hasPermission in class BaseAssetRendererFactory
Throws:
Exception

getIconPath

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

Liferay 7.0-ce-m6