BEA Systems, Inc.

com.beasys.commerce.axiom.content
Interface ContentHome


public interface ContentHome
extends SmartEJBHome

The home interface for Content entity beans.

All types of Content must have a home which have a create() method taking the PrimaryKey class, a findByPrimaryKey() method, and a findBySearchParams(Search) which returns an Enumeration of Content objects.

To avoid issues with inheritance in Content beans, you can use the ContentHelper class to search for Content no matter what the actual subclass is.

See Also:
ContentHelper

Method Summary
 ContentRemote create(ContentPk contentPk)
          Create a new Content entity bean using the com.beasys.commerce.axiom.content.ContentPk.
 ContentRemote findByPrimaryKey(ContentPk contentPk)
          Find an Content entity bean using the com.beasys.commerce.axiom.content.ContentPk.
 java.util.Enumeration findBySearchParams(Search params)
          Find Content entity beans based upon search parameters.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public ContentRemote create(ContentPk contentPk)
                     throws javax.ejb.CreateException,
                            java.rmi.RemoteException
Create a new Content entity bean using the com.beasys.commerce.axiom.content.ContentPk.
Throws:
java.rmi.RemoteException - thrown on an error.
javax.ejb.CreateException - thrown on an error.

findByPrimaryKey

public ContentRemote findByPrimaryKey(ContentPk contentPk)
                               throws java.rmi.RemoteException,
                                      javax.ejb.FinderException
Find an Content entity bean using the com.beasys.commerce.axiom.content.ContentPk.
Throws:
java.rmi.RemoteException - thrown on an error.
javax.ejb.FinderException - thrown on an error.

findBySearchParams

public java.util.Enumeration findBySearchParams(Search params)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException
Find Content entity beans based upon search parameters.
Throws:
java.rmi.RemoteException - thrown on an error.
javax.ejb.FinderException - thrown on an error.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved