Class Privacy

All Implemented Interfaces:
Serializable

public class Privacy extends AbstractFacebookType
Represents the Privacy Graph API type .
Since:
1.5
Author:
Mark Allen
See Also:
  • Constructor Details

  • Method Details

    • getValue

      public String getValue()
      The description of the privacy value.
      Returns:
      The description of the privacy value.
    • setValue

      public void setValue(String value)
      The description of the privacy value.
    • getDescription

      The privacy description.
      Returns:
      The privacy description.
    • setDescription

      public void setDescription(String description)
      The privacy description.
    • getFriends

      public String getFriends()
      The privacy friends restriction.
      Returns:
      The privacy friends restriction.
    • setFriends

      public void setFriends(String friends)
      The privacy friends restriction.
    • getNetworks

      public String getNetworks()
      The privacy networks restriction.
      Returns:
      The privacy networks restriction.
    • setNetworks

      public void setNetworks(String networks)
      The privacy networks restriction.
    • getDeny

      public String getDeny()
      For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post.
      Returns:
      The privacy "deny" restriction.
    • setDeny

      public void setDeny(String deny)
      For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post.
    • getAllow

      public String getAllow()
      For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post. This can also be ALL_FRIENDS or FRIENDS_OF_FRIENDS to include all members of those sets.
      Returns:
      The privacy "allow" restriction.
    • setAllow

      public void setAllow(String allow)
      For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post. This can also be ALL_FRIENDS or FRIENDS_OF_FRIENDS to include all members of those sets.