Liferay 6.2-ce-ga5

com.liferay.portlet.asset.model
Interface AssetRenderer

All Known Implementing Classes:
BaseAssetRenderer

public interface AssetRenderer


Field Summary
static String TEMPLATE_ABSTRACT
           
static String TEMPLATE_FULL_CONTENT
           
 
Method Summary
 String getAddToPagePortletId()
           
 int getAssetRendererType()
           
 String[] getAvailableLanguageIds()
           
 String[] getAvailableLocales()
          Deprecated. As of 6.2.0, replaced by getAvailableLanguageIds()
 String getClassName()
           
 long getClassPK()
           
 String getDiscussionPath()
           
 Date getDisplayDate()
           
 long getGroupId()
           
 String getIconPath(PortletRequest portletRequest)
           
 String getNewName(String oldName, String token)
           
 String getPreviewPath(PortletRequest portletRequest, PortletResponse PortletResponse)
           
 String getSearchSummary(Locale locale)
           
 String getSummary(Locale locale)
           
 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)
           
 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 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-ce-ga5