public interface DocumentContentManager
Modifier and Type | Method and Description |
---|---|
void |
deleteDocumentContentOwner(String id)
Deletes the document content owner.
|
void |
getDocumentContent(String globalId,
javax.servlet.http.HttpServletResponse response,
boolean forceDownload,
boolean headersOnly)
Gets the given document content.
|
void |
getSkeletonContent(String id,
javax.servlet.http.HttpServletResponse response,
boolean forceDownload,
boolean headersOnly)
Gets the given document skeleton content.
|
UploadResponse |
saveDocumentContent(String globalId,
org.springframework.web.multipart.MultipartHttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves the document content into the work object with the given ID.
|
UploadResponse |
saveSkeletonContent(String id,
org.springframework.web.multipart.MultipartHttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves the document content into the model with the given ID.
|
UploadResponse saveDocumentContent(String globalId, org.springframework.web.multipart.MultipartHttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
globalId
- the work object global IDrequest
- the incoming requestresponse
- the request responseIOException
- if the content could not be savedUploadResponse saveSkeletonContent(String id, org.springframework.web.multipart.MultipartHttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
id
- the document model IDrequest
- the incoming requestresponse
- the request responseIOException
- if the content could not be savedvoid getDocumentContent(String globalId, javax.servlet.http.HttpServletResponse response, boolean forceDownload, boolean headersOnly) throws IOException
globalId
- the work object global IDresponse
- the request responseforceDownload
- true
if the download should be forcedheadersOnly
- true
if only the headers should be returned (no content)IOException
void getSkeletonContent(String id, javax.servlet.http.HttpServletResponse response, boolean forceDownload, boolean headersOnly) throws IOException
id
- the work object global IDresponse
- the request responseforceDownload
- true
if the download should be forcedheadersOnly
- true
if only the headers should be returned (no content)IOException
void deleteDocumentContentOwner(String id)
id
- the work object global ID to be deletedCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.