Interface DLViewFileVersionDisplayContext

All Superinterfaces:
com.liferay.portal.kernel.display.context.DisplayContext, DLDisplayContext
All Known Implementing Classes:
BaseDLViewFileVersionDisplayContext

public interface DLViewFileVersionDisplayContext extends DLDisplayContext
  • Method Details

    • getActionDropdownItems

      List<com.liferay.frontend.taglib.clay.servlet.taglib.util.DropdownItem> getActionDropdownItems() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCssClassFileMimeType

      String getCssClassFileMimeType()
    • getDDMFormValues

      com.liferay.dynamic.data.mapping.storage.DDMFormValues getDDMFormValues(com.liferay.dynamic.data.mapping.model.DDMStructure ddmStructure) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormValues

      com.liferay.dynamic.data.mapping.storage.DDMFormValues getDDMFormValues(long ddmStorageId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStructures

      List<com.liferay.dynamic.data.mapping.model.DDMStructure> getDDMStructures() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStructuresCount

      int getDDMStructuresCount() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDiscussionClassName

      String getDiscussionClassName()
    • getDiscussionClassPK

      long getDiscussionClassPK()
    • getDiscussionLabel

      String getDiscussionLabel(Locale locale)
    • getIconFileMimeType

      default String getIconFileMimeType()
    • hasApprovedVersion

      boolean hasApprovedVersion()
    • hasCustomThumbnail

      default boolean hasCustomThumbnail()
    • hasPreview

      boolean hasPreview()
    • isActionsVisible

      default boolean isActionsVisible()
    • isDownloadLinkVisible

      boolean isDownloadLinkVisible() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isShared

      default boolean isShared() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isSharingLinkVisible

      default boolean isSharingLinkVisible() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isVersionInfoVisible

      boolean isVersionInfoVisible() throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • renderCustomThumbnail

      default void renderCustomThumbnail(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException
    • renderPreview

      void renderPreview(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException, javax.servlet.ServletException
      Throws:
      IOException
      javax.servlet.ServletException