/**
 * RemotePIMCollection interface definition.
 * These are the methods available to clients.
 */

import java.util.*;
import java.rmi.*;


interface RemotePIMCollection extends Remote {
  public PIMCollection getNotes() throws RemoteException;
  public PIMCollection getNotes(String owner) throws RemoteException;
  public PIMCollection getTodos() throws RemoteException;
  public PIMCollection getTodos(String owner) throws RemoteException;
  public PIMCollection getAppointments() throws RemoteException;
  public PIMCollection getAppointments(String owner) throws RemoteException;
  public PIMCollection getContacts() throws RemoteException;
  public PIMCollection getContacts(String owner) throws RemoteException;
  public PIMCollection getItemsForDate(Date d) throws RemoteException;
  public PIMCollection getItemsForDate(Date d, String owner) throws RemoteException;
  public PIMCollection getAll() throws RemoteException;
  public PIMCollection getAllByOwner(String owner) throws RemoteException;
  public boolean add(PIMEntity e) throws RemoteException;
  public boolean update(PIMEntity e) throws RemoteException;
  public boolean remove(PIMEntity e) throws RemoteException;
}




