UserInfoConfigurationMBean Interface

com.bea.wli.management.configuration
UserInfoConfigurationMBean Interface

public interface UserInfoConfigurationMBean

    extends ConfigurationMBean

Configuration MBean interface for Users in WLI.


All Superinterfaces
ConfigurationMBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, WebLogicMBean

Field Summary

public static final long
CACHING_STUB_SVUID
The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub).
   
Fields from interface weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 

Method Summary

public void
deleteWLIUserInfo(String userid)
Removes this user information from the WLI database
public String
getUserCalendarId(String userid)
Retrieve the calendar id for this user
public String
getUserEmail(String userid)
Retrieve the email address for this user.
public void
sync()
Removes all users from the WLI database that do not exist in WLS
public void
unsetUserCalendar(String userid)
Unsets the calendar for this user.
public void
updateUserCalendar(String userid, String calendarId)
Sets the calendar for this user.
public void
updateUserEmail(String userid, String email)
Sets the email address for this user.
 
Methods from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean
 
Methods from interface javax.management.DynamicMBean
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
   

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub). You must change this value whenever you make one of the changes to this interface:

- remove an existing method.
- change the signature of an existing "getter" or "setter" method.
- change the signature of an existing "boolean getter", i.e, "boolean isEnabled()"

Otherwise you don't need to change this value. For instance you can add new methods, or you can change the signature of methods that don't start with "get", "set" or "is". If you are in doubt then change the SVUID. It is a good idea to increment this value when changing.

 

Method Detail

deleteWLIUserInfo(String) Method

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

Exceptions

MBeanException

getUserCalendarId(String) Method

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

Returns

The calendar id for the user or null if there is no calendar.

Exceptions

MBeanException

getUserEmail(String) Method

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

Returns

The email address of the user or null if there is no email address is found.

Exceptions

MBeanException

sync() Method

public void sync()
throws MBeanException
Removes all users from the WLI database that do not exist in WLS

Exceptions

MBeanException

unsetUserCalendar(String) Method

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

Exceptions

MBeanException

updateUserCalendar(String, String) Method

public 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.

Exceptions

MBeanException

updateUserEmail(String, String) Method

public 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.

Exceptions

MBeanException