Liferay 6.2-ce-ga5

com.liferay.portlet.bookmarks.asset
Class BookmarksEntryAssetRendererFactory

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

public class BookmarksEntryAssetRendererFactory
extends BaseAssetRendererFactory


Field Summary
static String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory
TYPE_LATEST, TYPE_LATEST_APPROVED
 
Constructor Summary
BookmarksEntryAssetRendererFactory()
           
 
Method Summary
 AssetRenderer getAssetRenderer(long classPK, int type)
           
 String getClassName()
           
protected  String getIconPath(ThemeDisplay themeDisplay)
           
 String getType()
           
 PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
 PortletURL getURLView(LiferayPortletResponse liferayPortletResponse, WindowState windowState)
           
 boolean hasAddPermission(PermissionChecker permissionChecker, long groupId, long classTypeId)
           
 boolean hasPermission(PermissionChecker permissionChecker, long classPK, String actionId)
           
 boolean isLinkable()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetEntry, getAssetEntry, getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypes, getControlPanelPlid, getDDMStructureFieldNames, getIconPath, getPortletId, getTypeName, hasClassTypeFieldNames, isActive, isCategorizable, isListable, isSelectable, setClassName, setPortletId
 
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

BookmarksEntryAssetRendererFactory

public BookmarksEntryAssetRendererFactory()
Method Detail

getAssetRenderer

public AssetRenderer getAssetRenderer(long classPK,
                                      int type)
                               throws PortalException,
                                      SystemException
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

getURLView

public PortletURL getURLView(LiferayPortletResponse liferayPortletResponse,
                             WindowState windowState)
Specified by:
getURLView in interface AssetRendererFactory
Overrides:
getURLView in class BaseAssetRendererFactory

hasAddPermission

public boolean hasAddPermission(PermissionChecker permissionChecker,
                                long groupId,
                                long classTypeId)
                         throws Exception
Specified by:
hasAddPermission in interface AssetRendererFactory
Overrides:
hasAddPermission in class BaseAssetRendererFactory
Throws:
Exception

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

isLinkable

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

getIconPath

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

Liferay 6.2-ce-ga5