@PermitAll public class JpaRoleNameDao extends com.whitestein.lsps.common.jpa.AbstractJpaBasicDao<RoleName,String> implements RoleNameDao
| Constructor and Description |
|---|
JpaRoleNameDao()
Creates new instance.
|
JpaRoleNameDao(javax.persistence.EntityManager em)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<RoleName> |
findAll()
Finds all role names ordered by their full names.
|
RoleName |
findById(String moduleName,
String localName)
Finds by module name and local name.
|
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, waitpublic JpaRoleNameDao()
public JpaRoleNameDao(javax.persistence.EntityManager em)
em - the entity managerprotected javax.persistence.EntityManager getEntityManager()
public RoleName findById(String moduleName, String localName)
RoleNameDaofindById in interface RoleNameDaopublic Collection<RoleName> findAll()
RoleNameDaofindAll in interface RoleNameDaoCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.