@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, setLockMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JpaRoleNameDao()
public JpaRoleNameDao(javax.persistence.EntityManager em)
em
- the entity managerprotected javax.persistence.EntityManager getEntityManager()
public RoleName findById(String moduleName, String localName)
RoleNameDao
findById
in interface RoleNameDao
public Collection<RoleName> findAll()
RoleNameDao
findAll
in interface RoleNameDao
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.