|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GroupOperations
Operations on LinkedIn Group API
| Method Summary | |
|---|---|
void |
addCommentToPost(String postId,
String text)
Add a Comment to a Post |
URI |
createPost(Integer groupId,
String title,
String summary)
Create a Post |
void |
deleteGroupSuggestion(Integer groupId)
Delete Group Suggestion |
void |
deleteOrFlagCommentAsInappropriate(String commentId)
Delete a Comment (if group administrator) or flag as inappropriate |
void |
deleteOrFlagPostAsInappropriate(String postId)
Delete a Post (if group administrator) or flag as inappropriate |
void |
flagPostAsJob(String postId)
Flag a Post as a Job |
void |
flagPostAsPromotion(String postId)
Flag a Post as a Promotion |
void |
followPost(String postId)
Follow a Post |
Group |
getGroupDetails(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(String postId)
Get List of Comments on a Post |
PostComments |
getPostComments(String postId,
int start,
int count)
Get List of Comments on a Post |
Group.GroupPosts |
getPosts(Integer groupId)
Get List of Posts for a group in time order |
Group.GroupPosts |
getPosts(Integer groupId,
int start,
int count)
Get List of Posts for a group in time order |
void |
joinGroup(Integer groupId)
Join a Group |
void |
leaveGroup(Integer groupId)
Leave a Group |
void |
likePost(String postId)
Like a Post |
void |
unfollowPost(String postId)
Like a Post |
void |
unlikePost(String postId)
Unlike a Post |
| Method Detail |
|---|
Group getGroupDetails(Integer id)
id - Id of Group
GroupMemberships getGroupMemberships()
GroupMemberships getGroupMemberships(int start,
int count)
start - First Group to returncount - Number of Groups to return
GroupSuggestions getGroupSuggestions()
GroupSuggestions getGroupSuggestions(int start,
int count)
start - First Group to returncount - Number of Groups to return
void joinGroup(Integer groupId)
groupId - Id of Groupvoid leaveGroup(Integer groupId)
groupId - Id of GroupGroup.GroupPosts getPosts(Integer groupId)
groupId - Id of Group
Group.GroupPosts getPosts(Integer groupId,
int start,
int count)
groupId - Id of Groupstart - First Post to returncount - Number of Posts to return
PostComments getPostComments(String postId)
postId - Id of Post
PostComments getPostComments(String postId,
int start,
int count)
postId - Id of Poststart - First Post to returncount - Number of Posts to return
URI createPost(Integer groupId,
String title,
String summary)
groupId - Group to Create Post ontitle - Title of Postsummary - Text of Post
void likePost(String postId)
postId - Id of Postvoid unlikePost(String postId)
postId - Id of Postvoid followPost(String postId)
postId - Id of Postvoid unfollowPost(String postId)
postId - Id of Postvoid flagPostAsJob(String postId)
postId - Id of Postvoid flagPostAsPromotion(String postId)
postId - Id of Postvoid deleteOrFlagPostAsInappropriate(String postId)
postId - Id of Post
void addCommentToPost(String postId,
String text)
postId - Id of Posttext - Text of Commentvoid deleteOrFlagCommentAsInappropriate(String commentId)
commentId - Id of Commentvoid deleteGroupSuggestion(Integer groupId)
groupId - Id of Group
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||