@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) |
List<Attachment> |
findAll(int offset,
int maxresults) |
Attachment |
get(long attachmentId) |
Attachment |
get(String guid) |
Attachment |
save(Attachment attachment) |
getEntityManager, setEntityManager@Transactional public Attachment get(long attachmentId)
get in interface IAttachmentDao@Transactional public Attachment get(String guid)
get in interface IAttachmentDao@Transactional public List<Attachment> find(String creator)
find in interface IAttachmentDao@Transactional public List<Attachment> find(String creator, String filename)
find in interface IAttachmentDao@Transactional public List<Attachment> findAll(int offset, int maxresults)
findAll 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 © 2015 Jasig. All Rights Reserved.