Liferay 6.2.0

com.liferay.portlet.asset.model
Interface AssetRenderer

All Known Implementing Classes:
BaseAssetRenderer, BlogsEntryAssetRenderer, BookmarksEntryAssetRenderer, BookmarksFolderAssetRenderer, DDLRecordAssetRenderer, DLFileEntryAssetRenderer, DLFolderAssetRenderer, JournalArticleAssetRenderer, JournalFolderAssetRenderer, LayoutRevisionAssetRenderer, MBCategoryAssetRenderer, MBDiscussionAssetRenderer, MBMessageAssetRenderer, UserAssetRenderer, WikiPageAssetRenderer

public interface AssetRenderer


Field Summary
static String TEMPLATE_ABSTRACT
           
static String TEMPLATE_FULL_CONTENT
           
 
Method Summary
abstract  String getAddToPagePortletId()
           
abstract  int getAssetRendererType()
           
abstract  String[] getAvailableLanguageIds()
           
abstract  String[] getAvailableLocales()
          Deprecated. As of 6.2.0, replaced by getAvailableLanguageIds()
abstract  String getClassName()
           
abstract  long getClassPK()
           
abstract  String getDiscussionPath()
           
abstract  Date getDisplayDate()
           
abstract  long getGroupId()
           
abstract  String getIconPath(PortletRequest portletRequest)
           
abstract  String getNewName(String oldName, String token)
           
abstract  String getPreviewPath(PortletRequest portletRequest, PortletResponse PortletResponse)
           
abstract  String getSearchSummary(Locale locale)
           
abstract  String getSummary(Locale locale)
           
abstract  String getThumbnailPath(PortletRequest portletRequest)
           
abstract  String getTitle(Locale locale)
           
abstract  String getURLDownload(ThemeDisplay themeDisplay)
           
abstract  PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
abstract  PortletURL getURLEdit(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, WindowState windowState, PortletURL redirectURL)
           
abstract  PortletURL getURLExport(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse)
           
abstract  String getURLImagePreview(PortletRequest portletRequest)
           
abstract  String getUrlTitle()
           
abstract  PortletURL getURLView(LiferayPortletResponse liferayPortletResponse, WindowState windowState)
           
abstract  String getURLViewInContext(LiferayPortletRequest liferayPortletRequest, LiferayPortletResponse liferayPortletResponse, String noSuchEntryRedirect)
           
abstract  long getUserId()
           
abstract  String getUserName()
           
abstract  String getUuid()
           
abstract  String getViewInContextMessage()
           
abstract  boolean hasEditPermission(PermissionChecker permissionChecker)
           
abstract  boolean hasViewPermission(PermissionChecker permissionChecker)
           
abstract  boolean isConvertible()
           
abstract  boolean isDisplayable()
           
abstract  boolean isLocalizable()
           
abstract  boolean isPreviewInContext()
           
abstract  boolean isPrintable()
           
abstract  String render(RenderRequest renderRequest, RenderResponse renderResponse, String template)
           
abstract  void setAddToPagePreferences(PortletPreferences preferences, String portletId, ThemeDisplay themeDisplay)
           
 

Field Detail

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
Method Detail

getAddToPagePortletId

String getAddToPagePortletId()
                             throws Exception
Throws:
Exception

getAssetRendererType

int getAssetRendererType()

getAvailableLanguageIds

String[] getAvailableLanguageIds()
                                 throws Exception
Throws:
Exception

getAvailableLocales

String[] getAvailableLocales()
                             throws Exception
Deprecated. As of 6.2.0, replaced by getAvailableLanguageIds()

Throws:
Exception

getClassName

String getClassName()

getClassPK

long getClassPK()

getDiscussionPath

String getDiscussionPath()

getDisplayDate

Date getDisplayDate()

getGroupId

long getGroupId()

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(Locale locale)

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

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

setAddToPagePreferences

void setAddToPagePreferences(PortletPreferences preferences,
                             String portletId,
                             ThemeDisplay themeDisplay)
                             throws Exception
Throws:
Exception

Liferay 6.2.0