BEA Systems, Inc.

com.beasys.commerce.axiom.document
Interface DocumentHome


public interface DocumentHome
extends SmartEJBHome

The home interface for a Document entity bean.

This home interface follows the requirements of a Home for a Content bean. However, the reference Document Management System in the PersonalizationServer does not support document creation via the DocumentHome interface.

See Also:
ContentHome

Method Summary
 DocumentRemote create(DocumentPk documentPk)
          Create a document object.
 DocumentRemote findByPrimaryKey(DocumentPk documentPk)
          Find an Document entity bean using the DocumentPk.
 java.util.Enumeration findBySearchParams(Search params)
          Find the Document which match the given search parameters.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public DocumentRemote create(DocumentPk documentPk)
                      throws javax.ejb.CreateException,
                             java.rmi.RemoteException
Create a document object.

The reference implementation Document Management System does not support document creation via this interface.

Throws:
CreationException - thrown on an error.
java.rmi.RemoteException - thrown on an error.

findByPrimaryKey

public DocumentRemote findByPrimaryKey(DocumentPk documentPk)
                                throws java.rmi.RemoteException,
                                       javax.ejb.FinderException
Find an Document entity bean using the DocumentPk.
Throws:
javax.ejb.FinderException - thrown on an error.
java.rmi.RemoteException - thrown on an error.

findBySearchParams

public java.util.Enumeration findBySearchParams(Search params)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException
Find the Document which match the given search parameters.
Throws:
javax.ejb.FinderException - thrown on an error.
java.rmi.RemoteException - thrown on an error.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved