|
||||||||
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. |
java.lang.String |
getDisplayName()
Gets the display name of the contact group. |
java.lang.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(java.lang.String value)
Sets the display name. |
protected void |
setSubject(java.lang.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 java.lang.Exception
service
- the service
java.lang.Exception
- the exceptionprotected ContactGroup(ItemAttachment parentAttachment) throws java.lang.Exception
parentAttachment
- the parent attachment
java.lang.Exception
- the exceptionMethod Detail |
---|
public java.lang.String getFileAs() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic java.lang.String getDisplayName() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic void setDisplayName(java.lang.String value) throws java.lang.Exception
value
- the new display name
java.lang.Exception
- the exceptionpublic GroupMemberCollection getMembers() throws java.lang.Exception
java.lang.Exception
- the exceptionpublic static ContactGroup bind(ExchangeService service, ItemId id, PropertySet propertySet) throws java.lang.Exception
service
- the serviceid
- the idpropertySet
- the property set
java.lang.Exception
- the exceptionpublic static ContactGroup bind(ExchangeService service, ItemId id) throws java.lang.Exception
service
- the serviceid
- the id
java.lang.Exception
- the exceptionprotected ServiceObjectSchema getSchema()
getSchema
in class Item
protected ExchangeVersion getMinimumRequiredServerVersion()
getMinimumRequiredServerVersion
in class Item
protected void setSubject(java.lang.String subject) throws ServiceObjectPropertyException
setSubject
in class Item
subject
- 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 |