@PermitAll public class JpaBinaryDataDao extends com.whitestein.lsps.common.jpa.AbstractJpaEntityDao<BinaryData> implements BinaryDataDao
Constructor and Description |
---|
JpaBinaryDataDao()
Creates new instance.
|
JpaBinaryDataDao(javax.persistence.EntityManager em)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
deleteBinaryDataLoadedByDocument(long savedDocumentId)
Deletes binary data that are loaded in a document.
|
void |
deleteBinaryDataLoadedByTodo(long todoId)
Deletes binary data that are loaded in a todo.
|
void |
deleteForIds(List<Long> ids)
Deletes binary data with ids.
|
List<BinaryData> |
getBinaryDataLoadedByDocument(long savedDocumentId)
Returns list of binary data that are loaded in a document.
|
List<BinaryData> |
getBinaryDataLoadedByTodo(long todoId)
Returns list of binary data that are loaded in a todo.
|
protected javax.persistence.EntityManager |
getEntityManager() |
clear, contains, findById, findById, flush, getColName, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JpaBinaryDataDao()
public JpaBinaryDataDao(javax.persistence.EntityManager em)
em
- protected javax.persistence.EntityManager getEntityManager()
getEntityManager
in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<BinaryData,Long>
public void deleteForIds(List<Long> ids)
BinaryDataDao
deleteForIds
in interface BinaryDataDao
public List<BinaryData> getBinaryDataLoadedByTodo(long todoId)
BinaryDataDao
getBinaryDataLoadedByTodo
in interface BinaryDataDao
public void deleteBinaryDataLoadedByTodo(long todoId)
BinaryDataDao
deleteBinaryDataLoadedByTodo
in interface BinaryDataDao
public List<BinaryData> getBinaryDataLoadedByDocument(long savedDocumentId)
BinaryDataDao
getBinaryDataLoadedByDocument
in interface BinaryDataDao
public void deleteBinaryDataLoadedByDocument(long savedDocumentId)
BinaryDataDao
deleteBinaryDataLoadedByDocument
in interface BinaryDataDao
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.