|
|||||||||
| 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.SearchFilter
microsoft.exchange.webservices.data.SearchFilter.PropertyBasedFilter
microsoft.exchange.webservices.data.SearchFilter.ContainsSubstring
public static final class SearchFilter.ContainsSubstring
Represents a search filter that checks for the presence of a substring inside a text property. Applications can use ContainsSubstring to define conditions such as "Field CONTAINS Value" or "Field IS PREFIXED WITH Value".
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class microsoft.exchange.webservices.data.SearchFilter |
|---|
SearchFilter.ContainsSubstring, SearchFilter.ExcludesBitmask, SearchFilter.Exists, SearchFilter.IsEqualTo, SearchFilter.IsGreaterThan, SearchFilter.IsGreaterThanOrEqualTo, SearchFilter.IsLessThan, SearchFilter.IsLessThanOrEqualTo, SearchFilter.IsNotEqualTo, SearchFilter.Not, SearchFilter.PropertyBasedFilter, SearchFilter.RelationalFilter, SearchFilter.SearchFilterCollection |
| Constructor Summary | |
|---|---|
SearchFilter.ContainsSubstring()
Initializes a new instance of the class. |
|
SearchFilter.ContainsSubstring(PropertyDefinitionBase propertyDefinition,
String value)
Initializes a new instance of the class. |
|
SearchFilter.ContainsSubstring(PropertyDefinitionBase propertyDefinition,
String value,
ContainmentMode containmentMode,
ComparisonMode comparisonMode)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
ComparisonMode |
getComparisonMode()
Gets the comparison mode. |
ContainmentMode |
getContainmentMode()
Gets the containment mode. |
String |
getValue()
gets the value to compare the specified property with. |
protected String |
getXmlElementName()
Gets the name of the XML element. |
protected void |
internalValidate()
validates instance. |
protected void |
readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads the attribute of Xml. |
void |
setComparisonMode(ComparisonMode comparisonMode)
sets the comparison mode. |
void |
setContainmentMode(ContainmentMode containmentMode)
sets the ContainmentMode. |
void |
setValue(String value)
sets the value to compare the specified property with. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read element from XML. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes the attributes to XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes the elements to Xml. |
| Methods inherited from class microsoft.exchange.webservices.data.SearchFilter.PropertyBasedFilter |
|---|
getPropertyDefinition, setPropertyDefinition |
| Methods inherited from class microsoft.exchange.webservices.data.SearchFilter |
|---|
loadFromXml, writeToXml |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, getNamespace, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, validate, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SearchFilter.ContainsSubstring()
public SearchFilter.ContainsSubstring(PropertyDefinitionBase propertyDefinition,
String value)
propertyDefinition - The definition of the property that is being compared.value - The value to compare with.
public SearchFilter.ContainsSubstring(PropertyDefinitionBase propertyDefinition,
String value,
ContainmentMode containmentMode,
ComparisonMode comparisonMode)
propertyDefinition - The definition of the property that is being compared.value - The value to compare with.containmentMode - The containment mode.comparisonMode - The comparison mode.| Method Detail |
|---|
protected void internalValidate()
throws ServiceValidationException
internalValidate in class SearchFilter.PropertyBasedFilterServiceValidationException - the service validation exceptionprotected String getXmlElementName()
getXmlElementName in class SearchFilter
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class SearchFilter.PropertyBasedFilterreader - the reader
Exception - the exception
protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
readAttributesFromXml in class ComplexPropertyreader - the reader
Exception - the exception
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writeElementsToXml in class SearchFilter.PropertyBasedFilterwriter - the writer
XMLStreamException - the xML stream exception
ServiceXmlSerializationException - the service xml serialization exceptionpublic ContainmentMode getContainmentMode()
public void setContainmentMode(ContainmentMode containmentMode)
containmentMode - the new containment modepublic ComparisonMode getComparisonMode()
public void setComparisonMode(ComparisonMode comparisonMode)
comparisonMode - the new comparison modepublic String getValue()
public void setValue(String value)
value - the new value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||