Java Client API Reference 6.0.2.61

com.baan.b3.boi1
Interface ISynchronization


public interface ISynchronization

Provides a context for simultaneous synchronization of several managers.
Managers can be added to the context using the addManager(com.baan.b3.boi1.BusinessObjectManager) method. The execute() method can then be used to perform the synchronization

Version:
Build Nr 61, file version \\main\\3, 15:08:56 24-07-2006 UTC

Method Summary
 void addManager(BusinessObjectManager p_manager)
          Adds a manager to this context.
 void execute()
          Synchronizes the changes in all managers in the context with the backend.
 

Method Detail

addManager

public void addManager(BusinessObjectManager p_manager)
                throws BoiException
Adds a manager to this context.
Postconditions: Subsequent calls to execute() will synchronize changes made in p_manager with the backend
Threading policy: Unsafe
Parameters:
p_manager - the manager to add to this context
Throws:
BoiException - if p_manager is incompatible with the managers that are already in this context

execute

public void execute()
             throws BoiException,
                    BoiSynchronizationException
Synchronizes the changes in all managers in the context with the backend.
Postconditions: The managers are left in the same state as they would be in if their individual BusinessObjectManager.synchronize() methods had been called
Threading policy: Unsafe
Throws:
BoiException - if an error occurred in the adapter or transport layer
BoiSynchronizationException - if an error occurred during the synchronization process in the backend

Java Client API Reference 6.0.2.61

Visit the SSA Global website for more information.