public abstract class BaseAssetRenderer<T> extends Object implements AssetRenderer<T>
TEMPLATE_ABSTRACT, TEMPLATE_FULL_CONTENT, TEMPLATE_PREVIEW| Constructor and Description |
|---|
BaseAssetRenderer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssetObject, getGroupId, getUserId, getUserName, getUuidgetClassName, getClassPK, getSummary, getTitle, include@Deprecated public String getAddToPagePortletId() throws Exception
getAddToPagePortletId in interface AssetRenderer<T>Exceptionpublic AssetRendererFactory<T> getAssetRendererFactory()
getAssetRendererFactory in interface AssetRenderer<T>public int getAssetRendererType()
getAssetRendererType in interface AssetRenderer<T>public String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface AssetRenderer<T>public DDMFormValuesReader getDDMFormValuesReader()
getDDMFormValuesReader in interface AssetRenderer<T>public String getDiscussionPath()
getDiscussionPath in interface AssetRenderer<T>@Deprecated public Date getDisplayDate()
getDisplayDate in interface AssetRenderer<T>public String getIconCssClass() throws PortalException
getIconCssClass in interface RendererPortalException@Deprecated public String getIconPath(PortletRequest portletRequest)
getIconPath in interface Rendererpublic String getNewName(String oldName, String token)
getNewName in interface AssetRenderer<T>@Deprecated public String getPreviewPath(PortletRequest portletRequest, PortletResponse portletResponse) throws Exception
getPreviewPath in interface AssetRenderer<T>Exceptionpublic String getSearchSummary(Locale locale)
getSearchSummary in interface AssetRenderer<T>public int getStatus()
getStatus in interface AssetRenderer<T>public String getSummary()
getSummary in interface AssetRenderer<T>@Deprecated public String getSummary(Locale locale)
Renderer.getSummary(PortletRequest,
PortletResponse)getSummary in interface AssetRenderer<T>public String[] getSupportedConversions()
getSupportedConversions in interface AssetRenderer<T>public String getThumbnailPath(PortletRequest portletRequest) throws Exception
getThumbnailPath in interface AssetRenderer<T>Exceptionpublic String getURLDownload(ThemeDisplay themeDisplay)
getURLDownload in interface AssetRenderer<T>public PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
getURLEdit in interface AssetRenderer<T>Exceptionpublic PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, WindowState windowState, PortletURL redirectURL) throws Exception
getURLEdit in interface AssetRenderer<T>Exceptionpublic PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
getURLExport in interface AssetRenderer<T>Exceptionpublic String getURLImagePreview(PortletRequest portletRequest) throws Exception
getURLImagePreview in interface AssetRenderer<T>Exceptionpublic String getUrlTitle()
getUrlTitle in interface AssetRenderer<T>public String getURLView(LiferayPortletResponse liferayPortletResponse, WindowState windowState) throws Exception
getURLView in interface AssetRenderer<T>Exceptionpublic PortletURL getURLViewDiffs(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse) throws Exception
getURLViewDiffs in interface AssetRenderer<T>Exceptionpublic String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect) throws Exception
getURLViewInContext in interface AssetRenderer<T>Exceptionpublic String getViewInContextMessage()
getViewInContextMessage in interface AssetRenderer<T>public boolean hasEditPermission(PermissionChecker permissionChecker) throws PortalException
hasEditPermission in interface AssetRenderer<T>PortalExceptionpublic boolean hasViewPermission(PermissionChecker permissionChecker) throws PortalException
hasViewPermission in interface AssetRenderer<T>PortalExceptionpublic boolean isCommentable()
isCommentable in interface AssetRenderer<T>public boolean isConvertible()
isConvertible in interface AssetRenderer<T>public boolean isDisplayable()
isDisplayable in interface AssetRenderer<T>public boolean isLocalizable()
isLocalizable in interface AssetRenderer<T>public boolean isPreviewInContext()
isPreviewInContext in interface AssetRenderer<T>public boolean isPrintable()
isPrintable in interface AssetRenderer<T>public boolean isRatable()
isRatable in interface AssetRenderer<T>public String renderActions(RenderRequest renderRequest, RenderResponse renderResponse) throws Exception
Exception@Deprecated public void setAddToPagePreferences(PortletPreferences portletPreferences, String portletId, ThemeDisplay themeDisplay) throws Exception
setAddToPagePreferences in interface AssetRenderer<T>Exceptionpublic void setAssetRendererType(int assetRendererType)
protected long getControlPanelPlid(LiferayPortletRequest liferayPortletRequest) throws PortalException
PortalExceptionprotected long getControlPanelPlid(ThemeDisplay themeDisplay) throws PortalException
PortalExceptionprotected Locale getLocale(PortletRequest portletRequest)
protected String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, String noSuchEntryRedirect, String path, String primaryKeyParameterName, long primaryKeyParameterValue)