public class ContactGroup extends Item
Constructor and Description |
---|
ContactGroup(ExchangeService service)
Initializes an unsaved local instance of the class.
|
ContactGroup(ItemAttachment parentAttachment)
Initializes an new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
static ContactGroup |
bind(ExchangeService service,
ItemId id)
Binds to an existing contact group and loads the specified set of
property.Calling this method results in a call to EWS.
|
static ContactGroup |
bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
Binds to an existing contact group and loads the specified set of
property.Calling this method results in a call to EWS.
|
String |
getDisplayName()
Gets the display name of the contact group.
|
String |
getFileAs()
Gets the name under which this contact group is filed as.
|
GroupMemberCollection |
getMembers()
Gets the members of the contact group.
|
ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum required server version.
|
ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object.
|
void |
setDisplayName(String value)
Sets the display name.
|
void |
setSubject(String subject)
Sets the subject.
|
copy, copy, delete, getAllowedResponseActions, getAttachments, getBody, getCategories, getConversationId, getCulture, getDateTimeCreated, getDateTimeReceived, getDateTimeSent, getDefaultAffectedTaskOccurrences, getDefaultSendCancellationsMode, getDefaultSendInvitationsMode, getDefaultSendInvitationsOrCancellationsMode, getDisplayCc, getDisplayTo, getEffectiveRights, getExtendedProperties, getHasAttachments, getId, getIdPropertyDefinition, getImportance, getInReplyTo, getInternetMessageHeaders, getIsAssociated, getIsDraft, getIsFromMe, getIsNew, getIsReminderSet, getIsResend, getIsSubmitted, getIsTimeZoneHeaderRequired, getIsUnmodified, getItemClass, getLastModifiedName, getLastModifiedTime, getMimeContent, getParentAttachment, getParentFolderId, getReminderDueBy, getReminderMinutesBeforeStart, getRootItemId, getSensitivity, getSize, getSubject, getUniqueBody, getWebClientEditFormQueryString, getWebClientReadFormQueryString, hasUnprocessedAttachmentChanges, internalCreate, internalDelete, internalLoad, internalUpdate, isAttachment, move, move, removeExtendedProperty, save, save, save, setBody, setCategories, setCulture, setExtendedProperty, setImportance, setInReplyTo, setIsReminderSet, setItemClass, setMimeContent, setReminderDueBy, setReminderMinutesBeforeStart, setSensitivity, throwIfThisIsAttachment, update, validate
addServiceObjectChangedEvent, changed, clearChangeLog, clearServiceObjectChangedEvent, getChangeXmlElementName, getDeleteFieldXmlElementName, getIsCustomDateTimeScopingRequired, getLoadedPropertyDefinitions, getObjectFromPropertyDefinition, getPropertyBag, getService, getSetFieldXmlElementName, getXmlElementName, getXmlElementNameOverride, isDirty, isNew, load, load, loadFromXml, loadFromXml, removeServiceObjectChangedEvent, schema, setService, throwIfThisIsNew, throwIfThisIsNotNew, tryGetExtendedProperty, tryGetProperty, tryGetProperty, writeToXml, writeToXmlForUpdate
public ContactGroup(ExchangeService service) throws Exception
service
- the serviceException
- the exceptionpublic ContactGroup(ItemAttachment parentAttachment) throws Exception
parentAttachment
- the parent attachmentException
- the exceptionpublic String getFileAs() throws Exception
Exception
- the exceptionpublic String getDisplayName() throws Exception
Exception
- the exceptionpublic void setDisplayName(String value) throws Exception
value
- the new display nameException
- the exceptionpublic GroupMemberCollection getMembers() throws Exception
Exception
- the exceptionpublic static ContactGroup bind(ExchangeService service, ItemId id, PropertySet propertySet) throws Exception
service
- the serviceid
- the idpropertySet
- the property setException
- the exceptionpublic static ContactGroup bind(ExchangeService service, ItemId id) throws Exception
service
- the serviceid
- the idException
- the exceptionpublic ServiceObjectSchema getSchema()
public ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class Item
public void setSubject(String subject) throws ServiceObjectPropertyException
setSubject
in class Item
subject
- the new subjectServiceObjectPropertyException
- the service object property exceptionCopyright © 2012–2015 Microsoft. All rights reserved.