Package com.liferay.asset.kernel.model
Interface AssetRendererFactory<T>
- All Known Implementing Classes:
BaseAssetRendererFactory
@ProviderType
public interface AssetRendererFactory<T>
- Author:
- Jorge Ferrer, Juan Fernández, Raymond Augé, Sergio González
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptiongetAssetEntry(long assetEntryId) getAssetEntry(String classNameId, long classPK) default AssetEntrygetAssetEntry(T entry) getAssetRenderer(long classPK) getAssetRenderer(long classPK, int type) getAssetRenderer(long groupId, String urlTitle) getAssetRenderer(T entry, int type) longdefault jakarta.portlet.PortletURLgetItemSelectorURL(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classTypeId, String eventName, Group group, boolean multiSelection, long refererAssetEntryId) getSubtypeTitle(Locale locale) getType()getTypeName(Locale locale) getTypeName(Locale locale, long subtypeId) jakarta.portlet.PortletURLgetURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classTypeId) jakarta.portlet.PortletURLgetURLView(LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState) booleanhasAddPermission(PermissionChecker permissionChecker, long groupId, long classTypeId) booleanhasPermission(PermissionChecker permissionChecker, long entryClassPK, String actionId) booleanisActive(long companyId) booleanbooleanbooleanbooleanbooleanvoidsetClassName(String className) voidsetPortletId(String portletId)
-
Field Details
-
TYPE_LATEST
static final int TYPE_LATEST- See Also:
-
TYPE_LATEST_APPROVED
static final int TYPE_LATEST_APPROVED- See Also:
-
-
Method Details
-
getAssetEntry
- Throws:
PortalException
-
getAssetEntry
- Throws:
PortalException
-
getAssetEntry
- Throws:
PortalException
-
getAssetRenderer
- Throws:
PortalException
-
getAssetRenderer
- Throws:
PortalException
-
getAssetRenderer
- Throws:
PortalException
-
getAssetRenderer
- Throws:
PortalException
-
getClassName
String getClassName() -
getClassNameId
long getClassNameId() -
getClassTypeReader
ClassTypeReader getClassTypeReader() -
getIconCssClass
String getIconCssClass() -
getItemSelectorURL
default jakarta.portlet.PortletURL getItemSelectorURL(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classTypeId, String eventName, Group group, boolean multiSelection, long refererAssetEntryId) -
getPortletId
String getPortletId() -
getSubtypeTitle
-
getType
String getType() -
getTypeName
-
getTypeName
-
getURLAdd
jakarta.portlet.PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classTypeId) throws PortalException - Throws:
PortalException
-
getURLView
jakarta.portlet.PortletURL getURLView(LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState) throws PortalException - Throws:
PortalException
-
hasAddPermission
boolean hasAddPermission(PermissionChecker permissionChecker, long groupId, long classTypeId) throws Exception - Throws:
Exception
-
hasPermission
boolean hasPermission(PermissionChecker permissionChecker, long entryClassPK, String actionId) throws Exception - Throws:
Exception
-
isActive
boolean isActive(long companyId) -
isCategorizable
boolean isCategorizable() -
isLinkable
boolean isLinkable() -
isSearchable
boolean isSearchable() -
isSelectable
boolean isSelectable() -
isSupportsClassTypes
boolean isSupportsClassTypes() -
setClassName
-
setPortletId
-