Liferay 6.1.2-ce-ga3

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 CLASS_NAME
           
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()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getType()
           
 PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 boolean hasPermission(PermissionChecker permissionChecker, long classPK, String actionId)
           
 boolean isSelectable()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, isCategorizable, 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

UserAssetRendererFactory

public UserAssetRendererFactory()
Method Detail

getAssetRenderer

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

getAssetRenderer

public AssetRenderer getAssetRenderer(long groupId,
                                      String urlTitle)
                               throws PortalException,
                                      SystemException
Specified by:
getAssetRenderer in interface AssetRendererFactory
Overrides:
getAssetRenderer in class BaseAssetRendererFactory
Throws:
PortalException
SystemException

getClassName

public String getClassName()

getType

public String getType()

getURLAdd

public PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
                            LiferayPortletResponse liferayPortletResponse)
Specified by:
getURLAdd in interface AssetRendererFactory
Overrides:
getURLAdd in class BaseAssetRendererFactory

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

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