|
Oracle© Collaboration Suite Workspaces Web Services API Reference 10g Release 1 (10.1.2.2) Part No. B28209-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MeetingsService provides methods to operate on meetings in a workspace.
The major operations supported include:
// Invoke an instance of meeting service locator and get a handle to meeting service. MeetingsServiceServiceLocator mssl = new MeetingsServiceServiceLocator(); MeetingsService meetingService = mssl.getMeetingsService(); //Create a meeting definition object MeetingDefinition mtngDef = new MeetingDefinition(); mtngDef.setName("My Meeting1"); mtngDef.setLocation("meetingRoom1"); mtngDef.setDescription("Meeting1 description"); mtngDef.setStartTime(new Calendar()); mtngDef.setEndTime(toCal(en)); mtngDef.setEventType("APPOINTMENT"); mtngDef.setAttendingType("ALL"); // invoke method to create a meeting meetingService.createMeeting(wspcId,mtngDef); // wspcId is the Uid of workspace in which the meeting is created.
Method Summary | |
MeetingResourceItem |
createMeeting(java.lang.String wspcId, MeetingDefinition eventDef) Creates a meeting in the workspace agenda and returns it. |
void |
deleteAllMeetingInstances(java.lang.String wspcId, java.lang.String meetingId) Deletes all meeting instances of a repeating event in the workspace agenda. |
void |
deleteMeeting(java.lang.String wspcId, java.lang.String meetingId) Deletes a single meeting instance in the workspace agenda |
AttendeeFreeBusy[] |
getAttendeeFreeBusys(java.lang.String wspcId, java.util.Calendar beginTime, java.util.Calendar endTime, CalendarAttendee[] attendees) Returns the results of given users/resources free busy status given a time frame. |
MeetingResourceItem |
getMeetingByUid(java.lang.String wspcId, java.lang.String meetingId) Get a meeting instance in the workspace agenda by its Id. |
MeetingResourceItem[] |
getMeetingInstances(java.lang.String wspcId, java.lang.String meetingId) Get all instances of a repeating meeting. |
java.lang.String |
getMyParticipationStatus(java.lang.String wspcId, java.lang.String meetingId) Returns participating status for the current user. |
MeetingResourceItem[] |
listAllMeetings(java.lang.String wspcId, boolean bSort) Get all meetings in this workspace agenda. |
MeetingResourceItem[] |
listMeetingsByRange(java.lang.String wspcId, java.util.Calendar beginDate, java.util.Calendar endDate, boolean bSort) Get meetings in workspace agenda that occur within the time range specified. |
void |
setParticipationStatus(java.lang.String wspcId, java.lang.String meetingId, java.lang.String status, java.lang.String showAsFree) Sets the participating status for the current user. |
void |
setParticipationStatusForAllInstances(java.lang.String wspcId, java.lang.String meetingId, java.lang.String status, java.lang.String showAsFree) Sets the participating status for the current user for all instances of this meeting. |
void |
updateAllMeetingInstances(java.lang.String wspcId, MeetingResourceItem meetingResourceItem) Update all instances of repeating meeting. |
void |
updateMeeting(java.lang.String wspcId, MeetingResourceItem meetingResourceItem) Update the meeting |
Method Detail |
public MeetingResourceItem createMeeting(java.lang.String wspcId, MeetingDefinition eventDef) throws CwWSException
wspcId
- - Id of the workspaceeventDef
- - The definition for the new meeting to be createdCwWSException
- - If the workspace Id or the meeting definition properties are invalid.public void deleteMeeting(java.lang.String wspcId, java.lang.String meetingId) throws CwWSException
wspcId
- - Id of the workspacemeetingId
- - Id of the meeting instance to be deletedCwWSException
- - If the workspace Id or meeting Id is invalid.public void deleteAllMeetingInstances(java.lang.String wspcId, java.lang.String meetingId) throws CwWSException
wspcId
- - Id of the workspacemeetingId
- - Id of the meeting to be deletedCwWSException
- - If the workspace Id or meeting Id is invalid.public void updateMeeting(java.lang.String wspcId, MeetingResourceItem meetingResourceItem) throws CwWSException
wspcId
- - Id of the workspacemeetingResourceItem
- - The meetingResourceItem that needs to be updatedCwWSException
- - If the workspace Id or if the properties of the meeting resource item are invalid.public void updateAllMeetingInstances(java.lang.String wspcId, MeetingResourceItem meetingResourceItem) throws CwWSException
wspcId
- - Id of the workspacemeetingResourceItem
- - The meetingResourceItem that needs to be updatedCwWSException
- - If the workspace Id or If the properties of the meeting resource item are invalid or If the meeting is not a repeating meeting or If the start date of the meeting is changed.public MeetingResourceItem[] listMeetingsByRange(java.lang.String wspcId, java.util.Calendar beginDate, java.util.Calendar endDate, boolean bSort) throws CwWSException
wspcId
- - Id of the workspacebeginDate
- - Start date for the rangeendDate
- - End date for the rangebSort
- - Specifies that results will be sorted in starttime (ascending)CwWSException
- - If the workspace Id or the dates are invalid.public MeetingResourceItem[] getMeetingInstances(java.lang.String wspcId, java.lang.String meetingId) throws CwWSException
wspcId
- - Id of the workspacemeetingId
- - Id of the meetingCwWSException
- - If the workspace Id or meeting Id is invalid.public AttendeeFreeBusy[] getAttendeeFreeBusys(java.lang.String wspcId, java.util.Calendar beginTime, java.util.Calendar endTime, CalendarAttendee[] attendees) throws CwWSException
wspcId
- - Id of the workspacebeginTime
- - Start time for the rangeendTime
- - End time for the rangeattendees
- - Attendees to check uponCwWSException
- - If the workspace Id or dates are invalid or If the list of attendees is invalid.public MeetingResourceItem getMeetingByUid(java.lang.String wspcId, java.lang.String meetingId) throws CwWSException
wspcId
- - Id of the workspacemeetingId
- - Id of the meetingCwWSException
- - If the workspace Id or meeting Id is invalid.public MeetingResourceItem[] listAllMeetings(java.lang.String wspcId, boolean bSort) throws CwWSException
wspcId
- - Id of the workspacebSort
- - Specifies that results will be sorted in ascending order of start-timeCwWSException
- - If the workspace Id is invalid.public java.lang.String getMyParticipationStatus(java.lang.String wspcId, java.lang.String meetingId) throws CwWSException
wspcId
- - Id of the workspacemeetingId
- - Id of the meetingCwWSException
- - If the workspace Id or meeting Id is invalid.public void setParticipationStatus(java.lang.String wspcId, java.lang.String meetingId, java.lang.String status, java.lang.String showAsFree) throws CwWSException
wspcId
- - Id of the workspacemeetingId
- - Id of the meetingstatus
- - Status to be set for the user for the meeting Values could be NEEDS-ACTION, ACCEPTED, DECLINED, TENTATIVE (ACCEPT but prefer another time)showAsFree
- - overwrite the free/busy status, and values could be FREE, BUSY , OUT, TENTATIVECwWSException
- - If the workspace Id or meeting Id is invalid or If the status or showAsFree values are invalid.public void setParticipationStatusForAllInstances(java.lang.String wspcId, java.lang.String meetingId, java.lang.String status, java.lang.String showAsFree) throws CwWSException
wspcId
- - Id of the workspacemeetingId
- - Id of the meetingstatus
- - Status to be set for the user for the meeting Values could be NEEDS-ACTION, ACCEPTED, DECLINED, TENTATIVE (ACCEPT but prefer another time)showAsFree
- - overwrite the free/busy status, and values could be FREE, BUSY , OUT, TENTATIVECwWSException
- - If the workspace Id or meeting Id is invalid or If the status or showAsFree values are invalid.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |