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