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) |
String |
getClassName() |
long |
getClassNameId() |
Tuple |
getClassTypeFieldName(long classTypeId,
String fieldName,
Locale locale)
Deprecated.
As of 7.0.0, see
com.liferay.portlet.asset.model.ClassTypeReader |
List<Tuple> |
getClassTypeFieldNames(long classTypeId,
Locale locale,
int start,
int end)
Deprecated.
As of 7.0.0, see
com.liferay.portlet.asset.model.ClassTypeReader |
int |
getClassTypeFieldNamesCount(long classTypeId,
Locale locale)
Deprecated.
As of 7.0.0, see
com.liferay.portlet.asset.model.ClassTypeReader |
ClassTypeReader |
getClassTypeReader() |
Map<Long,String> |
getClassTypes(long[] groupIds,
Locale locale)
Deprecated.
As of 7.0.0, see
com.liferay.portlet.asset.model.ClassTypeReader |
String |
getIconCssClass() |
String |
getIconPath(PortletRequest portletRequest)
Deprecated.
As of 7.0.0, 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 7.0.0, replaced by
getTypeName(Locale) |
String |
getTypeName(Locale locale,
long subtypeId) |
PortletURL |
getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
Deprecated.
As of 7.0.0, 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 7.0.0, 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
PortalExceptionAssetEntry getAssetEntry(String classNameId, long classPK) throws PortalException
PortalExceptionAssetRenderer<T> getAssetRenderer(long classPK) throws PortalException
PortalExceptionAssetRenderer<T> getAssetRenderer(long classPK, int type) throws PortalException
PortalExceptionAssetRenderer<T> getAssetRenderer(long groupId, String urlTitle) throws PortalException
PortalExceptionString getClassName()
long getClassNameId()
@Deprecated Tuple getClassTypeFieldName(long classTypeId, String fieldName, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReaderException@Deprecated List<Tuple> getClassTypeFieldNames(long classTypeId, Locale locale, int start, int end) throws Exception
com.liferay.portlet.asset.model.ClassTypeReaderException@Deprecated int getClassTypeFieldNamesCount(long classTypeId, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReaderExceptionClassTypeReader getClassTypeReader()
@Deprecated Map<Long,String> getClassTypes(long[] groupIds, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReaderExceptionString getIconCssClass()
@Deprecated String getIconPath(PortletRequest portletRequest)
String getPortletId()
String getType()
@Deprecated String getTypeName(Locale locale, boolean hasSubtypes)
getTypeName(Locale)@Deprecated PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws PortalException
getURLAdd(LiferayPortletRequest, LiferayPortletResponse,
long)PortalExceptionPortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, long classTypeId) throws PortalException
PortalExceptionPortletURL getURLView(LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws PortalException
PortalExceptionboolean hasAddPermission(PermissionChecker permissionChecker, long groupId, long classTypeId) throws Exception
Exception@Deprecated boolean hasClassTypeFieldNames(long classTypeId, Locale locale) throws Exception
com.liferay.portlet.asset.model.ClassTypeReaderExceptionboolean hasPermission(PermissionChecker permissionChecker, long entryClassPK, String actionId) throws Exception
Exceptionboolean isActive(long companyId)
boolean isCategorizable()
boolean isLinkable()
boolean isSearchable()
boolean isSelectable()
boolean isSupportsClassTypes()
void setClassName(String className)
void setPortletId(String portletId)