|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.ComplexPropertyCollection<GroupMember>
microsoft.exchange.webservices.data.GroupMemberCollection
public final class GroupMemberCollection
Represents a collection of members of GroupMember type.
Constructor Summary | |
---|---|
GroupMemberCollection()
* Initializes a new instance. |
Method Summary | |
---|---|
void |
add(GroupMember member)
* Adds a member to the collection. |
void |
addContactEmailAddress(Contact contact,
EmailAddressKey emailAddressKey)
* Adds a member that is linked to a specific e-mail address of a contact. |
void |
addContactGroup(ItemId contactGroupId)
* Adds a member linked to a Contact Group. |
void |
addDirectoryContact(java.lang.String smtpAddress)
* Adds a member linked to an Active Directory contact. |
void |
addDirectoryContact(java.lang.String address,
java.lang.String routingType)
* Adds a member linked to an Active Directory contact. |
void |
addDirectoryPublicFolder(java.lang.String smtpAddress)
* Adds a member linked to a mail-enabled Public Folder. |
void |
addDirectoryUser(java.lang.String smtpAddress)
* Adds a member linked to an Active Directory user. |
void |
addDirectoryUser(java.lang.String address,
java.lang.String routingType)
* Adds a member linked to an Active Directory user. |
void |
addOneOff(java.lang.String displayName,
java.lang.String smtpAddress)
* Adds a one-off member. |
void |
addOneOff(java.lang.String displayName,
java.lang.String address,
java.lang.String routingType)
* Adds a one-off member. |
void |
addPersonalContact(ItemId contactId)
* Adds a member linked to a contact?s first available e-mail address. |
void |
addPersonalContact(ItemId contactId,
java.lang.String addressToLink)
* Adds a member linked to a specific contact?s e-mail address. |
void |
addPublicGroup(java.lang.String smtpAddress)
* Adds a member linked to a Public Group. |
void |
addRange(java.util.Iterator<GroupMember> members)
* Adds multiple members to the collection. |
void |
clear()
Clears the collection. |
protected void |
clearChangeLog()
Clears the change log. |
protected GroupMember |
createComplexProperty(java.lang.String xmlElementName)
* Creates a GroupMember object from an XML element name. |
GroupMember |
find(java.lang.String key)
Finds the member with the specified key in the collection.Members that have not yet been saved do not have a key. |
protected java.lang.String |
getCollectionItemXmlElementName(GroupMember member)
* Retrieves the XML element name corresponding to the provided GroupMember object. |
protected void |
internalValidate()
Validates this instance. |
boolean |
remove(GroupMember member)
* Removes a member from the collection. |
void |
removeAt(int index)
* Removes a member at the specified index. |
boolean |
writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject)
* Writes the deletion update to XML. |
boolean |
writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ownerObject,
PropertyDefinition propertyDefinition)
* Writes the update to XML. |
Methods inherited from class microsoft.exchange.webservices.data.ComplexPropertyCollection |
---|
complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, loadFromXml, removeFromChangeLog, shouldWriteToXml, updateFromXml, writeElementsToXml, writeToXml |
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, validate, writeAttributesToXml, writeToXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupMemberCollection()
Method Detail |
---|
protected java.lang.String getCollectionItemXmlElementName(GroupMember member)
getCollectionItemXmlElementName
in class ComplexPropertyCollection<GroupMember>
member
- the member
public GroupMember find(java.lang.String key) throws java.lang.Exception
key
- the key
java.lang.Exception
- the exceptionpublic void clear()
public void add(GroupMember member) throws java.lang.Exception
member
- the member
java.lang.Exception
- the exceptionpublic void addRange(java.util.Iterator<GroupMember> members) throws java.lang.Exception
members
- the members
java.lang.Exception
- the exceptionpublic void addContactGroup(ItemId contactGroupId) throws java.lang.Exception
contactGroupId
- the contact group id
java.lang.Exception
- the exceptionpublic void addPersonalContact(ItemId contactId, java.lang.String addressToLink) throws java.lang.Exception
contactId
- the contact idaddressToLink
- the address to link
java.lang.Exception
- the exceptionpublic void addPersonalContact(ItemId contactId) throws java.lang.Exception
contactId
- the contact id
java.lang.Exception
- the exceptionpublic void addDirectoryUser(java.lang.String smtpAddress) throws ServiceLocalException, java.lang.Exception
smtpAddress
- the smtp address
ServiceLocalException
- the service local exception
java.lang.Exception
- the exceptionpublic void addDirectoryUser(java.lang.String address, java.lang.String routingType) throws ServiceLocalException, java.lang.Exception
address
- the addressroutingType
- the routing type
ServiceLocalException
- the service local exception
java.lang.Exception
- the exceptionpublic void addDirectoryContact(java.lang.String smtpAddress) throws ServiceLocalException, java.lang.Exception
smtpAddress
- the smtp address
ServiceLocalException
- the service local exception
java.lang.Exception
- the exceptionpublic void addDirectoryContact(java.lang.String address, java.lang.String routingType) throws ServiceLocalException, java.lang.Exception
address
- the addressroutingType
- the routing type
ServiceLocalException
- the service local exception
java.lang.Exception
- the exceptionpublic void addPublicGroup(java.lang.String smtpAddress) throws ServiceLocalException, java.lang.Exception
smtpAddress
- the smtp address
ServiceLocalException
- the service local exception
java.lang.Exception
- the exceptionpublic void addDirectoryPublicFolder(java.lang.String smtpAddress) throws ServiceLocalException, java.lang.Exception
smtpAddress
- the smtp address
ServiceLocalException
- the service local exception
java.lang.Exception
- the exceptionpublic void addOneOff(java.lang.String displayName, java.lang.String address, java.lang.String routingType) throws java.lang.Exception
displayName
- the display nameaddress
- the addressroutingType
- the routing type
java.lang.Exception
- the exceptionpublic void addOneOff(java.lang.String displayName, java.lang.String smtpAddress) throws java.lang.Exception
displayName
- the display namesmtpAddress
- the smtp address
java.lang.Exception
- the exceptionpublic void addContactEmailAddress(Contact contact, EmailAddressKey emailAddressKey) throws java.lang.Exception
contact
- the contactemailAddressKey
- the email address key
java.lang.Exception
- the exceptionpublic void removeAt(int index)
index
- the indexpublic boolean remove(GroupMember member)
member
- the member
public boolean writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, ServiceObject ownerObject, PropertyDefinition propertyDefinition) throws java.lang.Exception
writeSetUpdateToXml
in class ComplexPropertyCollection<GroupMember>
writer
- the writerownerObject
- the owner objectpropertyDefinition
- the property definition
java.lang.Exception
- the exceptionpublic boolean writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, ServiceObject ewsObject)
writeDeleteUpdateToXml
in class ComplexPropertyCollection<GroupMember>
writer
- the writerewsObject
- the ews object
protected GroupMember createComplexProperty(java.lang.String xmlElementName)
createComplexProperty
in class ComplexPropertyCollection<GroupMember>
xmlElementName
- the xml element name
protected void clearChangeLog()
clearChangeLog
in class ComplexPropertyCollection<GroupMember>
protected void internalValidate() throws java.lang.Exception
internalValidate
in class ComplexProperty
java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |