|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.portlets.lookup.PersonLookupHelperImpl
public class PersonLookupHelperImpl
Implements logic and helper methods for the person-lookup web flow.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
|
| Constructor Summary | |
|---|---|
PersonLookupHelperImpl()
|
|
| Method Summary | |
|---|---|
Map<String,org.jasig.services.persondir.IPersonAttributes> |
doPersonQuery(org.springframework.webflow.context.ExternalContext externalContext,
PersonQuery query)
Execute a query for users using the attributes in the passed PersonQuery object. |
Set<String> |
getDisplayAttributes(org.springframework.webflow.context.ExternalContext externalContext,
org.jasig.services.persondir.IPersonAttributes person)
Gets the Set of attributes to display in the user details view |
org.jasig.services.persondir.IPersonAttributeDao |
getPersonAttributeDao()
|
Set<String> |
getQueryAttributes(org.springframework.webflow.context.ExternalContext externalContext)
Gets the Set of attributes to allow the user to query with. |
Map<org.jasig.services.persondir.IPersonAttributes,String> |
getQueryDisplayResults(org.springframework.webflow.context.ExternalContext externalContext,
Collection<org.jasig.services.persondir.IPersonAttributes> queryResults)
Performs formatting of strings to display on the query results view. |
void |
setPersonAttributeDao(org.jasig.services.persondir.IPersonAttributeDao personLookupDao)
The IPersonAttributeDao used to perform lookups. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public PersonLookupHelperImpl()
| Method Detail |
|---|
public org.jasig.services.persondir.IPersonAttributeDao getPersonAttributeDao()
public void setPersonAttributeDao(org.jasig.services.persondir.IPersonAttributeDao personLookupDao)
IPersonAttributeDao used to perform lookups.
public Set<String> getQueryAttributes(org.springframework.webflow.context.ExternalContext externalContext)
IPersonLookupHelper
getQueryAttributes in interface IPersonLookupHelperexternalContext - The ExternalContext to get the flows's configuration from
public Map<String,org.jasig.services.persondir.IPersonAttributes> doPersonQuery(org.springframework.webflow.context.ExternalContext externalContext,
PersonQuery query)
IPersonLookupHelperPersonQuery object.
doPersonQuery in interface IPersonLookupHelperquery - Query to run for users.
public Map<org.jasig.services.persondir.IPersonAttributes,String> getQueryDisplayResults(org.springframework.webflow.context.ExternalContext externalContext,
Collection<org.jasig.services.persondir.IPersonAttributes> queryResults)
IPersonLookupHelper
getQueryDisplayResults in interface IPersonLookupHelperexternalContext - The ExternalContext to get the flows's configuration fromqueryResults - Results of the query
public Set<String> getDisplayAttributes(org.springframework.webflow.context.ExternalContext externalContext,
org.jasig.services.persondir.IPersonAttributes person)
IPersonLookupHelper
getDisplayAttributes in interface IPersonLookupHelperexternalContext - The ExternalContext to get the flows's configuration fromperson - The person who's attributes will be displayed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||