Class Group

    • Constructor Detail

    • Method Detail

      • getCover

        public CoverPhoto getCover()
        Information about the group's cover photo.
        Specified by:
        getCover in interface HasCover
        Returns:
        Information about the group's cover photo.
      • setCover

        public void setCover​(CoverPhoto cover)
        Information about the group's cover photo.
      • getEmail

        public String getEmail()
        The email address to upload content to the group.

        Only current members of the group can use this.

        Returns:
        The email address to upload content to the group.
      • setEmail

        public void setEmail​(String email)
        The email address to upload content to the group.

        Only current members of the group can use this.

      • getOwner

        public NamedFacebookType getOwner()
        An object containing the name and ID of the user who owns the group.
        Returns:
        An object containing the name and ID of the user who owns the group.
      • setOwner

        public void setOwner​(NamedFacebookType owner)
        An object containing the name and ID of the user who owns the group.
      • getDescription

        public String getDescription()
        The group description.
        Returns:
        The group description.
      • getLink

        public String getLink()
        The URL for the group's website.
        Returns:
        The URL for the group's website.
      • setLink

        public void setLink​(String link)
        The URL for the group's website.
      • getMemberRequestCount

        public Long getMemberRequestCount()
        The number of pending member requests.

        If the token is for an administrator, this is the total number of outstanding requests. If the token is for a group member, this will return the number of friends who have requested membership and also use the same app that is making the request.

        Returns:
        The number of pending member requests
      • setMemberRequestCount

        public void setMemberRequestCount​(Long memberRequestCount)
        The number of pending member requests.

        If the token is for an administrator, this is the total number of outstanding requests. If the token is for a group member, this will return the number of friends who have requested membership and also use the same app that is making the request.

      • getParent

        public NamedFacebookType getParent()
        The parent of this group, if it exists.
        Returns:
        The parent of this group, if it exists
      • getVenue

        public Location getVenue()
        The location of this group, a structured address object.
        Returns:
        The location of this group, a structured address object.
      • setVenue

        public void setVenue​(Location venue)
        The location of this group, a structured address object.
      • getPrivacy

        public String getPrivacy()
        The privacy setting of the group, either 'OPEN', 'CLOSED', or 'SECRET'.
        Returns:
        The privacy setting of the group, either 'OPEN', 'CLOSED', or 'SECRET'.
      • setPrivacy

        public void setPrivacy​(String privacy)
        The privacy setting of the group, either 'OPEN', 'CLOSED', or 'SECRET'.
      • setUnread

        public void setUnread​(Long unread)
        unread count
      • getUpdatedTime

        public Date getUpdatedTime()
        The last time the group was updated.
        Returns:
        The last time the group was updated.
      • setUpdatedTime

        public void setUpdatedTime​(Date updatedTime)
        The last time the group was updated.
      • getIcon

        public String getIcon()
        The URL of the group's icon
        Returns:
        The group's icon url
        Since:
        1.6.16
      • setIcon

        public void setIcon​(String icon)
        The URL of the group's icon
        Since:
        1.6.16