degu.model.filestorage.interfaces
Interface FileStorageLocalHome

All Superinterfaces:
javax.ejb.EJBLocalHome

public interface FileStorageLocalHome
extends javax.ejb.EJBLocalHome

Local 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
 FileStorageLocal createFromByteArray(java.lang.String id, byte[] data)
           
 FileStorageLocal createFromInputStream(java.lang.String id, java.io.InputStream is)
           
 FileStorageLocal findByPrimaryKey(java.lang.String primaryKey)
           
 int getFileCount()
          Home method
 
Methods inherited from interface javax.ejb.EJBLocalHome
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

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

createFromInputStream

FileStorageLocal createFromInputStream(java.lang.String id,
                                       java.io.InputStream is)
                                       throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

findByPrimaryKey

FileStorageLocal findByPrimaryKey(java.lang.String primaryKey)
                                  throws javax.ejb.FinderException
Throws:
javax.ejb.FinderException

getFileCount

int getFileCount()
Home method


checkAvailability

boolean checkAvailability(java.lang.String id)
Home method