Spring Social Facebook

org.springframework.social.facebook.api
Class GroupMembership

java.lang.Object
  extended by org.springframework.social.facebook.api.GroupMembership

public class GroupMembership
extends java.lang.Object


Constructor Summary
GroupMembership(java.lang.String id, java.lang.String name, int bookmarkOrder, boolean administrator)
           
GroupMembership(java.lang.String id, java.lang.String name, int version, int bookmarkOrder, boolean administrator)
          Deprecated. The Facebook Graph API no longer maintains a version for groups. The group version will always be 1.
 
Method Summary
 int getBookmarkOrder()
          The position of the group in the user's group bookmarks (or 999999999 if not positioned)
 java.lang.String getId()
          The group ID
 java.lang.String getName()
          The group name
 int getUnread()
          The count of group updates that the user has not yet read.
 int getVersion()
          Deprecated. No longer maintained in the Graph API. Will always be 1
 boolean isAdministrator()
          Returns true if the user is an administrator of the group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupMembership

public GroupMembership(java.lang.String id,
                       java.lang.String name,
                       int bookmarkOrder,
                       boolean administrator)

GroupMembership

@Deprecated
public GroupMembership(java.lang.String id,
                                  java.lang.String name,
                                  int version,
                                  int bookmarkOrder,
                                  boolean administrator)
Deprecated. The Facebook Graph API no longer maintains a version for groups. The group version will always be 1.

Method Detail

getId

public java.lang.String getId()
The group ID


getName

public java.lang.String getName()
The group name


getVersion

public int getVersion()
Deprecated. No longer maintained in the Graph API. Will always be 1

The group version (always 1)


getBookmarkOrder

public int getBookmarkOrder()
The position of the group in the user's group bookmarks (or 999999999 if not positioned)


isAdministrator

public boolean isAdministrator()
Returns true if the user is an administrator of the group.


getUnread

public int getUnread()
The count of group updates that the user has not yet read.


Spring Social Facebook