01: /* Copyright 2005 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: package org.jasig.portal.channels.cusermanager;
06:
07: import org.jasig.portal.security.IPerson;
08:
09: /**
10: * This interface uses the default org.jasig.portal.security.provider.PersonImpl of
11: * the IPerson object to send and recieve data arrays. These are not functional
12: * IPerson objects. Rather, the attributes of a person in the IPerson object are
13: * the key/value pairs of the column/values contained within the up_person_dir
14: * table.
15: *
16: * @author smb1@cornell.edu
17: * @version $Revision: 35585 $ $Date: 2005-04-17 12:17:13 -0700 (Sun, 17 Apr 2005) $
18: */
19:
20: public interface IDataHandler {
21:
22: public IPerson[] getAllUsers() throws Exception;
23:
24: public IPerson[] getAllUsersLike(String SearchString)
25: throws Exception;
26:
27: public IPerson getUser(String UID) throws Exception;
28:
29: public void setUserInformation(IPerson AnIndividual)
30: throws Exception;
31:
32: public void addUser(IPerson AnIndividual) throws Exception;
33:
34: public void removeUser(IPerson AnIndividual) throws Exception;
35:
36: /** OriginalPassword is null if called in "UserManager" mode. */
37: public void setUserPassword(IPerson AnIndividual,
38: String OriginalPassword) throws Exception;
39: }// eoi
|