com.ibm.commerce.me.objects
Interface BuyerSupplierMappingHome


public interface BuyerSupplierMappingHome

This is a Home interface for the Entity Bean


Method Summary
  BuyerSupplierMapping create(java.lang.Long aBuyerOrganizationId, java.lang.Long aSupplierOrganizationId, java.lang.Long aMemberGroupId, java.lang.Long aCatalogId)
           
 java.util.Enumeration findByBuyerId(java.lang.Long aBuyerOrganizationId)
           
  BuyerSupplierMapping findByPrimaryKey(com.ibm.commerce.me.objects.BuyerSupplierMappingKey key)
          findByPrimaryKey method comment
 java.util.Enumeration findBySupplierId(java.lang.Long aSupplierOrganizationId)            
 

Method Detail

create

public BuyerSupplierMapping create(java.lang.Long aBuyerOrganizationId,
                                   java.lang.Long aSupplierOrganizationId,
                                   java.lang.Long aMemberGroupId,
                                   java.lang.Long aCatalogId)
                            throws javax.naming.NamingException,
                                   javax.ejb.CreateException,
                                   java.rmi.RemoteException,
                                   javax.ejb.FinderException
Parameters:
aBuyerOrganizationId - The buyer organization identifier
aSupplierOrganizationId - The supplier organization identifier
aMemberGroupId - The member group identifier
aCatalogId - The catalog identifier
Returns:
The com.ibm.commerce.me.objects.BuyerSupplierMapping
Throws:
RemoteException - Raised whenever a communication related problems occured
FinderEception - Raised whenever a request object is not found
NamingException - Raised whenever a failure to look up the JNDI name occured
CreateException - Raised whenever a failure to create the EJB occured
javax.ejb.FinderException

findByBuyerId

public java.util.Enumeration findByBuyerId(java.lang.Long aBuyerOrganizationId)
                                    throws java.rmi.RemoteException,
                                           javax.ejb.FinderException
Parameters:
aBuyerOrganizationId - The buyer organization identifier
Returns:
the Enumeration of objects that have the buyer organization id match the input parameter
Throws:
RemoteException - Raised whenever a communication related problems occured
FinderEception - Raised whenever a request object is not found
javax.ejb.FinderException

findByPrimaryKey

public BuyerSupplierMapping findByPrimaryKey(com.ibm.commerce.me.objects.BuyerSupplierMappingKey key)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException
findByPrimaryKey method comment
Parameters:
key - The buyer supplier mapping key
Returns:
the Enumeration of buyer supplier mapping objects
Throws:
RemoteException - Raised whenever a communication related problems occured
FinderEception - Raised whenever a request object is not found
javax.ejb.FinderException

findBySupplierId

public java.util.Enumeration findBySupplierId(java.lang.Long aSupplierOrganizationId)
                                       throws java.rmi.RemoteException,
                                              javax.ejb.FinderException
Parameters:
aSupplierOrganizationId - The supplier organization identifier
Returns:
the Enumeration of objects that have the supplier organization id match the input parameter
Throws:
RemoteException - Raised whenever a communication related problems occured
FinderEception - Raised whenever a request object is not found
javax.ejb.FinderException