@ProviderType public interface AssetRenderer<T> extends Renderer
| Modifier and Type | Field and Description |
|---|---|
static String |
TEMPLATE_ABSTRACT |
static String |
TEMPLATE_FULL_CONTENT |
static String |
TEMPLATE_PREVIEW |
| Modifier and Type | Method and Description |
|---|---|
T |
getAssetObject() |
default T |
getAssetObject(long versionClassPK) |
AssetRendererFactory<T> |
getAssetRendererFactory() |
int |
getAssetRendererType() |
String[] |
getAvailableLanguageIds() |
DDMFormValuesReader |
getDDMFormValuesReader() |
default String |
getDefaultLanguageId() |
String |
getDiscussionPath() |
long |
getGroupId() |
String |
getNewName(String oldName,
String token) |
String |
getSearchSummary(Locale locale) |
int |
getStatus() |
String |
getSummary() |
String[] |
getSupportedConversions() |
String |
getThumbnailPath(javax.portlet.PortletRequest portletRequest) |
String |
getURLDownload(ThemeDisplay themeDisplay) |
default javax.portlet.PortletURL |
getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest) |
default javax.portlet.PortletURL |
getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.portlet.WindowState windowState,
javax.portlet.PortletURL redirectURL) |
default javax.portlet.PortletURL |
getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.portlet.WindowState windowState,
String redirect) |
javax.portlet.PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
javax.portlet.PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState,
javax.portlet.PortletURL redirectURL) |
default javax.portlet.PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState,
String redirect) |
javax.portlet.PortletURL |
getURLExport(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
String |
getURLImagePreview(javax.portlet.PortletRequest portletRequest) |
String |
getUrlTitle() |
String |
getUrlTitle(Locale locale) |
String |
getURLView(LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
javax.portlet.PortletURL |
getURLViewDiffs(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
String |
getURLViewInContext(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
String noSuchEntryRedirect) |
default String |
getURLViewUsages(javax.servlet.http.HttpServletRequest httpServletRequest) |
long |
getUserId() |
String |
getUserName() |
String |
getUuid() |
String |
getViewInContextMessage() |
boolean |
hasEditPermission(PermissionChecker permissionChecker) |
boolean |
hasViewPermission(PermissionChecker permissionChecker) |
default boolean |
isCategorizable(long groupId) |
boolean |
isCommentable() |
boolean |
isConvertible() |
boolean |
isDisplayable() |
boolean |
isLocalizable() |
boolean |
isPreviewInContext() |
boolean |
isPrintable() |
boolean |
isRatable() |
getClassName, getClassPK, getIconCssClass, getSummary, getTitle, includestatic final String TEMPLATE_ABSTRACT
static final String TEMPLATE_FULL_CONTENT
static final String TEMPLATE_PREVIEW
T getAssetObject()
default T getAssetObject(long versionClassPK)
AssetRendererFactory<T> getAssetRendererFactory()
int getAssetRendererType()
String[] getAvailableLanguageIds()
throws Exception
ExceptionDDMFormValuesReader getDDMFormValuesReader()
default String getDefaultLanguageId()
throws Exception
ExceptionString getDiscussionPath()
long getGroupId()
String getNewName(String oldName,
String token)
String getSearchSummary(Locale locale)
int getStatus()
String getSummary()
String[] getSupportedConversions()
String getThumbnailPath(javax.portlet.PortletRequest portletRequest)
throws Exception
ExceptionString getURLDownload(ThemeDisplay themeDisplay)
default javax.portlet.PortletURL getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest)
throws Exception
Exceptiondefault javax.portlet.PortletURL getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.portlet.WindowState windowState,
javax.portlet.PortletURL redirectURL)
throws Exception
Exceptiondefault javax.portlet.PortletURL getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.portlet.WindowState windowState,
String redirect)
throws Exception
Exceptionjavax.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
Exceptionjavax.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, javax.portlet.WindowState windowState, javax.portlet.PortletURL redirectURL) throws Exception
Exceptiondefault javax.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, javax.portlet.WindowState windowState, String redirect) throws Exception
Exceptionjavax.portlet.PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
ExceptionString getURLImagePreview(javax.portlet.PortletRequest portletRequest)
throws Exception
ExceptionString getUrlTitle()
String getUrlTitle(Locale locale)
String getURLView(LiferayPortletResponse liferayPortletResponse, javax.portlet.WindowState windowState) throws Exception
Exceptionjavax.portlet.PortletURL getURLViewDiffs(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
ExceptionString getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) throws Exception
Exceptiondefault String getURLViewUsages(javax.servlet.http.HttpServletRequest httpServletRequest)
throws Exception
Exceptionlong getUserId()
String getUserName()
String getUuid()
String getViewInContextMessage()
boolean hasEditPermission(PermissionChecker permissionChecker) throws PortalException
PortalExceptionboolean hasViewPermission(PermissionChecker permissionChecker) throws PortalException
PortalExceptiondefault boolean isCategorizable(long groupId)
boolean isCommentable()
boolean isConvertible()
boolean isDisplayable()
boolean isLocalizable()
boolean isPreviewInContext()
boolean isPrintable()
boolean isRatable()