TemplateAction Class
- public class TemplateAction
extends Object
implements PrivilegedExceptionAction
-
Hierarchy
-
Object
TemplateAction
-
All Implemented Interfaces
-
PrivilegedExceptionAction
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateAction
public TemplateAction(Customer
customer,
CustomerValue
customerValue)
run() Method
public Object
run()
throws Exception
Implement the PrivilegedExceptionAction interface
Exceptions
-
Exception
- thrown by updateCustomer()
Related Topics
updateCustomer() for exception cases
updateCustomer(Customer, CustomerValue) Method
public void updateCustomer(Customer
customer,
CustomerValue
customerValue)
throws PrivilegedActionException
See the class documentation above.
Parameters
-
customer
PipelineSession
from where it gets CustomerValue
object.
-
customerValue
Customer
object for current user.
Exceptions
-
PrivilegedActionException
- if either a RemoteException or a PropertyValidation
exception occurs while setting customer properties.