This class displays detailed information about a single customer in the
client database. The information can be edited. If the data is changed and
the Submit button is pressed, the buttonPressed method uses Object API calls
to save the changes in the client database, send the changes to the server,
and disable the Submit button.
If the server accepts the changes, the callback handler posts an
ON_REPLAY_SUCCESS notification, which causes the onReplaySuccess
notification handler to run. The cached UI data is refreshed from the
database and the Submit button is re-enabled.
This class also registers for the ON_REPLAY_FAILURE notification to handle
the case where the server rejects the changes, or an error occurs on the
server side.