ContactEntry
instead.@Deprecated public class ContactEntry extends BaseEntry<ContactEntry>
BaseEntry.AtomHandler, BaseEntry.EntryState
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler
AbstractExtension.AttributesHandler
Modifier and Type | Field and Description |
---|---|
static Category |
CONTACT_CATEGORY
Deprecated.
Kind category used to label feeds or entries that have Contact
extension data.
|
static java.lang.String |
CONTACT_KIND
Deprecated.
Kind term value for Contact category labels.
|
xmlBlob
localName, namespace
Constructor and Description |
---|
ContactEntry()
Deprecated.
Constructs a new empty ContactEntry with the appropriate kind category
to indicate that it is a contact.
|
ContactEntry(BaseEntry<?> sourceEntry)
Deprecated.
Constructs a new ContactEntry by doing a shallow copy of data from an
existing BaseEntry intance.
|
Modifier and Type | Method and Description |
---|---|
void |
addEmailAddress(Email email)
Deprecated.
|
void |
addImAddress(Im im)
Deprecated.
|
void |
addLocation(GeoPt geoPt)
Deprecated.
|
void |
addPhoneNumber(PhoneNumber phoneNumber)
Deprecated.
|
void |
addPostalAddress(PostalAddress postalAddress)
Deprecated.
|
void |
declareExtensions(ExtensionProfile extProfile)
Deprecated.
Initializes an ExtensionProfile based upon the extensions expected
by an ContactEntry.
|
java.util.List<Email> |
getEmailAddresses()
Deprecated.
|
java.util.List<Im> |
getImAddresses()
Deprecated.
|
java.util.List<GeoPt> |
getLocations()
Deprecated.
|
Organization |
getOrganization()
Deprecated.
|
java.util.List<PhoneNumber> |
getPhoneNumbers()
Deprecated.
|
java.util.List<PostalAddress> |
getPostalAddresses()
Deprecated.
|
boolean |
isDeleted()
Deprecated.
|
void |
setDeleted()
Deprecated.
|
void |
setOrganization(Organization org)
Deprecated.
|
addAdaptor, addHtmlLink, addLink, addLink, delete, generate, generateAtom, generateRss, getAdaptedEntry, getAdaptor, getAdaptors, getAuthors, getCanEdit, getCategories, getContent, getContentHandlerInfo, getContributors, getEdited, getEditLink, getEtag, getHandler, getHtmlLink, getId, getKind, getLink, getLinks, getLinks, getMediaEditLink, getPlainTextContent, getPubControl, getPublished, getResumableEditMediaLink, getRights, getSelectedFields, getSelf, getSelfLink, getService, getSource, getSummary, getTextContent, getTitle, getUpdated, getVersionId, isDraft, parseAtom, parseAtom, parseAtom, readEntry, readEntry, removeLinks, removeLinks, setCanEdit, setContent, setContent, setDraft, setEdited, setEtag, setId, setKind, setPubControl, setPublished, setRights, setSelectedFields, setService, setSource, setSummary, setTitle, setUpdated, setVersionId, update, visitChildren
addExtension, addExtension, addRepeatingExtension, addRepeatingExtension, checkRequiredExtensions, createExtensionInstance, generate, generateCumulativeXmlBlob, generateExtensions, generateStartElement, getExtension, getExtensionDescription, getExtensionHandler, getExtensions, getManifest, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, initializeArbitraryXml, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit, visitChild
consumeAttributes, disableStrictValidation, enableStrictValidation, eq, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, putAttributes, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public static final java.lang.String CONTACT_KIND
public static final Category CONTACT_CATEGORY
public ContactEntry()
public ContactEntry(BaseEntry<?> sourceEntry)
public void declareExtensions(ExtensionProfile extProfile)
declareExtensions
in interface Kind.Adaptor
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.ExtensionProfile.addDeclarations(Kind.Adaptor)
public java.util.List<Email> getEmailAddresses()
public void addEmailAddress(Email email)
public java.util.List<Im> getImAddresses()
public void addImAddress(Im im)
public java.util.List<PhoneNumber> getPhoneNumbers()
public void addPhoneNumber(PhoneNumber phoneNumber)
public java.util.List<PostalAddress> getPostalAddresses()
public void addPostalAddress(PostalAddress postalAddress)
public Organization getOrganization()
public void setOrganization(Organization org)
public java.util.List<GeoPt> getLocations()
public void addLocation(GeoPt geoPt)
public void setDeleted()
public boolean isDeleted()