|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.outerj.daisy.repository.commonimpl.user.RolesUtil
public class RolesUtil
A set of utility methods for working with Roles objects.
Constructor Summary | |
---|---|
RolesUtil()
|
Method Summary | |
---|---|
static org.outerj.daisy.repository.user.Role |
getRole(org.outerj.daisy.repository.user.Roles rolesToSearch,
long roleId)
returns a specific role from a roles object. |
static org.outerj.daisy.repository.user.Role |
getRole(org.outerj.daisy.repository.user.Roles rolesToSearch,
java.lang.String roleName)
returns a specific role from a roles object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RolesUtil()
Method Detail |
---|
public static org.outerj.daisy.repository.user.Role getRole(org.outerj.daisy.repository.user.Roles rolesToSearch, java.lang.String roleName)
roles
- the roles object to search the role inroleName
- the name of the role object to search in the roles object
public static org.outerj.daisy.repository.user.Role getRole(org.outerj.daisy.repository.user.Roles rolesToSearch, long roleId)
roles
- the roles object to search the role inroleId
- the data store id of the role object to search in the roles object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |