com.beasys.commerce.ebusiness.customer.jaas
Class TemplateAction
java.lang.Object
com.beasys.commerce.ebusiness.customer.jaas.TemplateAction
- All Implemented Interfaces
- PrivilegedExceptionAction
public class TemplateAction
- extends Object
- implements PrivilegedExceptionAction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateAction
public TemplateAction(Customer customer,
CustomerValue customerValue)
run
public Object run()
throws Exception
- Implement the PrivilegedExceptionAction interface
- Specified by:
run in interface PrivilegedExceptionAction
- Throws
Exception - thrown by updateCustomer()- See Also
updateCustomer() for exception cases
updateCustomer
public void updateCustomer(Customer customer,
CustomerValue customerValue)
throws PrivilegedActionException
- See the class documentation above.
- Parameters
pSession - PipelineSession from where it gets CustomerValue object.customer - Customer object for current user.customerValue - CusotmerValue object for current user.
- Throws
PrivilegedActionException - if either a RemoteException or a PropertyValidation
exception occurs while setting customer properties.
Copyright © 2006 BEA Systems, Inc. All Rights Reserved