@PermitAll public class JpaDocumentDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<Document,Long> implements DocumentDao
Constructor and Description |
---|
JpaDocumentDao()
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Document> |
getAllDocuments()
Returns all documents.
|
List<Document> |
getDocuments(DocumentType type)
Returns documents of type.
|
List<Document> |
getDocuments(long moduleId)
Returns documents for the module.
|
protected javax.persistence.EntityManager |
getEntityManager() |
clear, contains, findById, findById, findByIds, flush, getColName, getEntityClass, getEntityName, getReferenceById, merge, persist, refresh, refresh, remove, setEntityClass, setLockMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected javax.persistence.EntityManager getEntityManager()
public List<Document> getAllDocuments()
DocumentDao
getAllDocuments
in interface DocumentDao
public List<Document> getDocuments(long moduleId)
DocumentDao
getDocuments
in interface DocumentDao
public List<Document> getDocuments(DocumentType type)
DocumentDao
getDocuments
in interface DocumentDao
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.