public interface IDocumentPersistenceStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPersistenceIntoDatabaseRequired()
Boolean indicating whether or not attachment data is stored into the database.
|
java.lang.String |
persistAttachmentBinary(javax.servlet.http.HttpServletRequest request,
Attachment attachment)
Accepts an attachment to save and persists the attachment binary data using the implemented persistence strategy.
|
java.lang.String persistAttachmentBinary(javax.servlet.http.HttpServletRequest request,
Attachment attachment)
throws PersistenceException
request - HTTPServletRequest. May be null to indicate a data import operation.attachment - attachment containing data to savePersistenceException - Exception persisting the document to the persistence storeboolean isPersistenceIntoDatabaseRequired()
Copyright © 2019 Jasig. All Rights Reserved.