Package com.restfb.types
Class Privacy
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.Privacy
-
- All Implemented Interfaces:
Serializable
public class Privacy extends AbstractFacebookType
Represents the Privacy Graph API type .- Since:
- 1.5
- Author:
- Mark Allen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Privacy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAllow()
For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post.String
getDeny()
For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post.String
getDescription()
The privacy description.String
getFriends()
The privacy friends restriction.String
getNetworks()
The privacy networks restriction.String
getValue()
The description of the privacy value.void
setAllow(String allow)
For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post.void
setDeny(String deny)
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
setValue(String value)
The description of the privacy value.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Privacy
public Privacy()
-
-
Method Detail
-
getValue
public String getValue()
The description of the privacy value.- Returns:
- The description of the privacy value.
-
getDescription
public String 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.
-
-