org.jasig.services.persondir.support.xml
Class XmlPersonAttributeDao
java.lang.Object
org.jasig.services.persondir.support.BasePersonAttributeDao
org.jasig.services.persondir.support.AbstractFlatteningPersonAttributeDao
org.jasig.services.persondir.support.AbstractDefaultAttributePersonAttributeDao
org.jasig.services.persondir.support.xml.XmlPersonAttributeDao
- All Implemented Interfaces:
- IPersonAttributeDao, org.springframework.beans.factory.InitializingBean
public class XmlPersonAttributeDao
- extends AbstractDefaultAttributePersonAttributeDao
- implements org.springframework.beans.factory.InitializingBean
XML backed person attribute DAO that supports wildcard searching. The XML files provided must conform to the
PersonData.xsd which resides at the root of the classpath.
- Version:
- $Revision$
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlPersonAttributeDao
public XmlPersonAttributeDao()
getJaxbLoader
public CachingJaxbLoader<PersonData> getJaxbLoader()
setJaxbLoader
public void setJaxbLoader(CachingJaxbLoader<PersonData> jaxbLoader)
- The
CachingJaxbLoader to use to load the PersonData, if set the mappedXmlResource property is
ignored.
getMappedXmlResource
public org.springframework.core.io.Resource getMappedXmlResource()
setMappedXmlResource
public void setMappedXmlResource(org.springframework.core.io.Resource mappedXmlResource)
- The XML
Resource to load the PersonData from, required if the jaxbLoader property is not set.
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getAvailableQueryAttributes
public Set<String> getAvailableQueryAttributes()
- Specified by:
getAvailableQueryAttributes in interface IPersonAttributeDao
getPossibleUserAttributeNames
public Set<String> getPossibleUserAttributeNames()
- Specified by:
getPossibleUserAttributeNames in interface IPersonAttributeDao
getPerson
public IPersonAttributes getPerson(String uid)
- Specified by:
getPerson in interface IPersonAttributeDao- Overrides:
getPerson in class AbstractDefaultAttributePersonAttributeDao
- See Also:
IPersonAttributeDao.getPerson(java.lang.String)
getPeopleWithMultivaluedAttributes
public Set<IPersonAttributes> getPeopleWithMultivaluedAttributes(Map<String,List<Object>> query)
- Specified by:
getPeopleWithMultivaluedAttributes in interface IPersonAttributeDao
Copyright © 2012 Jasig. All Rights Reserved.