public class BlogsEntryAssetRendererFactory
extends com.liferay.portlet.asset.model.BaseAssetRendererFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
BlogsEntryAssetRendererFactory() |
| Modifier and Type | Method and Description |
|---|---|
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) |
javax.portlet.PortletURL |
getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
boolean |
hasAddPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long groupId,
long classTypeId) |
boolean |
hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId) |
boolean |
isLinkable() |
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypes, getControlPanelPlid, getDDMStructureFieldNames, getIconPath, getPortletId, getTypeName, hasClassTypeFieldNames, isActive, isCategorizable, isListable, isSelectable, setClassName, setPortletIdpublic static final java.lang.String TYPE
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
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic 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
getAssetRenderer in interface com.liferay.portlet.asset.model.AssetRendererFactorygetAssetRenderer in class com.liferay.portlet.asset.model.BaseAssetRendererFactorycom.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getClassName()
public java.lang.String getType()
public javax.portlet.PortletURL getURLAdd(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
getURLAdd in interface com.liferay.portlet.asset.model.AssetRendererFactorygetURLAdd in class com.liferay.portlet.asset.model.BaseAssetRendererFactorypublic javax.portlet.PortletURL getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
getURLView in interface com.liferay.portlet.asset.model.AssetRendererFactorygetURLView in class com.liferay.portlet.asset.model.BaseAssetRendererFactorypublic boolean hasAddPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long groupId,
long classTypeId)
throws java.lang.Exception
hasAddPermission in interface com.liferay.portlet.asset.model.AssetRendererFactoryhasAddPermission in class com.liferay.portlet.asset.model.BaseAssetRendererFactoryjava.lang.Exceptionpublic boolean hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
throws java.lang.Exception
hasPermission in interface com.liferay.portlet.asset.model.AssetRendererFactoryhasPermission in class com.liferay.portlet.asset.model.BaseAssetRendererFactoryjava.lang.Exceptionpublic boolean isLinkable()
isLinkable in interface com.liferay.portlet.asset.model.AssetRendererFactoryisLinkable in class com.liferay.portlet.asset.model.BaseAssetRendererFactoryprotected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
getIconPath in class com.liferay.portlet.asset.model.BaseAssetRendererFactory