public class StatusAPI extends BaseAPI
| Constructor and Description |
|---|
StatusAPI(ResourceFactory resourceFactory) |
| Modifier and Type | Method and Description |
|---|---|
int |
createStatus(int spaceId,
StatusCreate status)
Creates a new status message for a user on a specific space.
|
void |
deleteStatus(int statusId)
This is used to delete a status message.
|
StatusFull |
getStatus(int statusId)
Retrieves a status message by its id.
|
void |
updateStatus(int statusId,
StatusUpdate update)
This will update an existing status message.
|
getResourceFactorypublic StatusAPI(ResourceFactory resourceFactory)
public int createStatus(int spaceId,
StatusCreate status)
status - The data for the new status messagepublic void deleteStatus(int statusId)
statusId - The id of the status to deletepublic StatusFull getStatus(int statusId)
statusId - The id of the statuspublic void updateStatus(int statusId,
StatusUpdate update)
statusId - The id of the status to be updatedupdate - The new data for the statusCopyright © 2014. All Rights Reserved.