degu.model.filestorage.interfaces
Interface FileStorageHome

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

public interface FileStorageHome
extends javax.ejb.EJBHome

Home interface for FileStorage.


Field Summary
static java.lang.String COMP_NAME
           
static java.lang.String JNDI_NAME
           
 
Method Summary
 boolean checkAvailability(java.lang.String id)
          Home method
 FileStorage createFromByteArray(java.lang.String id, byte[] data)
           
 FileStorage findByPrimaryKey(java.lang.String primaryKey)
           
 int getFileCount()
          Home method
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Field Detail

COMP_NAME

static final java.lang.String COMP_NAME
See Also:
Constant Field Values

JNDI_NAME

static final java.lang.String JNDI_NAME
See Also:
Constant Field Values
Method Detail

createFromByteArray

FileStorage createFromByteArray(java.lang.String id,
                                byte[] data)
                                throws javax.ejb.CreateException,
                                       java.rmi.RemoteException
Throws:
javax.ejb.CreateException
java.rmi.RemoteException

findByPrimaryKey

FileStorage findByPrimaryKey(java.lang.String primaryKey)
                             throws javax.ejb.FinderException,
                                    java.rmi.RemoteException
Throws:
javax.ejb.FinderException
java.rmi.RemoteException

getFileCount

int getFileCount()
                 throws java.rmi.RemoteException
Home method

Throws:
java.rmi.RemoteException

checkAvailability

boolean checkAvailability(java.lang.String id)
                          throws java.rmi.RemoteException
Home method

Throws:
java.rmi.RemoteException