|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.core.service.ServiceObject
microsoft.exchange.webservices.data.core.service.item.Item
microsoft.exchange.webservices.data.core.service.item.ContactGroup
public class ContactGroup
Represents a Contact Group. Properties available on contact groups are defined in the ContactGroupSchema class.
| Constructor Summary | |
|---|---|
ContactGroup(ExchangeService service)
Initializes an unsaved local instance of the class. |
|
ContactGroup(ItemAttachment parentAttachment)
Initializes an new instance of the class. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class microsoft.exchange.webservices.data.core.service.ServiceObject |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContactGroup(ExchangeService service)
throws Exception
service - the service
Exception - the exception
public ContactGroup(ItemAttachment parentAttachment)
throws Exception
parentAttachment - the parent attachment
Exception - the exception| Method Detail |
|---|
public String getFileAs()
throws Exception
Exception - the exception
public String getDisplayName()
throws Exception
Exception - the exception
public void setDisplayName(String value)
throws Exception
value - the new display name
Exception - the exception
public GroupMemberCollection getMembers()
throws Exception
Exception - the exception
public static ContactGroup bind(ExchangeService service,
ItemId id,
PropertySet propertySet)
throws Exception
service - the serviceid - the idpropertySet - the property set
Exception - the exception
public static ContactGroup bind(ExchangeService service,
ItemId id)
throws Exception
service - the serviceid - the id
Exception - the exceptionpublic ServiceObjectSchema getSchema()
getSchema in class Itempublic ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class Item
public void setSubject(String subject)
throws ServiceObjectPropertyException
setSubject in class Itemsubject - the new subject
ServiceObjectPropertyException - the service object property exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||