Package com.liferay.asset.kernel.model
Interface AssetRenderer<T>
- All Superinterfaces:
Renderer
- All Known Implementing Classes:
BaseAssetRenderer,BaseJSPAssetRenderer
- Author:
- Jorge Ferrer, Juan Fernández
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault TgetAssetObject(long versionClassPK) intString[]default StringlonggetNewName(String oldName, String token) getSearchSummary(Locale locale) intString[]getThumbnailPath(jakarta.portlet.PortletRequest portletRequest) getURLDownload(ThemeDisplay themeDisplay) jakarta.portlet.PortletURLgetURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) jakarta.portlet.PortletURLgetURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletURL redirectURL) default jakarta.portlet.PortletURLgetURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState, String redirect) default jakarta.portlet.PortletURLgetURLEdit(jakarta.servlet.http.HttpServletRequest httpServletRequest) default jakarta.portlet.PortletURLgetURLEdit(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletURL redirectURL) default jakarta.portlet.PortletURLgetURLEdit(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.portlet.WindowState windowState, String redirect) jakarta.portlet.PortletURLgetURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) getURLImagePreview(jakarta.portlet.PortletRequest portletRequest) getURLShare(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) getUrlTitle(Locale locale) getURLView(LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState) jakarta.portlet.PortletURLgetURLViewDiffs(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) getURLViewInContext(ThemeDisplay themeDisplay, String noSuchEntryRedirect) default StringgetURLViewUsages(jakarta.servlet.http.HttpServletRequest httpServletRequest) longgetUuid()booleanhasEditPermission(PermissionChecker permissionChecker) booleanhasViewPermission(PermissionChecker permissionChecker) default booleanisCategorizable(long groupId) booleanbooleanbooleanbooleanbooleanbooleanbooleanMethods inherited from interface com.liferay.asset.kernel.model.Renderer
getClassName, getClassPK, getIconCssClass, getSummary, getTitle, include
-
Field Details
-
TEMPLATE_ABSTRACT
- See Also:
-
TEMPLATE_FULL_CONTENT
- See Also:
-
TEMPLATE_PREVIEW
- See Also:
-
-
Method Details
-
getAssetObject
T getAssetObject() -
getAssetObject
-
getAssetRendererFactory
AssetRendererFactory<T> getAssetRendererFactory() -
getAssetRendererType
int getAssetRendererType() -
getAvailableLanguageIds
- Throws:
Exception
-
getDDMFormValuesReader
DDMFormValuesReader getDDMFormValuesReader() -
getDefaultLanguageId
- Throws:
Exception
-
getDiscussionPath
String getDiscussionPath() -
getGroupId
long getGroupId() -
getNewName
-
getSearchSummary
-
getStatus
int getStatus() -
getSummary
String getSummary() -
getSupportedConversions
String[] getSupportedConversions() -
getThumbnailPath
- Throws:
Exception
-
getURLDownload
-
getURLEdit
default jakarta.portlet.PortletURL getURLEdit(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws Exception - Throws:
Exception
-
getURLEdit
default jakarta.portlet.PortletURL getURLEdit(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletURL redirectURL) throws Exception - Throws:
Exception
-
getURLEdit
default jakarta.portlet.PortletURL getURLEdit(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.portlet.WindowState windowState, String redirect) throws Exception - Throws:
Exception
-
getURLEdit
jakarta.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception - Throws:
Exception
-
getURLEdit
jakarta.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState, jakarta.portlet.PortletURL redirectURL) throws Exception - Throws:
Exception
-
getURLEdit
default jakarta.portlet.PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState, String redirect) throws Exception - Throws:
Exception
-
getURLExport
jakarta.portlet.PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception - Throws:
Exception
-
getURLImagePreview
- Throws:
Exception
-
getUrlTitle
String getUrlTitle() -
getUrlTitle
-
getURLView
String getURLView(LiferayPortletResponse liferayPortletResponse, jakarta.portlet.WindowState windowState) throws Exception - Throws:
Exception
-
getURLViewDiffs
jakarta.portlet.PortletURL getURLViewDiffs(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception - Throws:
Exception
-
getURLViewInContext
String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) throws Exception - Throws:
Exception
-
getURLViewInContext
- Throws:
Exception
-
getURLViewUsages
default String getURLViewUsages(jakarta.servlet.http.HttpServletRequest httpServletRequest) throws Exception - Throws:
Exception
-
getUserId
long getUserId() -
getUserName
String getUserName() -
getUuid
String getUuid() -
getViewInContextMessage
String getViewInContextMessage() -
hasEditPermission
- Throws:
PortalException
-
hasViewPermission
- Throws:
PortalException
-
isCategorizable
default boolean isCategorizable(long groupId) -
isCommentable
boolean isCommentable() -
isConvertible
boolean isConvertible() -
isDisplayable
boolean isDisplayable() -
isLocalizable
boolean isLocalizable() -
isPreviewInContext
boolean isPreviewInContext() -
isPrintable
boolean isPrintable() -
isRatable
boolean isRatable()
-