com.compoze.exchange.webdav
Class Contacts
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.AbstractSequentialList
|
+--com.compoze.exchange.webdav.Items
|
+--com.compoze.exchange.webdav.Messages
|
+--com.compoze.exchange.webdav.Contacts
- All Implemented Interfaces:
- java.util.Collection, java.util.List
- public class Contacts
- extends Messages
This class represents a list of contacts. This list
provides convenience methods to create sub-lists of
contacts based on specified strings.
| Fields inherited from class java.util.AbstractList |
modCount |
|
Constructor Summary |
protected |
Contacts()
Constructor. |
|
Method Summary |
java.util.List |
subList(java.lang.String sSubString)
Returns a sub listing of contacts from this list which contain the given substring. |
java.util.List |
subList(java.lang.String sStartString,
boolean bBaseOnSurname)
Returns a sub listing of contacts from this list which start with the given string. |
java.util.List |
subList(java.lang.String sStartString,
java.lang.String sEndString,
boolean bBaseOnSurname)
Returns a sub listing of contacts from this list which fall between the specified
start and end strings. |
| Methods inherited from class java.util.AbstractSequentialList |
addAll, get, iterator, remove, set |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList |
| Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
Contacts
protected Contacts()
- Constructor.
subList
public java.util.List subList(java.lang.String sSubString)
throws ExchangeException
- Returns a sub listing of contacts from this list which contain the given substring.
- Overrides:
subList in class Messages
- Parameters:
sSubString - a sub string- Returns:
- the list of
Contact objects
subList
public java.util.List subList(java.lang.String sStartString,
boolean bBaseOnSurname)
throws ExchangeException
- Returns a sub listing of contacts from this list which start with the given string.
- Parameters:
sStartString - the start stringbBaseOnSurname - true to base off surname; false otherwise- Returns:
- the list of
Contact objects
subList
public java.util.List subList(java.lang.String sStartString,
java.lang.String sEndString,
boolean bBaseOnSurname)
throws ExchangeException
- Returns a sub listing of contacts from this list which fall between the specified
start and end strings.
- Parameters:
sStartString - the start stringsEndString - the end stringbBaseOnSurname - true to base off surname; false otherwise- Returns:
- the list of
Contact objects with the string range - See Also:
DateRange
Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.