agentland.device.intelliCD
Interface CollectionHandler

All Superinterfaces:
Agent, Good, Remote, Spy
All Known Subinterfaces:
SongListHandler
All Known Implementing Classes:
CollectionHandlerAgent

public interface CollectionHandler
extends Good


Fields inherited from interface metaglue.Agent
ALIVE, DIED, NO_METAGLUE, NOT_RUNNING, STARTING
 
Method Summary
 void add(Object o)
           
 void add(SongContainerElement s)
           
 boolean clear()
           
 SongContainer getCollection()
           
 boolean remove(SongContainerElement el)
           
 void setCollection(SongContainer dc)
           
 void setConnection(ManagedConnection cnxn)
           
 void setContainerAuthor(SongContainer d, String author)
           
 void setContainerTitle(SongContainer d, String title)
           
 void setSongAuthor(Song d, String author)
           
 void setSongDuration(Song s, int d)
           
 void setSongDuration(Song s, String d)
           
 void setSongTitle(Song d, String title)
           
 
Methods inherited from interface agentland.util.Good
getHistory, getHistoryElement, resetHistory
 
Methods inherited from interface metaglue.Agent
addMonitor, alive, getAgentID, getMetaglueAgentID, shutdown, startup, whereAreYou
 
Methods inherited from interface agentland.util.Spy
tell
 

Method Detail

setCollection

public void setCollection(SongContainer dc)
                   throws RemoteException

setConnection

public void setConnection(ManagedConnection cnxn)
                   throws RemoteException

getCollection

public SongContainer getCollection()
                            throws RemoteException

setContainerTitle

public void setContainerTitle(SongContainer d,
                              String title)
                       throws RemoteException

setContainerAuthor

public void setContainerAuthor(SongContainer d,
                               String author)
                        throws RemoteException

setSongTitle

public void setSongTitle(Song d,
                         String title)
                  throws RemoteException

setSongAuthor

public void setSongAuthor(Song d,
                          String author)
                   throws RemoteException

setSongDuration

public void setSongDuration(Song s,
                            int d)
                     throws RemoteException

setSongDuration

public void setSongDuration(Song s,
                            String d)
                     throws RemoteException,
                            NumberFormatException

add

public void add(SongContainerElement s)
         throws RemoteException

add

public void add(Object o)
         throws RemoteException

clear

public boolean clear()
              throws RemoteException

remove

public boolean remove(SongContainerElement el)
               throws RemoteException