public class AnnouncementController extends AbstractSakaiController
credential, gson| Constructor and Description |
|---|
AnnouncementController(SakaiCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
com.github.deinok.threading.Task<Announcement> |
get(String id) |
com.github.deinok.threading.Task<Announcement> |
message(String siteId,
String messageId) |
com.github.deinok.threading.Task<Announcement[]> |
motd() |
com.github.deinok.threading.Task<Announcement> |
msg(String siteId,
String channelId,
String announcementId) |
com.github.deinok.threading.Task<Announcement[]> |
site(String siteId) |
com.github.deinok.threading.Task<Announcement[]> |
user() |
getBody, getBody, getCode, getCode, getInputStream, getInputStream, getJson, getJson, jsonPost, jsonPost, jsonPost, jsonPost, postBody, postBody, postBody, postBody, postCode, postCode, postCode, postCodepublic AnnouncementController(@NotNull
SakaiCredential credential)
@NotNull public com.github.deinok.threading.Task<Announcement> get(@NotNull String id) throws IOException, HttpCodeException
IOExceptionHttpCodeException@NotNull public com.github.deinok.threading.Task<Announcement> message(@NotNull String siteId, @NotNull String messageId) throws IOException
IOException@NotNull public com.github.deinok.threading.Task<Announcement[]> site(@NotNull String siteId) throws IOException
IOException@NotNull public com.github.deinok.threading.Task<Announcement[]> motd() throws IOException
IOException@NotNull public com.github.deinok.threading.Task<Announcement> msg(@NotNull String siteId, @NotNull String channelId, @NotNull String announcementId) throws IOException
IOException@NotNull public com.github.deinok.threading.Task<Announcement[]> user() throws IOException
IOExceptionCopyright © 2017. All rights reserved.