@ProviderType
public interface AssetRendererFactory<T>
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_LATEST |
static int |
TYPE_LATEST_APPROVED |
Modifier and Type | Method and Description |
---|---|
AssetEntry |
getAssetEntry(long assetEntryId) |
AssetEntry |
getAssetEntry(String classNameId,
long classPK) |
AssetRenderer<T> |
getAssetRenderer(long classPK) |
AssetRenderer<T> |
getAssetRenderer(long classPK,
int type) |
AssetRenderer<T> |
getAssetRenderer(long groupId,
String urlTitle) |
AssetRenderer<T> |
getAssetRenderer(T entry,
int type) |
String |
getClassName() |
long |
getClassNameId() |
ClassTypeReader |
getClassTypeReader() |
String |
getIconCssClass() |
String |
getPortletId() |
String |
getSubtypeTitle(Locale locale) |
String |
getType() |
String |
getTypeName(Locale locale) |
String |
getTypeName(Locale locale,
long subtypeId) |
javax.portlet.PortletURL |
getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
long classTypeId) |
javax.portlet.PortletURL |
getURLView(LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
boolean |
hasAddPermission(PermissionChecker permissionChecker,
long groupId,
long classTypeId) |
boolean |
hasPermission(PermissionChecker permissionChecker,
long entryClassPK,
String actionId) |
boolean |
isActive(long companyId) |
boolean |
isCategorizable() |
boolean |
isLinkable() |
boolean |
isSearchable() |
boolean |
isSelectable() |
boolean |
isSupportsClassTypes() |
void |
setClassName(String className) |
void |
setPortletId(String portletId) |
static final int TYPE_LATEST
static final int TYPE_LATEST_APPROVED
AssetEntry getAssetEntry(long assetEntryId) throws PortalException
PortalException
AssetEntry getAssetEntry(String classNameId, long classPK) throws PortalException
PortalException
AssetRenderer<T> getAssetRenderer(long classPK) throws PortalException
PortalException
AssetRenderer<T> getAssetRenderer(long classPK, int type) throws PortalException
PortalException
AssetRenderer<T> getAssetRenderer(long groupId, String urlTitle) throws PortalException
PortalException
AssetRenderer<T> getAssetRenderer(T entry, int type) throws PortalException
PortalException
String getClassName()
long getClassNameId()
ClassTypeReader getClassTypeReader()
String getIconCssClass()
String getPortletId()
String getSubtypeTitle(Locale locale)
String getType()
String getTypeName(Locale locale)
String getTypeName(Locale locale, long subtypeId)
javax.portlet.PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classTypeId) throws PortalException
PortalException
javax.portlet.PortletURL getURLView(LiferayPortletResponse liferayPortletResponse, javax.portlet.WindowState windowState) throws PortalException
PortalException
boolean hasAddPermission(PermissionChecker permissionChecker, long groupId, long classTypeId) throws Exception
Exception
boolean hasPermission(PermissionChecker permissionChecker, long entryClassPK, String actionId) throws Exception
Exception
boolean isActive(long companyId)
boolean isCategorizable()
boolean isLinkable()
boolean isSearchable()
boolean isSelectable()
boolean isSupportsClassTypes()
void setClassName(String className)
void setPortletId(String portletId)