com.liferay.portlet.asset.model
Interface AssetRendererFactory
- All Known Implementing Classes:
- BaseAssetRendererFactory
public interface AssetRendererFactory
TYPE_LATEST
static final int TYPE_LATEST
- See Also:
- Constant Field Values
TYPE_LATEST_APPROVED
static final int TYPE_LATEST_APPROVED
- See Also:
- Constant Field Values
getAssetEntry
AssetEntry getAssetEntry(long assetEntryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetEntry
AssetEntry getAssetEntry(String classNameId,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetRenderer
AssetRenderer getAssetRenderer(long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetRenderer
AssetRenderer getAssetRenderer(long classPK,
int type)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetRenderer
AssetRenderer getAssetRenderer(long groupId,
String urlTitle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getClassName
String getClassName()
getClassNameId
long getClassNameId()
getClassTypes
Map<Long,String> getClassTypes(long[] groupIds,
Locale locale)
throws Exception
- Throws:
Exception
getIconPath
String getIconPath(PortletRequest portletRequest)
getPortletId
String getPortletId()
getType
String getType()
getURLAdd
PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasPermission
boolean hasPermission(PermissionChecker permissionChecker,
long entryClassPK,
String actionId)
throws Exception
- Throws:
Exception
isCategorizable
boolean isCategorizable()
isLinkable
boolean isLinkable()
isSelectable
boolean isSelectable()
setClassName
void setClassName(String className)
setPortletId
void setPortletId(String portletId)