Runtime tools : Core components : Operations : Concepts : Operations implementation
  
Operations implementation
The toolkit provides three basic operation classes: BTTOperation, BTTClientOperation, and BTTServerOperation. These classes implement the Operation interface, ClientOperation interface, and ServerOperation interface respectively.
The BTTOperation class contains the common behavior for operations running on the client and on the server. The two child classes of BTTOperation, BTTClientOperation and BTTServerOperation, contain behavior for operations running specifically on the client or the server. This default behavior support infrastructure concepts such as managing the operation's formats, the operation's context, and the operation's data. Creating a new operation consists of implementing the operation interfaces or extending the basic operations (BTTClientOperation and BTTServerOperation) supplied in the toolkit to provide the required business behavior.
The operation flow is the whole set of processes that an operation performs inside its execute method. The BTTOperation class, in its execute method, implements a default operation flow. It consists of the concatenation of operation steps and the control of the flow depending on the results of each operation step. A concrete operation may override the default operation flow with its own operation flow.
Go up to
Concepts