com.bea.wli.profile.management
Interface UserProfileMBean


public interface UserProfileMBean

MBean for wli user profile management.


Method Summary
 void deleteUserProfile(String userid)
          Removes this user information from the WLI database
 String getUserCalendarId(String userid)
          Retrieve the calendar id for this user
 String getUserEmail(String userid)
          Retrieve the email address for this user.
 int getUserProfilesCount()
           
 void syncUsers()
          Removes all profiles for users that do not exist in WLS
 void unsetUserCalendar(String userid)
          Unsets the calendar for this user.
 void updateUserCalendar(String userid, String calendarId)
          Sets the calendar for this user.
 void updateUserEmail(String userid, String email)
          Sets the email address for this user.
 

Method Detail

updateUserEmail

void updateUserEmail(String userid,
                     String email)
                     throws MBeanException
Sets the email address for this user. A user record is created if it does not exist in the WLI database. Exception is thrown if the user is not a valid WLS user.

Parameters:
userid -
email -
Throws:
MBeanException

getUserEmail

String getUserEmail(String userid)
                    throws MBeanException
Retrieve the email address for this user.

Parameters:
userid -
Returns:
The email address of the user or null if there is no email address is found.
Throws:
MBeanException

updateUserCalendar

void updateUserCalendar(String userid,
                        String calendarId)
                        throws MBeanException
Sets the calendar for this user. A user record is created if it does not exist in the WLI database. Exception is thrown if the calendar does not exist or the user is not a valid WLS user.

Parameters:
userid -
calendarId -
Throws:
MBeanException

unsetUserCalendar

void unsetUserCalendar(String userid)
                       throws MBeanException
Unsets the calendar for this user.

Parameters:
userid -
Throws:
MBeanException

getUserCalendarId

String getUserCalendarId(String userid)
                         throws MBeanException
Retrieve the calendar id for this user

Parameters:
userid -
Returns:
The calendar id for the user or null if there is no calendar.
Throws:
MBeanException

deleteUserProfile

void deleteUserProfile(String userid)
                       throws MBeanException
Removes this user information from the WLI database

Parameters:
userid -
Throws:
MBeanException

syncUsers

void syncUsers()
               throws MBeanException
Removes all profiles for users that do not exist in WLS

Throws:
MBeanException

getUserProfilesCount

int getUserProfilesCount()
                         throws MBeanException
Throws:
MBeanException