@Component public class AttachmentService extends Object implements IAttachmentService
| Constructor and Description |
|---|
AttachmentService() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Attachment attachment) |
void |
delete(long attachmentId) |
List<Attachment> |
find(String creator) |
List<Attachment> |
find(String creator,
String filename) |
List<Attachment> |
findAll(int offset,
int maxresults) |
Attachment |
get(long attachmentId) |
Attachment |
get(String guid) |
Attachment |
save(Attachment attachment,
String username) |
protected void |
updateTimestamps(Attachment attachment,
String user) |
public Attachment get(long attachmentId)
get in interface IAttachmentServicepublic Attachment get(String guid)
get in interface IAttachmentServicepublic List<Attachment> find(String creator)
find in interface IAttachmentServicepublic List<Attachment> find(String creator, String filename)
find in interface IAttachmentServicepublic List<Attachment> findAll(int offset, int maxresults)
findAll in interface IAttachmentServicepublic Attachment save(Attachment attachment, String username)
save in interface IAttachmentServicepublic void delete(Attachment attachment)
delete in interface IAttachmentServicepublic void delete(long attachmentId)
delete in interface IAttachmentServiceprotected void updateTimestamps(Attachment attachment, String user)
Copyright © 2015 Jasig. All Rights Reserved.