com.beasys.commerce.ebusiness.customer.jaas
Class TemplateAction

java.lang.Object
  extended by com.beasys.commerce.ebusiness.customer.jaas.TemplateAction
All Implemented Interfaces
PrivilegedExceptionAction

public class TemplateAction
extends Object
implements PrivilegedExceptionAction


Constructor Summary
TemplateAction(Customer customer, CustomerValue customerValue)
           
 
Method Summary
 Object run()
          Implement the PrivilegedExceptionAction interface
 void updateCustomer(Customer customer, CustomerValue customerValue)
          See the class documentation above.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateAction

public TemplateAction(Customer customer,
                      CustomerValue customerValue)
Method Detail

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