davmail.exchange.ews
Class EwsExchangeSession.AttributeCondition

java.lang.Object
  extended by davmail.exchange.ExchangeSession.AttributeCondition
      extended by davmail.exchange.ews.EwsExchangeSession.AttributeCondition
All Implemented Interfaces:
SearchExpression, ExchangeSession.Condition
Direct Known Subclasses:
EwsExchangeSession.HeaderCondition
Enclosing class:
EwsExchangeSession

protected static class EwsExchangeSession.AttributeCondition
extends ExchangeSession.AttributeCondition
implements SearchExpression


Field Summary
protected  ContainmentComparison containmentComparison
           
protected  ContainmentMode containmentMode
           
 
Fields inherited from class davmail.exchange.ExchangeSession.AttributeCondition
attributeName, operator, value
 
Constructor Summary
protected EwsExchangeSession.AttributeCondition(String attributeName, ExchangeSession.Operator operator, String value)
           
protected EwsExchangeSession.AttributeCondition(String attributeName, ExchangeSession.Operator operator, String value, ContainmentMode containmentMode, ContainmentComparison containmentComparison)
           
 
Method Summary
 void appendTo(StringBuilder buffer)
          Append search expression to buffer.
protected  FieldURI getFieldURI()
           
protected  ExchangeSession.Operator getOperator()
           
 boolean isMatch(ExchangeSession.Contact contact)
          Test if the contact matches current condition.
 
Methods inherited from class davmail.exchange.ExchangeSession.AttributeCondition
getAttributeName, getValue, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

containmentMode

protected ContainmentMode containmentMode

containmentComparison

protected ContainmentComparison containmentComparison
Constructor Detail

EwsExchangeSession.AttributeCondition

protected EwsExchangeSession.AttributeCondition(String attributeName,
                                                ExchangeSession.Operator operator,
                                                String value)

EwsExchangeSession.AttributeCondition

protected EwsExchangeSession.AttributeCondition(String attributeName,
                                                ExchangeSession.Operator operator,
                                                String value,
                                                ContainmentMode containmentMode,
                                                ContainmentComparison containmentComparison)
Method Detail

getFieldURI

protected FieldURI getFieldURI()

getOperator

protected ExchangeSession.Operator getOperator()

appendTo

public void appendTo(StringBuilder buffer)
Description copied from interface: SearchExpression
Append search expression to buffer.

Specified by:
appendTo in interface SearchExpression
Specified by:
appendTo in interface ExchangeSession.Condition
Parameters:
buffer - search buffer

isMatch

public boolean isMatch(ExchangeSession.Contact contact)
Description copied from interface: ExchangeSession.Condition
Test if the contact matches current condition.

Specified by:
isMatch in interface ExchangeSession.Condition
Parameters:
contact - Exchange Contact
Returns:
true if contact matches condition


Copyright © 2001-2013 MickaĆ«l Guessant. All Rights Reserved.