|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Prescribes methods to be implemented in support of the manufacturer
business component. This interface is the RMI remote interface that
exposes methods to access across the network.
Last modified $Date: 1999/10/04 15:31:30 $
Field Summary | |
static java.lang.String |
CODE
The code attribute. |
static java.lang.String |
NAME
The name attribute. |
static java.lang.String |
PRODUCTS
The products attribute. |
Method Summary | |
void |
addProduct(Identifier id,
Product prd)
Adds a product to the list of products from this manufacturer. |
void |
create(Identifier id,
java.lang.String cde,
java.lang.String nom)
Initializes a newly created manufacturer and saves it. |
java.lang.String |
getCode()
Provides the three letter manufacturer code for this manufacturer. |
java.lang.String |
getName(java.util.Locale loc)
Provides the name of this manufacturer translated for the specified locale or for the default locale if no such translation exists. |
com.sun.java.util.collections.Iterator |
products()
Provides a list of the products associated with this manufacturer. |
void |
removeProduct(Identifier id,
Product prd)
Removes the specified product from this manufacturer's list of products. |
Methods inherited from interface com.imaginary.lwp.Entity |
getLastUpdateID,
getLastUpdateTime,
getObjectID,
getReference,
remove |
Field Detail |
public static final java.lang.String CODE
public static final java.lang.String NAME
public static final java.lang.String PRODUCTS
Method Detail |
public void addProduct(Identifier id, Product prd) throws PersistenceException, java.rmi.RemoteException
id
- the client identifierprd
- the product to be addedpublic void create(Identifier id, java.lang.String cde, java.lang.String nom) throws PersistenceException, java.rmi.RemoteException
id
- the client identifiercde
- the manufacturer codenom
- the name of the manufacturerpublic java.lang.String getCode() throws java.rmi.RemoteException
public java.lang.String getName(java.util.Locale loc) throws java.rmi.RemoteException
loc
- the locale the name should be translated forpublic com.sun.java.util.collections.Iterator products() throws java.rmi.RemoteException
public void removeProduct(Identifier id, Product prd) throws PersistenceException, java.rmi.RemoteException
id
- the client identifierprd
- the product to be removed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |