com.liferay.portlet.directory.asset
Class UserAssetRendererFactory
java.lang.Object
com.liferay.portlet.asset.model.BaseAssetRendererFactory
com.liferay.portlet.directory.asset.UserAssetRendererFactory
- All Implemented Interfaces:
- com.liferay.portlet.asset.model.AssetRendererFactory
public class UserAssetRendererFactory
- extends com.liferay.portlet.asset.model.BaseAssetRendererFactory
- Author:
- Michael C. Han
|
Field Summary |
static java.lang.String |
CLASS_NAME
|
static java.lang.String |
TYPE
|
| Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory |
TYPE_LATEST, TYPE_LATEST_APPROVED |
|
Method Summary |
com.liferay.portlet.asset.model.AssetRenderer |
getAssetRenderer(long classPK,
int type)
|
com.liferay.portlet.asset.model.AssetRenderer |
getAssetRenderer(long groupId,
java.lang.String urlTitle)
|
java.lang.String |
getClassName()
|
protected java.lang.String |
getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
|
java.lang.String |
getType()
|
javax.portlet.PortletURL |
getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
|
boolean |
hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
|
| Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory |
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, isCategorizable, isLinkable, isSelectable, setClassNameId, setPortletId |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAME
public static final java.lang.String CLASS_NAME
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
UserAssetRendererFactory
public UserAssetRendererFactory()
getAssetRenderer
public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK,
int type)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getAssetRenderer
public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long groupId,
java.lang.String urlTitle)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getAssetRenderer in interface com.liferay.portlet.asset.model.AssetRendererFactory- Overrides:
getAssetRenderer in class com.liferay.portlet.asset.model.BaseAssetRendererFactory
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getClassName
public java.lang.String getClassName()
getType
public java.lang.String getType()
getURLAdd
public javax.portlet.PortletURL getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
- Specified by:
getURLAdd in interface com.liferay.portlet.asset.model.AssetRendererFactory- Overrides:
getURLAdd in class com.liferay.portlet.asset.model.BaseAssetRendererFactory
hasPermission
public boolean hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
throws java.lang.Exception
- Specified by:
hasPermission in interface com.liferay.portlet.asset.model.AssetRendererFactory- Overrides:
hasPermission in class com.liferay.portlet.asset.model.BaseAssetRendererFactory
- Throws:
java.lang.Exception
getIconPath
protected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
- Overrides:
getIconPath in class com.liferay.portlet.asset.model.BaseAssetRendererFactory