@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(PortletRequest portletRequest) |
String |
getURLDownload(ThemeDisplay themeDisplay) |
default PortletURL |
getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest) |
default PortletURL |
getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest,
WindowState windowState,
PortletURL redirectURL) |
default PortletURL |
getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest,
WindowState windowState,
String redirect) |
PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
WindowState windowState,
PortletURL redirectURL) |
default PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
WindowState windowState,
String redirect) |
PortletURL |
getURLExport(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
String |
getURLImagePreview(PortletRequest portletRequest) |
String |
getUrlTitle() |
String |
getUrlTitle(Locale locale) |
String |
getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState) |
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, include
static 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
Exception
DDMFormValuesReader getDDMFormValuesReader()
default String getDefaultLanguageId() throws Exception
Exception
String getDiscussionPath()
long getGroupId()
String getNewName(String oldName, String token)
String getSearchSummary(Locale locale)
int getStatus()
String getSummary()
String[] getSupportedConversions()
String getThumbnailPath(PortletRequest portletRequest) throws Exception
Exception
String getURLDownload(ThemeDisplay themeDisplay)
default PortletURL getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest) throws Exception
Exception
default PortletURL getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest, WindowState windowState, PortletURL redirectURL) throws Exception
Exception
default PortletURL getURLEdit(javax.servlet.http.HttpServletRequest httpServletRequest, WindowState windowState, String redirect) throws Exception
Exception
PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
Exception
PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, WindowState windowState, PortletURL redirectURL) throws Exception
Exception
default PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, WindowState windowState, String redirect) throws Exception
Exception
PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
Exception
String getURLImagePreview(PortletRequest portletRequest) throws Exception
Exception
String getUrlTitle()
String getUrlTitle(Locale locale)
String getURLView(LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws Exception
Exception
PortletURL getURLViewDiffs(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
Exception
String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) throws Exception
Exception
default String getURLViewUsages(javax.servlet.http.HttpServletRequest httpServletRequest) throws Exception
Exception
long getUserId()
String getUserName()
String getUuid()
String getViewInContextMessage()
boolean hasEditPermission(PermissionChecker permissionChecker) throws PortalException
PortalException
boolean hasViewPermission(PermissionChecker permissionChecker) throws PortalException
PortalException
default boolean isCategorizable(long groupId)
boolean isCommentable()
boolean isConvertible()
boolean isDisplayable()
boolean isLocalizable()
boolean isPreviewInContext()
boolean isPrintable()
boolean isRatable()