| Package | Description |
|---|---|
| org.jbei.ice.lib.entry.attachment | |
| org.jbei.ice.storage |
Database access classes.
|
| org.jbei.ice.storage.hibernate.dao | |
| org.jbei.ice.storage.model |
Data models for ice objects.
|
| Modifier and Type | Method and Description |
|---|---|
Attachment |
Attachments.save(String userId,
Attachment attachment,
InputStream inputStream)
Save attachment to the database and the disk.
|
| Modifier and Type | Method and Description |
|---|---|
Attachment |
Attachments.save(String userId,
Attachment attachment,
InputStream inputStream)
Save attachment to the database and the disk.
|
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<AttachmentInfo> |
ModelToInfoFactory.getAttachments(List<Attachment> attachments) |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
AttachmentDAO.get(long id) |
Attachment |
AttachmentDAO.getByFileId(String fileId)
Retrieves attachment referenced by a unique file identifier
|
| Modifier and Type | Method and Description |
|---|---|
List<Attachment> |
AttachmentDAO.getByEntry(Entry entry)
Retrieve all
Attachments associated with the given Entry. |
| Modifier and Type | Method and Description |
|---|---|
void |
AttachmentDAO.delete(File attDir,
Attachment attachment) |
boolean |
AttachmentDAO.deleteFile(File attDir,
Attachment attachment) |
| Modifier and Type | Method and Description |
|---|---|
Set<Attachment> |
Entry.getAttachments() |
Copyright © 2017. All rights reserved.