com.liferay.portlet.documentlibrary.asset
Class DLFolderAssetRendererFactory
java.lang.Object
com.liferay.portlet.asset.model.BaseAssetRendererFactory
com.liferay.portlet.documentlibrary.asset.DLFolderAssetRendererFactory
- All Implemented Interfaces:
- AssetRendererFactory
public class DLFolderAssetRendererFactory
- extends BaseAssetRendererFactory
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory |
getAssetEntry, getAssetEntry, getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypes, getControlPanelPlid, getDDMStructureFieldNames, getIconPath, getPortletId, getTypeName, getURLAdd, hasAddPermission, hasClassTypeFieldNames, isActive, isListable, isSelectable, setClassName, setPortletId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
DLFolderAssetRendererFactory
public DLFolderAssetRendererFactory()
getAssetRenderer
public AssetRenderer getAssetRenderer(long classPK,
int type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getClassName
public String getClassName()
getType
public String getType()
getURLView
public PortletURL getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState)
- Specified by:
getURLView
in interface AssetRendererFactory
- Overrides:
getURLView
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
isCategorizable
public boolean isCategorizable()
- Specified by:
isCategorizable
in interface AssetRendererFactory
- Overrides:
isCategorizable
in class BaseAssetRendererFactory
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