@Repository public class JpaAttachmentDao extends BaseJpaDao implements IAttachmentDao
logger, PERSISTENCE_UNIT_NAME| Constructor and Description |
|---|
JpaAttachmentDao() |
| 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) |
Attachment |
get(long attachmentId) |
Attachment |
get(String guid) |
Attachment |
save(Attachment attachment) |
getEntityManagerpublic Attachment get(long attachmentId)
get in interface IAttachmentDaopublic Attachment get(String guid)
get in interface IAttachmentDaopublic List<Attachment> find(String creator)
find in interface IAttachmentDaopublic List<Attachment> find(String creator, String filename)
find in interface IAttachmentDao@Transactional public Attachment save(Attachment attachment)
save in interface IAttachmentDao@Transactional public void delete(Attachment attachment)
delete in interface IAttachmentDao@Transactional public void delete(long attachmentId)
delete in interface IAttachmentDaoCopyright © 2013 Jasig. All Rights Reserved.