public class AnnouncementController extends AbstractController
credential, gson| Constructor and Description |
|---|
AnnouncementController(SakaiCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
Announcement |
get(String id) |
Announcement |
message(String siteId,
String messageId) |
Announcement[] |
motd() |
Announcement |
msg(String siteId,
String channelId,
String announcementId) |
Announcement[] |
site(String siteId) |
Announcement[] |
user() |
bodyPost, getStream, getStream, jsonDelete, jsonGet, jsonPost, jsonPutpublic AnnouncementController(@NotNull
SakaiCredential credential)
@NotNull public Announcement get(@NotNull String id) throws IOException, HttpCodeException
IOExceptionHttpCodeException@NotNull public Announcement message(@NotNull String siteId, @NotNull String messageId) throws IOException
IOException@NotNull public Announcement[] site(@NotNull String siteId) throws IOException
IOException@NotNull public Announcement[] motd() throws IOException
IOException@NotNull public Announcement msg(@NotNull String siteId, @NotNull String channelId, @NotNull String announcementId) throws IOException
IOException@NotNull public Announcement[] user() throws IOException
IOExceptionCopyright © 2016. All rights reserved.