public final class SearchFolderParameters extends ComplexProperty implements IComplexPropertyChangedDelegate
Constructor and Description |
---|
SearchFolderParameters()
Initializes a new instance of the SearchFolderParameters class.
|
Modifier and Type | Method and Description |
---|---|
void |
complexPropertyChanged(ComplexProperty complexProperty)
Complex property changed.
|
FolderIdCollection |
getRootFolderIds()
Gets the list of root folder the search folder searches in.
|
SearchFilter |
getSearchFilter()
Gets the search filter associated with the search folder.
|
SearchFolderTraversal |
getTraversal()
Gets the traversal mode for the search folder.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads the attribute from XML.
|
void |
setSearchFilter(SearchFilter searchFilter)
Sets the search filter.
|
void |
setTraversal(SearchFolderTraversal traversal)
Sets the traversal.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
validate()
Validates this instance.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, writeToXml, writeToXml
public SearchFolderParameters()
public void complexPropertyChanged(ComplexProperty complexProperty)
complexPropertyChanged
in interface IComplexPropertyChangedDelegate
complexProperty
- the complex propertypublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- the writerException
- the exceptionpublic void validate() throws Exception
validate
in interface ISelfValidate
validate
in class ComplexProperty
Exception
public SearchFolderTraversal getTraversal()
public void setTraversal(SearchFolderTraversal traversal)
traversal
- the new traversalpublic FolderIdCollection getRootFolderIds()
public SearchFilter getSearchFilter()
public void setSearchFilter(SearchFilter searchFilter)
searchFilter
- the new search filterCopyright © 2012–2015 Microsoft. All rights reserved.