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

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

Deprecated

@Deprecated
public class TemplateAction
extends Object
implements PrivilegedExceptionAction


Constructor Summary
TemplateAction(Customer customer, CustomerValue customerValue)
          Deprecated  
 
Method Summary
 Object run()
          Deprecated Implement the PrivilegedExceptionAction interface
 void updateCustomer(Customer customer, CustomerValue customerValue)
          Deprecated 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)
Deprecated 
Method Detail

run

public Object run()
           throws Exception
Deprecated 
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
Deprecated 
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 © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.