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

The DeleteCommand Class

Table 5–4 lists the constructor and method belonging to the DeleteCommand class. This class is the base class for delete business object commands. It deletes a business object from a back end.

Table 5–4 Class com.sun.mep.connector.api.DeleteCommand

Method 

Description 

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