public interface DocumentContentManager
Defines the services used to manage document content.
| Modifier and Type | Method and Description |
|---|---|
void |
deleteDocumentContentOwner(String id)
Deletes the document content owner.
|
org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> |
getDocumentContent(String globalId,
boolean forceDownload,
boolean headersOnly)
Gets the given document content.
|
org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> |
getSkeletonContent(String id,
boolean forceDownload,
boolean headersOnly)
Gets the given document skeleton content.
|
UploadResponse |
saveDocumentContent(String globalId,
org.springframework.web.multipart.MultipartHttpServletRequest request)
Saves the document content into the work object with the given ID.
|
UploadResponse |
saveSkeletonContent(String id,
org.springframework.web.multipart.MultipartHttpServletRequest request)
Saves the document content into the model with the given ID.
|
UploadResponse saveDocumentContent(String globalId, org.springframework.web.multipart.MultipartHttpServletRequest request)
Saves the document content into the work object with the given ID.
globalId - the work object global IDrequest - the incoming requestUploadResponse saveSkeletonContent(String id, org.springframework.web.multipart.MultipartHttpServletRequest request)
Saves the document content into the model with the given ID.
id - the document model IDrequest - the incoming requestorg.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getDocumentContent(String globalId, boolean forceDownload, boolean headersOnly)
Gets the given document content.
globalId - the work object global IDforceDownload - true if the download should be forcedheadersOnly - true if only the headers should be returned (no content)org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getSkeletonContent(String id, boolean forceDownload, boolean headersOnly)
Gets the given document skeleton content.
id - the work object global IDforceDownload - true if the download should be forcedheadersOnly - true if only the headers should be returned (no content)void deleteDocumentContentOwner(String id)
Deletes the document content owner.
id - the work object global ID to be deletedCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.