Compoze Software, Inc.

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.


Inner classes inherited from class com.compoze.exchange.webdav.Items
Items.ItemListIterator
 
Fields inherited from class com.compoze.exchange.webdav.Items
m_parentFolder, m_session, m_sSql
 
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 com.compoze.exchange.webdav.Items
add, add, clear, itemListIterator, listIterator, loadItems, size
 
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
 

Constructor Detail

Contacts


protected Contacts()
Constructor.
Method Detail

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 string
bBaseOnSurname - 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 string
sEndString - the end string
bBaseOnSurname - true to base off surname; false otherwise
Returns:
the list of Contact objects with the string range
See Also:
DateRange

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.