|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.vt.middleware.registry.common.CommonRegistryFinder
edu.vt.middleware.registry.manage.group.RegistryFinder
public final class RegistryFinder
RegistryFinder provides methods for doing registry searches
with entity beans.
| Field Summary | |
|---|---|
private static Log |
LOG
Log for this class |
| Constructor Summary | |
|---|---|
RegistryFinder(EntityManager em)
This creates a RegistryFinder with the supplied Entity Manager. |
|
| Method Summary | |
|---|---|
Long |
getContact(String uugid)
This returns the contact person uid for the supplied group. |
boolean |
hasPersonInRole(String uugid,
RoleType role)
This returns whether the supplied group has any person in the supplied role. |
boolean |
isGroupNestedMember(String parentUugid,
String childUugid)
This returns whether the child group is a nested member of the parent group. |
boolean |
isPersonInRole(String uugid,
Long uid,
RoleType role)
This returns whether the person with the supplied uid is in the supplied role for the supplied group. |
boolean |
isServiceInRole(String uugid,
String uusid,
RoleType role)
This returns whether the service with the supplied uusid is in the supplied role for the supplied group. |
| Methods inherited from class edu.vt.middleware.registry.common.CommonRegistryFinder |
|---|
emailAccountExists, entitlementExists, flushAndRefresh, getAccountState, getDataTypes, getEntitlementData, getEntityManager, getGroup, getGroup, getPerson, getPerson, getPersonUid, getService, getService, getTicket, getTicket, getUserid, groupExists, guestIdExists, personExists, serviceExists, ticketExists |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final Log LOG
| Constructor Detail |
|---|
public RegistryFinder(EntityManager em)
em - EntityManager| Method Detail |
|---|
public boolean isPersonInRole(String uugid,
Long uid,
RoleType role)
throws ApplicationServerException
uugid - Stringuid - Longrole - RoleType
boolean
ApplicationServerException - if the method fails
public boolean hasPersonInRole(String uugid,
RoleType role)
throws ApplicationServerException
uugid - Stringrole - RoleType
boolean
ApplicationServerException - if the method fails
public boolean isServiceInRole(String uugid,
String uusid,
RoleType role)
throws ApplicationServerException
uugid - Stringuusid - Stringrole - RoleType
boolean
ApplicationServerException - if the method fails
public Long getContact(String uugid)
throws ApplicationServerException
uugid - String
Long uid of contact person
ApplicationServerException - if the method fails
public boolean isGroupNestedMember(String parentUugid,
String childUugid)
throws ApplicationServerException
parentUugid - StringchildUugid - String
boolean
ApplicationServerException - if the method fails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||