001
014
015 package com.liferay.portlet.documentlibrary.context;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portlet.dynamicdatamapping.model.DDMStructure;
019
020
023 public interface DLEditFileEntryDisplayContext extends DLDisplayContext {
024
025 public long getMaximumUploadSize() throws PortalException;
026
027 public String getPublishButtonLabel() throws PortalException;
028
029 public String getSaveButtonLabel() throws PortalException;
030
031 public boolean isCancelCheckoutDocumentButtonDisabled()
032 throws PortalException;
033
034 public boolean isCancelCheckoutDocumentButtonVisible()
035 throws PortalException;
036
037 public boolean isCheckinButtonDisabled() throws PortalException;
038
039 public boolean isCheckinButtonVisible() throws PortalException;
040
041 public boolean isCheckoutDocumentButtonDisabled() throws PortalException;
042
043 public boolean isCheckoutDocumentButtonVisible() throws PortalException;
044
045 public boolean isDDMStructureVisible(DDMStructure ddmStructure)
046 throws PortalException;
047
048 public boolean isPublishButtonDisabled() throws PortalException;
049
050 public boolean isPublishButtonVisible() throws PortalException;
051
052 public boolean isSaveButtonDisabled() throws PortalException;
053
054 public boolean isSaveButtonVisible() throws PortalException;
055
056 }