Interface DocumentUtil
public interface DocumentUtil
- 
Method SummaryStatic MethodsModifier and TypeMethodDescriptionstatic voiddownloadDocument(long docId) static voiddownloadDocumentResource(String docId, String url) Checks the DOWNLOAD permission and forwards the download of the specified document-related resource.
- 
Method Details- 
downloadDocumentResourceChecks the DOWNLOAD permission and forwards the download of the specified document-related resource.- Parameters:
- docId- Identifier of thee document the URL refers to
- url- The url of a resource related to the given document,may be null
 
- 
downloadDocumentstatic void downloadDocument(long docId) 
 
-