Sun GlassFish Mobility Platform 1.1 Developer's Guide for Enterprise Connectors

The UpdateCommand Class

Table 5–8 lists the constructor and method belonging to the UpdateCommand class. This class is the base class for update business object commands. It updates a business object in a back end.

Table 5–8 Class com.sun.mep.connector.api.UpdateCommand

Method 

Description 

public UpdateCommand(T bobject)

Constructor that takes a business object argument. 

public abstract void execute()

Executes this command against a back end. Unchecked exceptions, such as java.lang.RuntimeException, can be used to report errors.