|
|||||||||
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(java.lang.String postId,
java.lang.String text)
Add a Comment to a Post |
void |
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 |
Method Detail |
---|
Group getGroupDetails(java.lang.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(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 Group
Group.GroupPosts getPosts(java.lang.Integer groupId, int start, int count)
groupId
- Id of Groupstart
- First Post to returncount
- Number of Posts to return
PostComments getPostComments(java.lang.String postId)
postId
- Id of Post
PostComments getPostComments(java.lang.String postId, int start, int count)
postId
- Id of Poststart
- First Post to returncount
- Number of Posts to return
void 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |