|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoleDaoGeneric<T extends Role>
Used to create, save, retrieve, update and delete Role objects from persistent storage
| Method Summary | |
|---|---|
Role |
findByName(String name)
Returns an Role by names, or null if the Role is not found. |
SortedSet<Role> |
loadAll()
Loads all Roles defined in the system, along with their Permissions and SubRoles; a SubRole may appear individually, as well as part of the children of the Super Roles that may contain it |
Role |
loadByName(String name)
loads an Role object, or throws exception if Role with that name is not found |
PermissionsCapable |
newRole()
returns a new Role instance |
| Methods inherited from interface org.janux.bus.persistence.GenericDaoWrite |
|---|
attachClean, clear, delete, evict, flush, merge, refresh, save, saveOrUpdate, update |
| Methods inherited from interface org.janux.bus.persistence.GenericDaoReadOnly |
|---|
count, findByCriteria, load |
| Method Detail |
|---|
SortedSet<Role> loadAll()
Role findByName(String name)
null if the Role is not found.
name - the Role name
Role loadByName(String name)
throws EntityNotFoundException
name - a name that uniquely identifies this role
EntityNotFoundException - if a Role object with that name is not foundPermissionsCapable newRole()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||