Package com.restfb.types
Class Privacy
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Privacy
- All Implemented Interfaces:
Serializable
Represents the Privacy Graph API type
.
- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllow()For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post.getDeny()For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post.The privacy description.The privacy friends restriction.The privacy networks restriction.getValue()The description of the privacy value.voidFor CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post.voidFor CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post.voidsetDescription(String description) The privacy description.voidsetFriends(String friends) The privacy friends restriction.voidsetNetworks(String networks) The privacy networks restriction.voidThe description of the privacy value.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Privacy
public Privacy()
-
-
Method Details
-
getValue
The description of the privacy value.- Returns:
- The description of the privacy value.
-
setValue
The description of the privacy value. -
getDescription
The privacy description.- Returns:
- The privacy description.
-
setDescription
The privacy description. -
getFriends
The privacy friends restriction.- Returns:
- The privacy friends restriction.
-
setFriends
The privacy friends restriction. -
getNetworks
The privacy networks restriction.- Returns:
- The privacy networks restriction.
-
setNetworks
The privacy networks restriction. -
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
For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post. -
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
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.
-