|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RoleDaoGeneric
public interface RoleDao
Used to create, save, retrieve, update and delete Role objects from persistent storage
Method Summary | |
---|---|
Role |
findByName(String name)
Deprecated. Returns an Role by names, or null if the Role is not found. |
SortedSet<Role> |
loadAll()
Deprecated. 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)
Deprecated. loads an Role object, or throws exception if Role with that name is not found |
PermissionsCapable |
newRole()
Deprecated. returns a new Role instance |
Methods inherited from interface org.janux.bus.persistence.DataAccessObject |
---|
delete, merge, refresh, save, saveOrUpdate, update |
Method Detail |
---|
SortedSet<Role> loadAll()
Role findByName(String name)
null
if the Role is not found.
name
- the Role nameRole 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 |