|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ServiceObject
microsoft.exchange.webservices.data.Item
microsoft.exchange.webservices.data.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. |
protected |
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 properties.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 properties.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. |
protected ExchangeVersion |
getMinimumRequiredServerVersion()
Gets the minimum required server version. |
protected ServiceObjectSchema |
getSchema()
Internal method to return the schema associated with this type of object. |
void |
setDisplayName(String value)
Sets the display name. |
protected void |
setSubject(String subject)
Sets the subject. |
| 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
protected 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 exceptionprotected ServiceObjectSchema getSchema()
getSchema in class Itemprotected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion in class Item
protected 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 | ||||||||