© 2001 BEA Systems, Inc.

com.beasys.commerce.axiom.document
Interface DocumentHome

All Superinterfaces:
SmartEJBHome, SmartHome

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.
 

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,
                                       com.beasys.commerce.foundation.FinderException
Find an Document entity bean using the DocumentPk.
Throws:
com.beasys.commerce.foundation.FinderException - thrown on an error.
java.rmi.RemoteException - thrown on an error.

findBySearchParams

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

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved