| Modifier and Type | Method and Description |
|---|---|
Attachment |
IAttachmentDao.get(long attachmentId) |
Attachment |
IAttachmentDao.get(java.lang.String guid) |
Attachment |
IAttachmentDao.save(Attachment attachment) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attachment> |
IAttachmentDao.find(java.lang.String creator) |
java.util.List<Attachment> |
IAttachmentDao.find(java.lang.String creator,
java.lang.String filename) |
java.util.List<Attachment> |
IAttachmentDao.findAll(int offset,
int maxresults) |
| Modifier and Type | Method and Description |
|---|---|
void |
IAttachmentDao.delete(Attachment attachment) |
Attachment |
IAttachmentDao.save(Attachment attachment) |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
JpaAttachmentDao.get(long attachmentId) |
Attachment |
JpaAttachmentDao.get(java.lang.String guid) |
Attachment |
JpaAttachmentDao.save(Attachment attachment) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attachment> |
JpaAttachmentDao.find(java.lang.String creator) |
java.util.List<Attachment> |
JpaAttachmentDao.find(java.lang.String creator,
java.lang.String filename) |
java.util.List<Attachment> |
JpaAttachmentDao.findAll(int offset,
int maxresults) |
| Modifier and Type | Method and Description |
|---|---|
void |
JpaAttachmentDao.delete(Attachment attachment) |
Attachment |
JpaAttachmentDao.save(Attachment attachment) |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.checksum |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.contentType |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.util.Date> |
Attachment_.createdAt |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.createdBy |
static javax.persistence.metamodel.SingularAttribute<Attachment,byte[]> |
Attachment_.data |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.filename |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.guid |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.Long> |
Attachment_.id |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.util.Date> |
Attachment_.modifiedAt |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.modifiedBy |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.path |
static javax.persistence.metamodel.SingularAttribute<Attachment,java.lang.String> |
Attachment_.source |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
IAttachmentService.get(long attachmentId) |
Attachment |
IAttachmentService.get(java.lang.String guid) |
Attachment |
IAttachmentService.save(Attachment attachment,
java.lang.String username,
javax.servlet.http.HttpServletRequest request)
Saves the metadata about the attachment to the database and persists the attachment to the
configured documentPersistenceStrategy store.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attachment> |
IAttachmentService.find(java.lang.String creator) |
java.util.List<Attachment> |
IAttachmentService.find(java.lang.String creator,
java.lang.String filename) |
java.util.List<Attachment> |
IAttachmentService.findAll(int offset,
int maxresults) |
| Modifier and Type | Method and Description |
|---|---|
void |
IAttachmentService.delete(Attachment attachment) |
java.lang.String |
FileSystemPersistenceStrategy.persistAttachmentBinary(javax.servlet.http.HttpServletRequest request,
Attachment attachment) |
java.lang.String |
AmazonS3PersistenceStrategy.persistAttachmentBinary(javax.servlet.http.HttpServletRequest request,
Attachment attachment) |
java.lang.String |
IDocumentPersistenceStrategy.persistAttachmentBinary(javax.servlet.http.HttpServletRequest request,
Attachment attachment)
Accepts an attachment to save and persists the attachment binary data using the implemented persistence strategy.
|
Attachment |
IAttachmentService.save(Attachment attachment,
java.lang.String username,
javax.servlet.http.HttpServletRequest request)
Saves the metadata about the attachment to the database and persists the attachment to the
configured documentPersistenceStrategy store.
|
| Modifier and Type | Method and Description |
|---|---|
Attachment |
AttachmentService.get(long attachmentId) |
Attachment |
AttachmentService.get(java.lang.String guid) |
Attachment |
AttachmentService.save(Attachment attachment,
java.lang.String username,
javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Attachment> |
AttachmentService.find(java.lang.String creator) |
java.util.List<Attachment> |
AttachmentService.find(java.lang.String creator,
java.lang.String filename) |
java.util.List<Attachment> |
AttachmentService.findAll(int offset,
int maxresults) |
| Modifier and Type | Method and Description |
|---|---|
void |
AttachmentService.delete(Attachment attachment) |
Attachment |
AttachmentService.save(Attachment attachment,
java.lang.String username,
javax.servlet.http.HttpServletRequest request) |
protected void |
AttachmentService.updateTimestamps(Attachment attachment,
java.lang.String user) |
Copyright © 2023 Apereo. All Rights Reserved.