com.liferay.portlet.asset.model
Interface AssetRendererFactory
- All Known Implementing Classes:
- BaseAssetRendererFactory
public interface AssetRendererFactory
- Author:
- Jorge Ferrer, Juan Fernández, Raymond Augé, Sergio González
|
Method Summary |
AssetEntry |
getAssetEntry(long assetEntryId)
|
AssetEntry |
getAssetEntry(java.lang.String classNameId,
long classPK)
|
AssetRenderer |
getAssetRenderer(long classPK)
|
AssetRenderer |
getAssetRenderer(long classPK,
int type)
|
AssetRenderer |
getAssetRenderer(long groupId,
java.lang.String urlTitle)
|
java.lang.String |
getClassName()
|
long |
getClassNameId()
|
java.util.List<Tuple> |
getClassTypeFieldNames(long classTypeId,
java.util.Locale locale,
int start,
int end)
|
int |
getClassTypeFieldNamesCount(long classTypeId,
java.util.Locale locale)
|
java.util.Map<java.lang.Long,java.lang.String> |
getClassTypes(long[] groupIds,
java.util.Locale locale)
|
java.lang.String |
getIconPath(javax.portlet.PortletRequest portletRequest)
|
java.lang.String |
getPortletId()
|
java.lang.String |
getType()
|
java.lang.String |
getTypeName(java.util.Locale locale,
boolean hasSubtypes)
|
javax.portlet.PortletURL |
getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
|
javax.portlet.PortletURL |
getURLView(LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
|
boolean |
hasClassTypeFieldNames(long classTypeId,
java.util.Locale locale)
|
boolean |
hasPermission(PermissionChecker permissionChecker,
long entryClassPK,
java.lang.String actionId)
|
boolean |
isActive(long companyId)
|
boolean |
isCategorizable()
|
boolean |
isLinkable()
|
boolean |
isSelectable()
|
void |
setClassName(java.lang.String className)
|
void |
setPortletId(java.lang.String portletId)
|
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(java.lang.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,
java.lang.String urlTitle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getClassName
java.lang.String getClassName()
getClassNameId
long getClassNameId()
getClassTypeFieldNames
java.util.List<Tuple> getClassTypeFieldNames(long classTypeId,
java.util.Locale locale,
int start,
int end)
throws java.lang.Exception
- Throws:
java.lang.Exception
getClassTypeFieldNamesCount
int getClassTypeFieldNamesCount(long classTypeId,
java.util.Locale locale)
throws java.lang.Exception
- Throws:
java.lang.Exception
getClassTypes
java.util.Map<java.lang.Long,java.lang.String> getClassTypes(long[] groupIds,
java.util.Locale locale)
throws java.lang.Exception
- Throws:
java.lang.Exception
getIconPath
java.lang.String getIconPath(javax.portlet.PortletRequest portletRequest)
getPortletId
java.lang.String getPortletId()
getType
java.lang.String getType()
getTypeName
java.lang.String getTypeName(java.util.Locale locale,
boolean hasSubtypes)
getURLAdd
javax.portlet.PortletURL getURLAdd(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getURLView
javax.portlet.PortletURL getURLView(LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasClassTypeFieldNames
boolean hasClassTypeFieldNames(long classTypeId,
java.util.Locale locale)
throws java.lang.Exception
- Throws:
java.lang.Exception
hasPermission
boolean hasPermission(PermissionChecker permissionChecker,
long entryClassPK,
java.lang.String actionId)
throws java.lang.Exception
- Throws:
java.lang.Exception
isActive
boolean isActive(long companyId)
isCategorizable
boolean isCategorizable()
isLinkable
boolean isLinkable()
isSelectable
boolean isSelectable()
setClassName
void setClassName(java.lang.String className)
setPortletId
void setPortletId(java.lang.String portletId)