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 |
---|---|
String |
getAddToPagePortletId()
Deprecated.
As of 7.0.0, with no direct replacement
|
T |
getAssetObject() |
AssetRendererFactory<T> |
getAssetRendererFactory() |
int |
getAssetRendererType() |
String[] |
getAvailableLanguageIds() |
DDMFormValuesReader |
getDDMFormValuesReader() |
String |
getDiscussionPath() |
Date |
getDisplayDate()
Deprecated.
As of 7.0.0, with no direct replacement
|
long |
getGroupId() |
String |
getNewName(String oldName,
String token) |
String |
getPreviewPath(PortletRequest portletRequest,
PortletResponse portletResponse)
Deprecated.
As of 7.0.0, with no direct replacement
|
String |
getSearchSummary(Locale locale) |
int |
getStatus() |
String |
getSummary() |
String |
getSummary(Locale locale)
Deprecated.
As of 7.0.0, replaced by
Renderer.getSummary(PortletRequest,
PortletResponse) |
String[] |
getSupportedConversions() |
String |
getThumbnailPath(PortletRequest portletRequest) |
String |
getURLDownload(ThemeDisplay themeDisplay) |
PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
WindowState windowState,
PortletURL redirectURL) |
PortletURL |
getURLExport(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
String |
getURLImagePreview(PortletRequest portletRequest) |
String |
getUrlTitle() |
String |
getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState) |
PortletURL |
getURLViewDiffs(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse) |
String |
getURLViewInContext(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
String noSuchEntryRedirect) |
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() |
void |
setAddToPagePreferences(PortletPreferences portletPreferences,
String portletId,
ThemeDisplay themeDisplay)
Deprecated.
As of 7.0.0, with no direct replacement
|
getClassName, getClassPK, getIconCssClass, getIconPath, getSummary, getTitle, include
static final String TEMPLATE_ABSTRACT
static final String TEMPLATE_FULL_CONTENT
static final String TEMPLATE_PREVIEW
@Deprecated String getAddToPagePortletId() throws Exception
Exception
T getAssetObject()
AssetRendererFactory<T> getAssetRendererFactory()
int getAssetRendererType()
String[] getAvailableLanguageIds() throws Exception
Exception
DDMFormValuesReader getDDMFormValuesReader()
String getDiscussionPath()
@Deprecated Date getDisplayDate()
long getGroupId()
String getNewName(String oldName, String token)
@Deprecated String getPreviewPath(PortletRequest portletRequest, PortletResponse portletResponse) throws Exception
Exception
String getSearchSummary(Locale locale)
int getStatus()
String getSummary()
@Deprecated String getSummary(Locale locale)
Renderer.getSummary(PortletRequest,
PortletResponse)
String[] getSupportedConversions()
String getThumbnailPath(PortletRequest portletRequest) throws Exception
Exception
String getURLDownload(ThemeDisplay themeDisplay)
PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
Exception
PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, WindowState windowState, PortletURL redirectURL) throws Exception
Exception
PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
Exception
String getURLImagePreview(PortletRequest portletRequest) throws Exception
Exception
String getUrlTitle()
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
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()
@Deprecated void setAddToPagePreferences(PortletPreferences portletPreferences, String portletId, ThemeDisplay themeDisplay) throws Exception
Exception