|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBean for configuring business calendars.
Field Summary | |
static long |
CACHING_STUB_SVUID
The magic number that is used to generate the serialVersionUID of the generated MBean Stub (xxxMBean_Stub). |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
boolean |
calendarNameExists(String name)
Checks if a calendar with the given name exists. |
void |
createCalendar(com.bea.wli.calendar.schema.CalendarDocument cDoc)
Creates a new calendar from the information passed in the CalendarDocument. |
void |
deleteCalendar(String calendarName)
|
void |
deleteCalendars(String[] names)
|
String[] |
getAllCalendarNames()
|
com.bea.wli.calendar.schema.CalendarDocument[] |
getAllCalendars()
Gets all calendars, includin rules info and mapped groups and users |
com.bea.wli.calendar.schema.CalendarDocument |
getCalendar(String calendarName)
|
com.bea.wli.calendar.schema.CalendarDocument |
getGroupCalendar(String groupId)
|
com.bea.wli.calendar.schema.CalendarDocument |
getSystemCalendar()
|
com.bea.wli.calendar.schema.CalendarDocument |
getUserCalendar(String userId)
|
void |
setGroupCalendar(String groupId,
String calendarName)
|
void |
setUserCalendar(String userId,
String calendarName)
Set the user's calendar. |
boolean |
systemCalendarExists()
|
void |
unsetGroupCalendar(String groupId)
|
void |
unsetUserCalendar(String userId)
|
void |
updateCalendar(String oldCalendarName,
com.bea.wli.calendar.schema.CalendarDocument cDoc)
Update the calendar - oldCalendarName, using the passed CalendarDocument. |
void |
updateSystemCalendar(com.bea.wli.calendar.schema.CalendarDocument cDoc)
Update the system calendar using the passed CalendarDocument. |
Methods inherited 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 inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister, postRegister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
public static final long CACHING_STUB_SVUID
- 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 |
public boolean calendarNameExists(String name) throws javax.management.MBeanException
name
-
javax.management.MBeanException
public void createCalendar(com.bea.wli.calendar.schema.CalendarDocument cDoc) throws javax.management.MBeanException
cDoc
-
javax.management.MBeanException
- - if a calendar with the given name exists or of the document is not valid.public com.bea.wli.calendar.schema.CalendarDocument getCalendar(String calendarName) throws javax.management.MBeanException
calendarName
-
javax.management.MBeanException
public void updateCalendar(String oldCalendarName, com.bea.wli.calendar.schema.CalendarDocument cDoc) throws javax.management.MBeanException
oldCalendarName
- cDoc
-
javax.management.MBeanException
public void updateSystemCalendar(com.bea.wli.calendar.schema.CalendarDocument cDoc) throws javax.management.MBeanException
cDoc
-
javax.management.MBeanException
public void deleteCalendar(String calendarName) throws javax.management.MBeanException
calendarName
-
javax.management.MBeanException
public void deleteCalendars(String[] names) throws javax.management.MBeanException
names
-
javax.management.MBeanException
public boolean systemCalendarExists() throws javax.management.MBeanException
javax.management.MBeanException
public com.bea.wli.calendar.schema.CalendarDocument getSystemCalendar() throws javax.management.MBeanException
javax.management.MBeanException
public String[] getAllCalendarNames() throws javax.management.MBeanException
javax.management.MBeanException
public com.bea.wli.calendar.schema.CalendarDocument[] getAllCalendars() throws javax.management.MBeanException
javax.management.MBeanException
public void setUserCalendar(String userId, String calendarName) throws javax.management.MBeanException
userId
- calendarName
-
javax.management.MBeanException
public void unsetUserCalendar(String userId) throws javax.management.MBeanException
userId
-
javax.management.MBeanException
public com.bea.wli.calendar.schema.CalendarDocument getUserCalendar(String userId) throws javax.management.MBeanException
userId
-
javax.management.MBeanException
public void setGroupCalendar(String groupId, String calendarName) throws javax.management.MBeanException
groupId
- calendarName
-
javax.management.MBeanException
public void unsetGroupCalendar(String groupId) throws javax.management.MBeanException
groupId
-
javax.management.MBeanException
public com.bea.wli.calendar.schema.CalendarDocument getGroupCalendar(String groupId) throws javax.management.MBeanException
groupId
-
javax.management.MBeanException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |