|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface CustomerPropertyManager
Manages properties associated with Customer. Implemented as a stateless session bean. Delegates calls to the CustomerEJB.
Handles property sets for "CustomerProperties". This mapping can be found in usermgmt-ejb-jar.xml deployment descriptor.
Method Summary | |
---|---|
void |
createCustomer(String customerName)
Deprecated See BEA Commerce product offering |
boolean |
customerExists(String customerName)
Deprecated See BEA Commerce product offering |
void |
deleteCustomer(String customerName)
Deprecated See BEA Commerce product offering |
Object |
getProperty(String customerName,
String propertySet,
String propertyName)
Deprecated See BEA Commerce product offering |
String |
getPropertyAsString(String customerName,
String propertySet,
String propertyName)
Deprecated See BEA Commerce product offering |
Object |
removeProperty(String customerName,
String propertySet,
String propertyName)
Deprecated See BEA Commerce product offering |
void |
setProperty(String customerName,
String propertySet,
String propertyName,
Object value)
Deprecated See BEA Commerce product offering |
Methods inherited from interface com.bea.p13n.property.EntityPropertyManager |
---|
createUniqueId, getDynamicProperties, getEntityNames, getHomeName, getProperties, getProperty, getPropertyLocator, getUniqueId, removeEntity, removeProperties, removeProperty, setProperty |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
Object getProperty(String customerName, String propertySet, String propertyName) throws RemoteException, CustomerNotFoundException
If the property does not have a value persisted, then null is returned.
customerName
- the name of the customer whose property we wish
to retrievepropertySet
- the name of the property setpropertyName
- the name of the property
CustomerNotFoundException
- if the customer is not valid
RemoteException
String getPropertyAsString(String customerName, String propertySet, String propertyName) throws RemoteException, CustomerNotFoundException
profileName
- the name of the profile to readpropertySet
- the property set containing the propertypropertyName
- the name of the property to retrieve
CustomerNotFoundException
- if the customer is not valid
RemoteException
void setProperty(String customerName, String propertySet, String propertyName, Object value) throws PropertyValidationException, CustomerNotFoundException, RemoteException
customerName
- the name of the profile to modifypropertySet
- the property set containing the propertypropertyName
- the name of the property to retrievevalue
- the new value for the property
PropertyValidationException
- if the new value is not valid
CustomerNotFoundException
- if the customer is not valid
RemoteException
Object removeProperty(String customerName, String propertySet, String propertyName) throws RemoteException, CustomerNotFoundException
customerName
- the name of the customer to modifypropertySet
- the property set containing the propertypropertyName
- the name of the property to retrieve
CustomerNotFoundException
- if the customer is not valid
RemoteException
void createCustomer(String customerName) throws RemoteException, Exception
customerName
- the name of the customer to create
RemoteException
Exception
void deleteCustomer(String customerName) throws RemoteException, CustomerNotFoundException
customerName
- the name of the customer to remove
RemoteException
CustomerNotFoundException
boolean customerExists(String customerName) throws RemoteException, CustomerNotFoundException
customerName
- the name to look for
RemoteException
CustomerNotFoundException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |