@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() |
Tuple |
getClassTypeFieldName(long classTypeId,
String fieldName,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), see
com.liferay.portlet.asset.model.ClassTypeReader |
List<Tuple> |
getClassTypeFieldNames(long classTypeId,
Locale locale,
int start,
int end)
Deprecated.
As of Wilberforce (7.0.x), see
com.liferay.portlet.asset.model.ClassTypeReader |
int |
getClassTypeFieldNamesCount(long classTypeId,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), see
com.liferay.portlet.asset.model.ClassTypeReader |
ClassTypeReader |
getClassTypeReader() |
Map<Long,String> |
getClassTypes(long[] groupIds,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), see
com.liferay.portlet.asset.model.ClassTypeReader |
String |
getIconCssClass() |
String |
getIconPath(PortletRequest portletRequest)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
String |
getPortletId() |
String |
getSubtypeTitle(Locale locale) |
String |
getType() |
String |
getTypeName(Locale locale) |
String |
getTypeName(Locale locale,
boolean hasSubtypes)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getTypeName(Locale) |
String |
getTypeName(Locale locale,
long subtypeId) |
PortletURL |
getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
Deprecated.
As of Wilberforce (7.0.x), replaced by
getURLAdd(LiferayPortletRequest, LiferayPortletResponse,
long) |
PortletURL |
getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
long classTypeId) |
PortletURL |
getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState) |
boolean |
hasAddPermission(PermissionChecker permissionChecker,
long groupId,
long classTypeId) |
boolean |
hasClassTypeFieldNames(long classTypeId,
Locale locale)
Deprecated.
As of Wilberforce (7.0.x), see
com.liferay.portlet.asset.model.ClassTypeReader |
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()
@Deprecated Tuple getClassTypeFieldName(long classTypeId, String fieldName, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReader
Exception
@Deprecated List<Tuple> getClassTypeFieldNames(long classTypeId, Locale locale, int start, int end) throws Exception
com.liferay.portlet.asset.model.ClassTypeReader
Exception
@Deprecated int getClassTypeFieldNamesCount(long classTypeId, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReader
Exception
ClassTypeReader getClassTypeReader()
@Deprecated Map<Long,String> getClassTypes(long[] groupIds, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReader
Exception
String getIconCssClass()
@Deprecated String getIconPath(PortletRequest portletRequest)
String getPortletId()
String getSubtypeTitle(Locale locale)
String getType()
String getTypeName(Locale locale)
@Deprecated String getTypeName(Locale locale, boolean hasSubtypes)
getTypeName(Locale)
String getTypeName(Locale locale, long subtypeId)
@Deprecated PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws PortalException
getURLAdd(LiferayPortletRequest, LiferayPortletResponse,
long)
PortalException
PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classTypeId) throws PortalException
PortalException
PortletURL getURLView(LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws PortalException
PortalException
boolean hasAddPermission(PermissionChecker permissionChecker, long groupId, long classTypeId) throws Exception
Exception
@Deprecated boolean hasClassTypeFieldNames(long classTypeId, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReader
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)