public interface GroupOperations
| Modifier and Type | Method and Description |
|---|---|
void |
addCommentToPost(java.lang.String postId,
java.lang.String text)
Add a Comment to a Post
|
java.net.URI |
createPost(java.lang.Integer groupId,
java.lang.String title,
java.lang.String summary)
Create a Post
|
void |
deleteGroupSuggestion(java.lang.Integer groupId)
Delete Group Suggestion
|
void |
deleteOrFlagCommentAsInappropriate(java.lang.String commentId)
Delete a Comment (if group administrator) or flag as inappropriate
|
void |
deleteOrFlagPostAsInappropriate(java.lang.String postId)
Delete a Post (if group administrator) or flag as inappropriate
|
void |
flagPostAsJob(java.lang.String postId)
Flag a Post as a Job
|
void |
flagPostAsPromotion(java.lang.String postId)
Flag a Post as a Promotion
|
void |
followPost(java.lang.String postId)
Follow a Post
|
Group |
getGroupDetails(java.lang.Integer id)
Get Details for a Group
|
GroupMemberships |
getGroupMemberships()
Get List of Groups a User is a member of
|
GroupMemberships |
getGroupMemberships(int start,
int count)
Get List of Groups a User is a member of
|
GroupSuggestions |
getGroupSuggestions()
Get List of Group Suggestions for a User
|
GroupSuggestions |
getGroupSuggestions(int start,
int count)
Get List of Group Suggestions for a User
|
PostComments |
getPostComments(java.lang.String postId)
Get List of Comments on a Post
|
PostComments |
getPostComments(java.lang.String postId,
int start,
int count)
Get List of Comments on a Post
|
Group.GroupPosts |
getPosts(java.lang.Integer groupId)
Get List of Posts for a group in time order
|
Group.GroupPosts |
getPosts(java.lang.Integer groupId,
int start,
int count)
Get List of Posts for a group in time order
|
void |
joinGroup(java.lang.Integer groupId)
Join a Group
|
void |
leaveGroup(java.lang.Integer groupId)
Leave a Group
|
void |
likePost(java.lang.String postId)
Like a Post
|
void |
unfollowPost(java.lang.String postId)
Like a Post
|
void |
unlikePost(java.lang.String postId)
Unlike a Post
|
Group getGroupDetails(java.lang.Integer id)
id - Id of GroupGroupMemberships getGroupMemberships()
GroupMemberships getGroupMemberships(int start, int count)
start - First Group to returncount - Number of Groups to returnGroupSuggestions getGroupSuggestions()
GroupSuggestions getGroupSuggestions(int start, int count)
start - First Group to returncount - Number of Groups to returnvoid joinGroup(java.lang.Integer groupId)
groupId - Id of Groupvoid leaveGroup(java.lang.Integer groupId)
groupId - Id of GroupGroup.GroupPosts getPosts(java.lang.Integer groupId)
groupId - Id of GroupGroup.GroupPosts getPosts(java.lang.Integer groupId, int start, int count)
groupId - Id of Groupstart - First Post to returncount - Number of Posts to returnPostComments getPostComments(java.lang.String postId)
postId - Id of PostPostComments getPostComments(java.lang.String postId, int start, int count)
postId - Id of Poststart - First Post to returncount - Number of Posts to returnjava.net.URI createPost(java.lang.Integer groupId,
java.lang.String title,
java.lang.String summary)
groupId - Group to Create Post ontitle - Title of Postsummary - Text of Postvoid likePost(java.lang.String postId)
postId - Id of Postvoid unlikePost(java.lang.String postId)
postId - Id of Postvoid followPost(java.lang.String postId)
postId - Id of Postvoid unfollowPost(java.lang.String postId)
postId - Id of Postvoid flagPostAsJob(java.lang.String postId)
postId - Id of Postvoid flagPostAsPromotion(java.lang.String postId)
postId - Id of Postvoid deleteOrFlagPostAsInappropriate(java.lang.String postId)
postId - Id of Postvoid addCommentToPost(java.lang.String postId,
java.lang.String text)
postId - Id of Posttext - Text of Commentvoid deleteOrFlagCommentAsInappropriate(java.lang.String commentId)
commentId - Id of Commentvoid deleteGroupSuggestion(java.lang.Integer groupId)
groupId - Id of Group