Community
Participate
Working Groups
Currently, AbstractInteractionPolicy provides an API for committing transactional policies, so that the commit operations of the policies are placed on the operation history to be undoable. This API should be extended to further support the execution of operations that are not the result of committing a policy, as well as the execution of transient commit or other operations that are not placed on the operation history. As AbstractTransactionPolicy needs to locally execute an ITransactionalOperation, an execute(ITransactionalOperation) method could be added to AbstractPolicy already. The other two methods for committing a policy transiently, or for executing an operation on the operation history, could be added to AbstractInteractionPolicy. To sum up: - Add AbstractPolicy#execute(ITransactionalOperation) to locally execute the operation. - Add AbstractInteractionPolicy#commit(ITransactionalOperation) to execute the operation on the history. - Add AbstractInteractionPolicy#locallyCommit(AbstractTransactionPolicy) to locally execute the commit operation. The names are subject to change.