Package org.cyclos.entities.users
Class ContactInfo
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,ProcessableForDataTranslation,EntityWithCustomValues<ContactInfoField,ContactInfoFieldPossibleValueCategory,ContactInfoFieldPossibleValue,ContactInfoFieldValue>,ImageOwner<ContactInfo,ContactInfoImage>,IEntity,INamedEntity,IContactInfo,IRegularContactInfo
@Entity public class ContactInfo extends BaseContactInfo implements IRegularContactInfo, ImageOwner<ContactInfo,ContactInfoImage>
An additional contact information is shown in the user profile for other users
-
-
Constructor Summary
Constructors Constructor Description ContactInfo()
-
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
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.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
-
-
-
-
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)
-
-