de.apage4u.database.interfaces
Interface DataHome

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

public interface DataHome
extends javax.ejb.EJBHome

This interface defines the home interface for the Data Bean


Method Summary
 Data create(java.lang.Integer id)
          Create a new Data instance
 java.util.Collection findAll()
          Get all Data instances.
 Data findByPrimaryKey(java.lang.Integer id)
          Find the Data with the specified ID.
 java.util.Collection findByType(java.lang.String type)
          Finds the Data whose "type" attribute matches that specified.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Data create(java.lang.Integer id)
            throws java.rmi.RemoteException,
                   javax.ejb.CreateException
Create a new Data instance

Throws:
java.rmi.RemoteException
javax.ejb.CreateException

findByPrimaryKey

public Data findByPrimaryKey(java.lang.Integer id)
                      throws java.rmi.RemoteException,
                             javax.ejb.FinderException
Find the Data with the specified ID. This method is implemented by the container

Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findByType

public java.util.Collection findByType(java.lang.String type)
                                throws java.rmi.RemoteException,
                                       javax.ejb.FinderException
Finds the Data whose "type" attribute matches that specified. This method is implemented by the container

Throws:
java.rmi.RemoteException
javax.ejb.FinderException

findAll

public java.util.Collection findAll()
                             throws java.rmi.RemoteException,
                                    javax.ejb.FinderException
Get all Data instances. This method is implemented by the container

Throws:
java.rmi.RemoteException
javax.ejb.FinderException


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