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
-
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.void
For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post.void
For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post.void
setDescription
(String description) The privacy description.void
setFriends
(String friends) The privacy friends restriction.void
setNetworks
(String networks) The privacy networks restriction.void
The 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.
-