Mobile and Local Business Objects

A business object can be either local or mobile. A local business object is a client only object, and is represented by the LocalBusinessObject interface. A mobile business object can be synchronized with the Unwired Server, and is represented by the MobileBusinessObject interface.

Both LocalBusinessObject and MobileBusinessObject extend BusinessObject. MobileBusinessObject provides the following additional methods:
  • cancelPending
  • getLogRecords
  • isCreated
  • isPending
  • isUpdated
  • submitPending

getLogRecords returns operation logs as LogRecord instances. See the LogRecord API.

submitPending submits a pending record to the Unwired Server. A pending record is one that has been updated in the client database, but not sent to the Unwired Server.

cancelPending cancels a pending record.