public class HibernateAuthorityDao extends org.springframework.orm.hibernate5.support.HibernateDaoSupport implements AuthorityDao
AuthorityDao| Constructor and Description |
|---|
HibernateAuthorityDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Authority> |
getAuthorities()
Retrieves all
Authoritys known to the system |
Authority |
getAuthority(java.lang.String authority)
Retrieves a specific
Authority by name |
void |
save(Authority newAuthority)
Saves a new
Authority to persistent storage |
public java.util.List<Authority> getAuthorities()
AuthorityDaoAuthoritys known to the systemgetAuthorities in interface AuthorityDaoAuthorityspublic Authority getAuthority(java.lang.String authority)
AuthorityDaoAuthority by namegetAuthority in interface AuthorityDaoAuthority or null if it does not existpublic void save(Authority newAuthority)
AuthorityDaoAuthority to persistent storagesave in interface AuthorityDaoCopyright © 2007-2019 Ikasan. All Rights Reserved.