Sun Java System Mobile Enterprise Platform 1.0 Developer's Guide for Enterprise Connectors

The InsertCommand Class

Table 3–5 lists the constructor and method belonging to the InsertCommand class. This class is the base class for insert business object commands. It inserts a business object into a back-end.

Table 3–5 Class com.sun.mep.connector.api.InsertCommand

Method 

Description 

public InsertCommand(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.