com.beasys.portal.ejb
Interface CategoryHome
- public interface CategoryHome
- extends BaseHome
Category EJB home implementation.
| Methods inherited from interface javax.ejb.EJBHome |
getEJBMetaData,
remove,
remove |
create
public Category create(CategoryPK pk)
throws javax.ejb.CreateException,
java.rmi.RemoteException
- Create the category.
- Parameters:
pk - the category primary key.- Returns:
Category the created category.- Throws:
CreateException - error on create.RemoteException - the remote exception.
findByPrimaryKey
public Category findByPrimaryKey(CategoryPK pk)
throws javax.ejb.FinderException,
java.rmi.RemoteException
- Find the category by primary key.
- Parameters:
pk - the category primary key.- Returns:
Category the category.- Throws:
FinderException - thrown if not found.RemoteException - container exception.
findByPortal
public java.util.Enumeration findByPortal(java.lang.String aPortalName)
throws javax.ejb.FinderException,
java.rmi.RemoteException
- Find by portal name.
- Parameters:
aPortalName - the portal name.- Returns:
Enumeration all of the categories that match to the portalName.- Throws:
FinderException - thrown if not found.RemoteException - container error.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved