public interface DLViewFileVersionDisplayContext extends DLDisplayContext
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCssClassFileMimeType() |
com.liferay.dynamic.data.mapping.storage.DDMFormValues |
getDDMFormValues(com.liferay.dynamic.data.mapping.kernel.DDMStructure ddmStructure) |
com.liferay.dynamic.data.mapping.storage.DDMFormValues |
getDDMFormValues(long ddmStorageId) |
java.util.List<com.liferay.dynamic.data.mapping.kernel.DDMStructure> |
getDDMStructures() |
int |
getDDMStructuresCount() |
java.lang.String |
getDiscussionClassName() |
long |
getDiscussionClassPK() |
java.lang.String |
getDiscussionLabel(java.util.Locale locale) |
default java.lang.String |
getIconFileMimeType() |
com.liferay.portal.kernel.servlet.taglib.ui.Menu |
getMenu() |
java.util.List<com.liferay.portal.kernel.servlet.taglib.ui.ToolbarItem> |
getToolbarItems() |
default boolean |
hasCustomThumbnail() |
boolean |
hasPreview() |
default boolean |
isActionsVisible() |
boolean |
isDownloadLinkVisible() |
default boolean |
isSharingLinkVisible() |
boolean |
isVersionInfoVisible() |
default void |
renderCustomThumbnail(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
void |
renderPreview(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
java.lang.String getCssClassFileMimeType()
com.liferay.dynamic.data.mapping.storage.DDMFormValues getDDMFormValues(com.liferay.dynamic.data.mapping.kernel.DDMStructure ddmStructure) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
com.liferay.dynamic.data.mapping.storage.DDMFormValues getDDMFormValues(long ddmStorageId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<com.liferay.dynamic.data.mapping.kernel.DDMStructure> getDDMStructures() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
int getDDMStructuresCount() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getDiscussionClassName()
long getDiscussionClassPK()
java.lang.String getDiscussionLabel(java.util.Locale locale)
default java.lang.String getIconFileMimeType()
com.liferay.portal.kernel.servlet.taglib.ui.Menu getMenu() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.util.List<com.liferay.portal.kernel.servlet.taglib.ui.ToolbarItem> getToolbarItems() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
default boolean hasCustomThumbnail()
boolean hasPreview()
default boolean isActionsVisible()
boolean isDownloadLinkVisible() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
default boolean isSharingLinkVisible() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
boolean isVersionInfoVisible() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
default void renderCustomThumbnail(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
void renderPreview(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException