|
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 | |||||||||
Workspace members can post announcements at the workspace level - AnnouncementsService provides methods to operate on announcements in a workspace.
The major operations supported include: creation, update, retrieval and deletion of announcements
| Method Summary | |
AnnouncementItem |
createAnnouncement(java.lang.String wspcUid, AnnouncementDefinition aDef)Create an announcement |
void |
deleteAnnouncements(java.lang.String wspcUid, java.lang.String[] announcementUids)Delete the specified announcements within a workspace. |
void |
deleteExpiredAnnouncements(java.lang.String wspcUid)Delete all expired announcements within a workspace. |
AnnouncementItem |
getAnnouncementByUid(java.lang.String wspcUid, java.lang.String announcementUid)Get an announcement by its id |
AnnouncementItem[] |
listAllAnnouncements(java.lang.String wspcUid)List all announcements within a workspace |
AnnouncementItem[] |
listExpiredAnnouncements(java.lang.String wspcUid)List all expired announcements within a workspace. |
AnnouncementItem[] |
listUnExpiredAnnouncements(java.lang.String wspcUid)List all unexpired announcements within a workspace |
void |
updateAnnouncement(java.lang.String wspcUid, AnnouncementItem aItem)Update announcement |
| Method Detail |
public AnnouncementItem createAnnouncement(java.lang.String wspcUid,
AnnouncementDefinition aDef)
throws CwWSException
wspcUid - - UID of the workspaceaDef - The values that can be set are:
CwWSException - - If objects passed are null or invalid
public AnnouncementItem getAnnouncementByUid(java.lang.String wspcUid,
java.lang.String announcementUid)
throws CwWSException
wspcUid - -UID of the workspaceannouncementUid - - Announcement UID to be fetchedCwWSException - - If objects passed are null or invalid
public void updateAnnouncement(java.lang.String wspcUid,
AnnouncementItem aItem)
throws CwWSException
wspcUid - - UID of the workspaceaItem - - AnnouncementItem with modified values to be updatedCwWSException - - If objects passed are null or invalid
public void deleteExpiredAnnouncements(java.lang.String wspcUid)
throws CwWSException
wspcUid - - UID of the workspaceCwWSException - - If objects passed are null or invalid
public AnnouncementItem[] listAllAnnouncements(java.lang.String wspcUid)
throws CwWSException
wspcUid - - UID of the workspace
Range based listing is not implemented in the current version.
CwWSException - - If objects passed are null or invalid
public AnnouncementItem[] listExpiredAnnouncements(java.lang.String wspcUid)
throws CwWSException
wspcUid - - UID of the workspace
Range based listing is not implemented in the current version.
CwWSException - - If objects passed are null or invalid
public AnnouncementItem[] listUnExpiredAnnouncements(java.lang.String wspcUid)
throws CwWSException
wspcUid - - UID of the workspace
Range based listing is not implemented in the current version.
CwWSException - - If objects passed are null or invalid
public void deleteAnnouncements(java.lang.String wspcUid,
java.lang.String[] announcementUids)
throws CwWSException
wspcUid - - UID of the workspaceannouncementUids - - List of announcement UIDsCwWSException - - If objects passed are null or invalid
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||