public class DLFileEntryAssetRenderer
extends com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>
implements com.liferay.portal.kernel.trash.TrashRenderer
| Constructor and Description |
|---|
DLFileEntryAssetRenderer(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion) |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.repository.model.FileEntry |
getAssetObject() |
java.lang.String |
getClassName() |
long |
getClassPK() |
com.liferay.asset.kernel.model.DDMFormValuesReader |
getDDMFormValuesReader() |
java.lang.String |
getDiscussionPath() |
java.util.Date |
getDisplayDate() |
long |
getGroupId() |
java.lang.String |
getIconCssClass() |
java.lang.String |
getJspPath(javax.servlet.http.HttpServletRequest request,
java.lang.String template) |
java.lang.String |
getNewName(java.lang.String oldName,
java.lang.String token) |
java.lang.String |
getPortletId() |
int |
getStatus() |
java.lang.String |
getSummary(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse) |
java.lang.String[] |
getSupportedConversions() |
java.lang.String |
getThumbnailPath(javax.portlet.PortletRequest portletRequest) |
java.lang.String |
getTitle(java.util.Locale locale) |
java.lang.String |
getType() |
java.lang.String |
getURLDownload(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
javax.portlet.PortletURL |
getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) |
javax.portlet.PortletURL |
getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse) |
java.lang.String |
getURLImagePreview(javax.portlet.PortletRequest portletRequest) |
java.lang.String |
getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
java.lang.String |
getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
java.lang.String noSuchEntryRedirect) |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUuid() |
boolean |
hasDeletePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
hasEditPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
hasViewPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker) |
boolean |
include(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String template) |
boolean |
isConvertible() |
boolean |
isPrintable() |
getResourceBundleLoader, getServletContext, setServletContextgetAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getAvailableLanguageIds, getControlPanelPlid, getControlPanelPlid, getIconPath, getLocale, getPreviewPath, getSearchSummary, getSummary, getSummary, getURLEdit, getUrlTitle, getURLViewDiffs, getURLViewInContext, getViewInContextMessage, isCommentable, isDisplayable, isLocalizable, isPreviewInContext, isRatable, renderActions, setAddToPagePreferences, setAssetRendererTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSummary, renderActionsgetAddToPagePortletId, getAssetRendererFactory, getAssetRendererType, getAvailableLanguageIds, getPreviewPath, getSearchSummary, getSummary, getSummary, getURLEdit, getUrlTitle, getURLViewDiffs, getViewInContextMessage, isCommentable, isDisplayable, isLocalizable, isPreviewInContext, isRatable, setAddToPagePreferencespublic DLFileEntryAssetRenderer(com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
public com.liferay.portal.kernel.repository.model.FileEntry getAssetObject()
getAssetObject in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getClassName()
getClassName in interface com.liferay.asset.kernel.model.Rendererpublic long getClassPK()
getClassPK in interface com.liferay.asset.kernel.model.Rendererpublic com.liferay.asset.kernel.model.DDMFormValuesReader getDDMFormValuesReader()
getDDMFormValuesReader in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getDDMFormValuesReader in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getDiscussionPath()
getDiscussionPath in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getDiscussionPath in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.util.Date getDisplayDate()
getDisplayDate in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getDisplayDate in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public long getGroupId()
getGroupId in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getIconCssClass()
getIconCssClass in interface com.liferay.asset.kernel.model.RenderergetIconCssClass in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getJspPath(javax.servlet.http.HttpServletRequest request,
java.lang.String template)
getJspPath in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getNewName(java.lang.String oldName,
java.lang.String token)
getNewName in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getNewName in interface com.liferay.portal.kernel.trash.TrashRenderergetNewName in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getPortletId()
getPortletId in interface com.liferay.portal.kernel.trash.TrashRendererpublic int getStatus()
getStatus in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getStatus in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getSummary(javax.portlet.PortletRequest portletRequest,
javax.portlet.PortletResponse portletResponse)
getSummary in interface com.liferay.asset.kernel.model.Rendererpublic java.lang.String[] getSupportedConversions()
getSupportedConversions in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getSupportedConversions in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getThumbnailPath(javax.portlet.PortletRequest portletRequest)
throws java.lang.Exception
getThumbnailPath in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getThumbnailPath in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>java.lang.Exceptionpublic java.lang.String getTitle(java.util.Locale locale)
getTitle in interface com.liferay.asset.kernel.model.Rendererpublic java.lang.String getType()
getType in interface com.liferay.portal.kernel.trash.TrashRendererpublic java.lang.String getURLDownload(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
getURLDownload in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getURLDownload in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public javax.portlet.PortletURL getURLEdit(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
throws java.lang.Exception
getURLEdit in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getURLEdit in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>java.lang.Exceptionpublic javax.portlet.PortletURL getURLExport(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse)
throws java.lang.Exception
getURLExport in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getURLExport in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>java.lang.Exceptionpublic java.lang.String getURLImagePreview(javax.portlet.PortletRequest portletRequest)
throws java.lang.Exception
getURLImagePreview in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getURLImagePreview in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>java.lang.Exceptionpublic java.lang.String getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
throws java.lang.Exception
getURLView in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getURLView in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>java.lang.Exceptionpublic java.lang.String getURLViewInContext(com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest,
com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
java.lang.String noSuchEntryRedirect)
getURLViewInContext in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>getURLViewInContext in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public long getUserId()
getUserId in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getUserName()
getUserName in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public java.lang.String getUuid()
getUuid in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public boolean hasDeletePermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic boolean hasEditPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.kernel.exception.PortalException
hasEditPermission in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>hasEditPermission in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>com.liferay.portal.kernel.exception.PortalExceptionpublic boolean hasViewPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
throws com.liferay.portal.kernel.exception.PortalException
hasViewPermission in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>hasViewPermission in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>com.liferay.portal.kernel.exception.PortalExceptionpublic boolean include(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String template)
throws java.lang.Exception
include in interface com.liferay.asset.kernel.model.Rendererinclude in class com.liferay.asset.kernel.model.BaseJSPAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>java.lang.Exceptionpublic boolean isConvertible()
isConvertible in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>isConvertible in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>public boolean isPrintable()
isPrintable in interface com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>isPrintable in class com.liferay.asset.kernel.model.BaseAssetRenderer<com.liferay.portal.kernel.repository.model.FileEntry>