|
||||||||
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,
java.lang.String value)
Initializes a new instance of the class. |
|
SearchFilter.ContainsSubstring(PropertyDefinitionBase propertyDefinition,
java.lang.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. |
java.lang.String |
getValue()
gets the value to compare the specified property with. |
protected java.lang.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(java.lang.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, func, getNamespace, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, 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, java.lang.String value)
propertyDefinition
- The definition of the property that is being compared.value
- The value to compare with.public SearchFilter.ContainsSubstring(PropertyDefinitionBase propertyDefinition, java.lang.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.PropertyBasedFilter
ServiceValidationException
- the service validation exceptionprotected java.lang.String getXmlElementName()
getXmlElementName
in class SearchFilter
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
tryReadElementFromXml
in class SearchFilter.PropertyBasedFilter
reader
- the reader
java.lang.Exception
- the exceptionprotected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
readAttributesFromXml
in class ComplexProperty
reader
- the reader
java.lang.Exception
- the exceptionprotected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- the writer
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws javax.xml.stream.XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class SearchFilter.PropertyBasedFilter
writer
- the writer
javax.xml.stream.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 java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the new value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |