org.sakaiproject.service.legacy.user.cover
Class UserDirectoryService

java.lang.Object
  extended byorg.sakaiproject.service.legacy.user.cover.UserDirectoryService

public class UserDirectoryService
extends Object

UserDirectoryService is a static Cover for the UserDirectoryService; see that interface for usage details.

Version:
$Revision: 5970 $
Author:
University of Michigan, Sakai Software Development Team

Field Summary
static String REFERENCE_ROOT
           
static String SECURE_ADD_USER
           
static String SECURE_REMOVE_USER
           
static String SECURE_UPDATE_USER_ANY
           
static String SECURE_UPDATE_USER_OWN
           
static String SERVICE_NAME
           
 
Constructor Summary
UserDirectoryService()
           
 
Method Summary
static UserEdit addUser(String param0)
           
static User addUser(String param0, String param1, String param2, String param3, String param4, String param5, ResourceProperties param6)
           
static boolean allowAddUser(String param0)
           
static boolean allowRemoveUser(String param0)
           
static boolean allowUpdateUser(String param0)
           
static User authenticate(String param0, String param1)
           
static void cancelEdit(UserEdit param0)
           
static void commitEdit(UserEdit param0)
           
static int countSearchUsers(String param0)
           
static int countUsers()
           
static void destroyAuthentication()
           
static UserEdit editUser(String param0)
           
static Collection findUsersByEmail(String param0)
           
static User getAnonymousUser()
           
static User getCurrentUser()
           
static UserDirectoryService getInstance()
          Access the component instance: special cover only method.
static User getUser(String param0)
           
static User getUserByEid(String param0)
           
static List getUsers()
           
static List getUsers(Collection param0)
           
static List getUsers(int param0, int param1)
           
static UserEdit mergeUser(Element param0)
           
static void removeUser(UserEdit param0)
           
static List searchUsers(String param0, int param1, int param2)
           
static String userReference(String param0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_NAME

public static String SERVICE_NAME

REFERENCE_ROOT

public static String REFERENCE_ROOT

SECURE_ADD_USER

public static String SECURE_ADD_USER

SECURE_REMOVE_USER

public static String SECURE_REMOVE_USER

SECURE_UPDATE_USER_OWN

public static String SECURE_UPDATE_USER_OWN

SECURE_UPDATE_USER_ANY

public static String SECURE_UPDATE_USER_ANY
Constructor Detail

UserDirectoryService

public UserDirectoryService()
Method Detail

getInstance

public static UserDirectoryService getInstance()
Access the component instance: special cover only method.

Returns:
the component instance.

getUser

public static User getUser(String param0)
                    throws IdUnusedException
Throws:
IdUnusedException

getUserByEid

public static User getUserByEid(String param0)
                         throws IdUnusedException
Throws:
IdUnusedException

getUsers

public static List getUsers(Collection param0)

getUsers

public static List getUsers()

getUsers

public static List getUsers(int param0,
                            int param1)

getCurrentUser

public static User getCurrentUser()

findUsersByEmail

public static Collection findUsersByEmail(String param0)

allowUpdateUser

public static boolean allowUpdateUser(String param0)

editUser

public static UserEdit editUser(String param0)
                         throws IdUnusedException,
                                PermissionException,
                                InUseException
Throws:
IdUnusedException
PermissionException
InUseException

commitEdit

public static void commitEdit(UserEdit param0)
                       throws IdUsedException
Throws:
IdUsedException

cancelEdit

public static void cancelEdit(UserEdit param0)

getAnonymousUser

public static User getAnonymousUser()

countUsers

public static int countUsers()

searchUsers

public static List searchUsers(String param0,
                               int param1,
                               int param2)

countSearchUsers

public static int countSearchUsers(String param0)

allowAddUser

public static boolean allowAddUser(String param0)

addUser

public static UserEdit addUser(String param0)
                        throws IdInvalidException,
                               IdUsedException,
                               PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

addUser

public static User addUser(String param0,
                           String param1,
                           String param2,
                           String param3,
                           String param4,
                           String param5,
                           ResourceProperties param6)
                    throws IdInvalidException,
                           IdUsedException,
                           PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

mergeUser

public static UserEdit mergeUser(Element param0)
                          throws IdInvalidException,
                                 IdUsedException,
                                 PermissionException
Throws:
IdInvalidException
IdUsedException
PermissionException

allowRemoveUser

public static boolean allowRemoveUser(String param0)

removeUser

public static void removeUser(UserEdit param0)
                       throws PermissionException
Throws:
PermissionException

authenticate

public static User authenticate(String param0,
                                String param1)

destroyAuthentication

public static void destroyAuthentication()

userReference

public static String userReference(String param0)