Package org.cyclos.entities.users
Class PrivacyControl
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.NamedEntity
-
- org.cyclos.entities.ConfigurationEntity
-
- org.cyclos.entities.users.PrivacyControl
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity
@Entity public class PrivacyControl extends ConfigurationEntity implements DefinesNetwork
An element that defines access to private user fields
-
-
Constructor Summary
Constructors Constructor Description PrivacyControl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInformationText()NetworkgetNetwork()Returns the network this entity belongs toList<UserManagementProduct>getProducts()booleanisEnabled()booleanisFieldsAlwaysVisible()voidsetEnabled(boolean enabled)voidsetFieldsAlwaysVisible(boolean fieldsAlwaysVisible)voidsetInformationText(String informationText)voidsetNetwork(Network network)voidsetProducts(List<UserManagementProduct> products)-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString, toString
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Method Detail
-
getInformationText
public String getInformationText()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getProducts
public List<UserManagementProduct> getProducts()
-
isEnabled
public boolean isEnabled()
-
isFieldsAlwaysVisible
public boolean isFieldsAlwaysVisible()
-
setEnabled
public void setEnabled(boolean enabled)
-
setFieldsAlwaysVisible
public void setFieldsAlwaysVisible(boolean fieldsAlwaysVisible)
-
setInformationText
public void setInformationText(String informationText)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setProducts
public void setProducts(List<UserManagementProduct> products)
-
-