|
|||||||||
| 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.password.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 | |
|---|---|
String |
getExternalEmailAddress(Long uid)
This returns the external email address for the supplied user id. |
List<String> |
getPasswords(String userid)
This returns the 'SHA-1' passwords for the supplied user id. |
List<PasswordQuestion> |
getQuestions(String userid)
This returns the password questions for the supplied user id. |
| 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 List<String> getPasswords(String userid)
throws ApplicationServerException
userid - String
List - of passwords
ApplicationServerException - if the method fails
FinderFailedException - if more than 1 uupid exists
public List<PasswordQuestion> getQuestions(String userid)
throws ApplicationServerException
userid - String
List - of password questions
ApplicationServerException - if the method fails
FinderFailedException - if more than 1 uupid exists
public String getExternalEmailAddress(Long uid)
throws ApplicationServerException
uid - Long
String - external email address
ApplicationServerException - if the method fails
FinderFailedException - if more than 1 uupid exists
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||