Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2003 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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:
    `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.

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2003 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003 BEA Systems, Inc. All Rights Reserved