com.liferay.portlet.asset.model
Interface AssetRenderer
- All Known Implementing Classes:
- BaseAssetRenderer
public interface AssetRenderer
|
Method Summary |
String |
getAddToPagePortletId()
|
int |
getAssetRendererType()
|
String[] |
getAvailableLanguageIds()
|
String[] |
getAvailableLocales()
Deprecated. As of 6.2.0, replaced by getAvailableLanguageIds() |
String |
getClassName()
|
long |
getClassPK()
|
DDMFieldReader |
getDDMFieldReader()
|
String |
getDiscussionPath()
|
Date |
getDisplayDate()
|
long |
getGroupId()
|
String |
getIconCssClass()
|
String |
getIconPath(PortletRequest portletRequest)
|
String |
getNewName(String oldName,
String token)
|
String |
getPreviewPath(PortletRequest portletRequest,
PortletResponse portletResponse)
|
String |
getSearchSummary(Locale locale)
|
String |
getSummary()
|
String |
getSummary(Locale locale)
Deprecated. As of 7.0.0, replaced by getSummary(PortletRequest,
PortletResponse) |
String |
getSummary(PortletRequest portletRequest,
PortletResponse portletResponse)
|
String[] |
getSupportedConversions()
|
String |
getThumbnailPath(PortletRequest portletRequest)
|
String |
getTitle(Locale locale)
|
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()
|
PortletURL |
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)
|
boolean |
isConvertible()
|
boolean |
isDisplayable()
|
boolean |
isLocalizable()
|
boolean |
isPreviewInContext()
|
boolean |
isPrintable()
|
String |
render(RenderRequest renderRequest,
RenderResponse renderResponse,
String template)
|
void |
setAddToPagePreferences(PortletPreferences portletPreferences,
String portletId,
ThemeDisplay themeDisplay)
|
TEMPLATE_ABSTRACT
static final String TEMPLATE_ABSTRACT
- See Also:
- Constant Field Values
TEMPLATE_FULL_CONTENT
static final String TEMPLATE_FULL_CONTENT
- See Also:
- Constant Field Values
getAddToPagePortletId
String getAddToPagePortletId()
throws Exception
- Throws:
Exception
getAssetRendererType
int getAssetRendererType()
getAvailableLanguageIds
String[] getAvailableLanguageIds()
throws Exception
- Throws:
Exception
getAvailableLocales
@Deprecated
String[] getAvailableLocales()
throws Exception
- Deprecated. As of 6.2.0, replaced by
getAvailableLanguageIds()
- Throws:
Exception
getClassName
String getClassName()
getClassPK
long getClassPK()
getDDMFieldReader
DDMFieldReader getDDMFieldReader()
getDiscussionPath
String getDiscussionPath()
getDisplayDate
Date getDisplayDate()
getGroupId
long getGroupId()
getIconCssClass
String getIconCssClass()
throws PortalException
- Throws:
PortalException
getIconPath
String getIconPath(PortletRequest portletRequest)
getNewName
String getNewName(String oldName,
String token)
getPreviewPath
String getPreviewPath(PortletRequest portletRequest,
PortletResponse portletResponse)
throws Exception
- Throws:
Exception
getSearchSummary
String getSearchSummary(Locale locale)
getSummary
String getSummary()
getSummary
@Deprecated
String getSummary(Locale locale)
- Deprecated. As of 7.0.0, replaced by
getSummary(PortletRequest,
PortletResponse)
getSummary
String getSummary(PortletRequest portletRequest,
PortletResponse portletResponse)
getSupportedConversions
String[] getSupportedConversions()
getThumbnailPath
String getThumbnailPath(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getTitle
String getTitle(Locale locale)
getURLDownload
String getURLDownload(ThemeDisplay themeDisplay)
getURLEdit
PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
throws Exception
- Throws:
Exception
getURLEdit
PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
WindowState windowState,
PortletURL redirectURL)
throws Exception
- Throws:
Exception
getURLExport
PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
throws Exception
- Throws:
Exception
getURLImagePreview
String getURLImagePreview(PortletRequest portletRequest)
throws Exception
- Throws:
Exception
getUrlTitle
String getUrlTitle()
getURLView
PortletURL getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState)
throws Exception
- Throws:
Exception
getURLViewDiffs
PortletURL getURLViewDiffs(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
throws Exception
- Throws:
Exception
getURLViewInContext
String getURLViewInContext(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
String noSuchEntryRedirect)
throws Exception
- Throws:
Exception
getUserId
long getUserId()
getUserName
String getUserName()
getUuid
String getUuid()
getViewInContextMessage
String getViewInContextMessage()
hasEditPermission
boolean hasEditPermission(PermissionChecker permissionChecker)
throws PortalException
- Throws:
PortalException
hasViewPermission
boolean hasViewPermission(PermissionChecker permissionChecker)
throws PortalException
- Throws:
PortalException
isConvertible
boolean isConvertible()
isDisplayable
boolean isDisplayable()
isLocalizable
boolean isLocalizable()
isPreviewInContext
boolean isPreviewInContext()
isPrintable
boolean isPrintable()
render
String render(RenderRequest renderRequest,
RenderResponse renderResponse,
String template)
throws Exception
- Throws:
Exception
setAddToPagePreferences
void setAddToPagePreferences(PortletPreferences portletPreferences,
String portletId,
ThemeDisplay themeDisplay)
throws Exception
- Throws:
Exception