@PermitAll public class JpaDocumentDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<Document,java.lang.Long> implements DocumentDao
| Constructor and Description |
|---|
JpaDocumentDao()
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Document> |
getAllDocuments()
Returns all documents.
|
java.util.List<Document> |
getDocuments(DocumentType type)
Returns documents of type.
|
java.util.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, setLockModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected javax.persistence.EntityManager getEntityManager()
getEntityManager in class com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<Document,java.lang.Long>public java.util.List<Document> getAllDocuments()
DocumentDaogetAllDocuments in interface DocumentDaopublic java.util.List<Document> getDocuments(long moduleId)
DocumentDaogetDocuments in interface DocumentDaopublic java.util.List<Document> getDocuments(DocumentType type)
DocumentDaogetDocuments in interface DocumentDaoCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.