Package org.cyclos.entities.users
Class ContactInfo
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,ProcessableForProxying,EntityWithCustomValues<ContactInfoField,ContactInfoFieldPossibleValueCategory,ContactInfoFieldPossibleValue,ContactInfoFieldValue>,ImageOwner<ContactInfo,ContactInfoImage>,IEntity,INamedEntity,IContactInfo,IRegularContactInfo
@Entity public class ContactInfo extends BaseContactInfo implements IRegularContactInfo, ImageOwner<ContactInfo,ContactInfoImage>
A public contact information is shown in the user profile for other users
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description ContactInfo()ContactInfo(User user)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactInfoImagegetImage()Either the single image or a de-normalized reference to the first imageTempImagegetUploadedImage()booleanisHidden()voidsetHidden(boolean hidden)voidsetImage(ContactInfoImage image)Either the single image or a de-normalized reference to the first imagevoidsetUploadedImage(TempImage uploadedImage)-
Methods inherited from class org.cyclos.entities.users.BaseContactInfo
getAddress, getCustomFieldClass, getCustomFieldValueClass, getCustomValues, getEmail, getLandLineExtension, getLandLinePhone, getMobilePhone, getNetwork, getUser, setAddress, setCustomValues, setEmail, setLandLineExtension, setLandLinePhone, setMobilePhone, setUser
-
Methods inherited from class org.cyclos.entities.NamedEntity
compareTo, getName, getNames, setName, toShortString, toString
-
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
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.users.contactinfos.IContactInfo
getEmail, getLandLineExtension, getLandLinePhone, getMobilePhone, setEmail, setLandLineExtension, setLandLinePhone, setMobilePhone
-
Methods inherited from interface org.cyclos.entities.system.ImageOwner
getImages, setImages
-
Methods inherited from interface org.cyclos.model.INamedEntity
getName, setName
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Constructor Detail
-
ContactInfo
public ContactInfo()
-
ContactInfo
public ContactInfo(User user)
-
-
Method Detail
-
getImage
public ContactInfoImage getImage()
Description copied from interface:ImageOwnerEither the single image or a de-normalized reference to the first image- Specified by:
getImagein interfaceImageOwner<ContactInfo,ContactInfoImage>
-
getUploadedImage
public TempImage getUploadedImage()
-
isHidden
public boolean isHidden()
- Specified by:
isHiddenin interfaceIRegularContactInfo
-
setHidden
public void setHidden(boolean hidden)
- Specified by:
setHiddenin interfaceIRegularContactInfo
-
setImage
public void setImage(ContactInfoImage image)
Description copied from interface:ImageOwnerEither the single image or a de-normalized reference to the first image- Specified by:
setImagein interfaceImageOwner<ContactInfo,ContactInfoImage>
-
setUploadedImage
public void setUploadedImage(TempImage uploadedImage)
-
-