com.liferay.portlet.asset.model
Interface AssetRenderer
- All Known Implementing Classes:
- BaseAssetRenderer, BlogsEntryAssetRenderer, BookmarksEntryAssetRenderer, CalEventAssetRenderer, DDLRecordAssetRenderer, DLFileEntryAssetRenderer, JournalArticleAssetRenderer, LayoutRevisionAssetRenderer, MBCategoryAssetRenderer, MBDiscussionAssetRenderer, MBMessageAssetRenderer, UserAssetRenderer, WikiPageAssetRenderer
public interface AssetRenderer
Method Summary |
String[] |
getAvailableLocales()
|
long |
getClassPK()
|
String |
getDiscussionPath()
|
long |
getGroupId()
|
String |
getIconPath(PortletRequest portletRequest)
|
String |
getSearchSummary(Locale locale)
|
String |
getSummary(Locale locale)
|
String |
getTitle(Locale locale)
|
PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
|
PortletURL |
getURLEdit(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse,
WindowState windowState,
PortletURL redirectURL)
|
PortletURL |
getURLExport(LiferayPortletRequest liferayPortletRequest,
LiferayPortletResponse liferayPortletResponse)
|
String |
getUrlTitle()
|
PortletURL |
getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState)
|
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)
|
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
getAvailableLocales
String[] getAvailableLocales()
throws Exception
- Throws:
Exception
getClassPK
long getClassPK()
getDiscussionPath
String getDiscussionPath()
getGroupId
long getGroupId()
getIconPath
String getIconPath(PortletRequest portletRequest)
getSearchSummary
String getSearchSummary(Locale locale)
getSummary
String getSummary(Locale locale)
getTitle
String getTitle(Locale locale)
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
getUrlTitle
String getUrlTitle()
getURLView
PortletURL getURLView(LiferayPortletResponse liferayPortletResponse,
WindowState windowState)
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,
SystemException
- Throws:
PortalException
SystemException
hasViewPermission
boolean hasViewPermission(PermissionChecker permissionChecker)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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