de.apage4u.database.interfaces
Interface DataBase

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface DataBase
extends javax.ejb.EJBObject

This interface defines the remote interface for the `DataBase' EJB, a data set.


Method Summary
 void addData(java.lang.Integer id, java.lang.String title, java.lang.String artist, java.lang.String type, java.lang.String notes)
          Adds a Data to the collection, if possible
 void deleteAll()
          Deletes all Datas from the database
 Data[] findAll()
           
 Data[] lookupInAnyField(java.lang.String s)
           
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

addData

public void addData(java.lang.Integer id,
                    java.lang.String title,
                    java.lang.String artist,
                    java.lang.String type,
                    java.lang.String notes)
             throws java.rmi.RemoteException,
                    DataExistsException
Adds a Data to the collection, if possible

Throws:
java.rmi.RemoteException
DataExistsException

deleteAll

public void deleteAll()
               throws java.rmi.RemoteException
Deletes all Datas from the database

Throws:
java.rmi.RemoteException

findAll

public Data[] findAll()
               throws java.rmi.RemoteException,
                      javax.ejb.FinderException
Throws:
java.rmi.RemoteException
javax.ejb.FinderException

lookupInAnyField

public Data[] lookupInAnyField(java.lang.String s)
                        throws java.rmi.RemoteException,
                               javax.ejb.FinderException
Throws:
java.rmi.RemoteException
javax.ejb.FinderException


Copyright © 2004 www.apage4u.de. All Rights Reserved.