public class JournalArticleAssetRendererFactory
extends com.liferay.portlet.asset.model.BaseAssetRendererFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
JournalArticleAssetRendererFactory() |
| 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() |
java.util.List<com.liferay.portal.kernel.util.Tuple> |
getClassTypeFieldNames(long classTypeId,
java.util.Locale locale,
int start,
int end) |
int |
getClassTypeFieldNamesCount(long classTypeId,
java.util.Locale locale) |
java.util.Map<java.lang.Long,java.lang.String> |
getClassTypes(long[] groupIds,
java.util.Locale locale) |
protected java.lang.String |
getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay) |
java.lang.String |
getType() |
java.lang.String |
getTypeName(java.util.Locale locale,
boolean hasSubtypes) |
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() |
boolean |
isListable(long classPK) |
getAssetEntry, getAssetEntry, getAssetRenderer, getClassNameId, getControlPanelPlid, getDDMStructureFieldNames, getIconPath, getPortletId, hasClassTypeFieldNames, isActive, isCategorizable, 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.util.List<com.liferay.portal.kernel.util.Tuple> getClassTypeFieldNames(long classTypeId,
java.util.Locale locale,
int start,
int end)
throws java.lang.Exception
getClassTypeFieldNames in interface com.liferay.portlet.asset.model.AssetRendererFactorygetClassTypeFieldNames in class com.liferay.portlet.asset.model.BaseAssetRendererFactoryjava.lang.Exceptionpublic int getClassTypeFieldNamesCount(long classTypeId,
java.util.Locale locale)
throws java.lang.Exception
getClassTypeFieldNamesCount in interface com.liferay.portlet.asset.model.AssetRendererFactorygetClassTypeFieldNamesCount in class com.liferay.portlet.asset.model.BaseAssetRendererFactoryjava.lang.Exceptionpublic java.util.Map<java.lang.Long,java.lang.String> getClassTypes(long[] groupIds,
java.util.Locale locale)
throws java.lang.Exception
getClassTypes in interface com.liferay.portlet.asset.model.AssetRendererFactorygetClassTypes in class com.liferay.portlet.asset.model.BaseAssetRendererFactoryjava.lang.Exceptionpublic java.lang.String getType()
public java.lang.String getTypeName(java.util.Locale locale,
boolean hasSubtypes)
getTypeName in interface com.liferay.portlet.asset.model.AssetRendererFactorygetTypeName in class com.liferay.portlet.asset.model.BaseAssetRendererFactorypublic 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.BaseAssetRendererFactorypublic boolean isListable(long classPK)
throws com.liferay.portal.kernel.exception.SystemException
isListable in interface com.liferay.portlet.asset.model.AssetRendererFactoryisListable in class com.liferay.portlet.asset.model.BaseAssetRendererFactorycom.liferay.portal.kernel.exception.SystemExceptionprotected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
getIconPath in class com.liferay.portlet.asset.model.BaseAssetRendererFactory