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