@Entity public class PrivacySettings extends NetworkedEntity
| Constructor and Description |
|---|
PrivacySettings() |
| Modifier and Type | Method and Description |
|---|---|
Network |
getNetwork()
Returns the network this entity belongs to
|
java.util.Set<PrivacyControl> |
getPrivacyControls() |
User |
getUser() |
boolean |
isEnablePrivacyControl() |
void |
setEnablePrivacyControl(boolean enablePrivacyControl) |
void |
setPrivacyControls(java.util.Set<PrivacyControl> privacyControls) |
void |
setUser(User user) |
isGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toStringpublic Network getNetwork()
NetworkedEntitygetNetwork in class NetworkedEntitypublic java.util.Set<PrivacyControl> getPrivacyControls()
public User getUser()
public boolean isEnablePrivacyControl()
public void setEnablePrivacyControl(boolean enablePrivacyControl)
public void setPrivacyControls(java.util.Set<PrivacyControl> privacyControls)
public void setUser(User user)