public interface SecurityRoleDao extends com.whitestein.lsps.common.BasicDao<SecurityRole,Long>
SecurityRole
instances.Modifier and Type | Method and Description |
---|---|
SecurityRole |
find(String securityRoleName)
|
Collection<SecurityRole> |
findAll()
Returns a collection of all
SecurityRole instances that exist in
the persistent storage or an empty collection if there is no such
instance. |
void |
remove(Right right)
Removes a security right.
|
SecurityRole find(String securityRoleName)
securityRoleName
- The name of the security role to find.SecurityRole
instance with given securityRoleName
or
null
if there is no such instance.NullPointerException
- (unchecked) If the securityRoleName
argument is
null
.Collection<SecurityRole> findAll()
SecurityRole
instances that exist in
the persistent storage or an empty collection if there is no such
instance.SecurityRole
instances that exist in
the persistent storage or an empty collection if there is no such
instance.void remove(Right right)
right
- NullPointerException
- if right
is nullCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.