01: /* Copyright 2004 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.services.persondir.support;
07:
08: import java.util.HashMap;
09: import java.util.Map;
10: import java.util.Set;
11:
12: /**
13: * Simply returns the seed it is passed.
14: *
15: * @author Eric Dalquist <a href="mailto:edalquist@unicon.net">edalquist@unicon.net</a>
16: * @version $Revision: 35515 $ $Date: 2005-04-06 08:31:40 -0700 (Wed, 06 Apr 2005) $
17: * @since uPortal 2.5
18: */
19: public class EchoPersonAttributeDaoImpl extends
20: AbstractDefaultQueryPersonAttributeDao {
21:
22: /**
23: * Returns a duplicate of the seed it is passed.
24: * @return a Map equal to but not the same reference as the seed.
25: * @see org.jasig.portal.services.persondir.IPersonAttributeDao#getUserAttributes(java.util.Map)
26: */
27: public Map getUserAttributes(final Map seed) {
28: return new HashMap(seed);
29: }
30:
31: /**
32: * Possible attributes are unknown; will always return <code>null</code>.
33: * @return null
34: * @see org.jasig.portal.services.persondir.IPersonAttributeDao#getPossibleUserAttributeNames()
35: */
36: public Set getPossibleUserAttributeNames() {
37: return null;
38: }
39:
40: }
|