Package de.aeb.xnsg.foundation.bf
Interface ISyncBF
@BusinessFacade
public interface ISyncBF
Business facade for synchronizing data asynchronous from an engine to a client
system.
-
Method Summary
Modifier and TypeMethodDescriptionAcknowledge events got withgetNotAcknowledgedEvents(SyncEventsRequestDTO)
.Poll any not acknowledged events for the client system.
This method does not require, that the client system fillsSyncEventsRequestDTO.syncId
.
However, it requires, that a call toacknowledgeEvents(AcknowledgeEventsRequestDTO)
is done for acknowledge of the events.Fetch a list of registered subscriptions (either all or filtered by the business object type).
Only subscription belonging to the providedclientSystemId
are returned (mandatory field)Subscribe a partner system to be able to receive events for the specified business object type.
The subscription is uniquely identified by theclientSystemId
andbusinessObjectType
(both mandatory fields)synchronizeEvents
(SyncEventsRequestDTO request) Poll the next events for the client system.
This method requires the client system to persist the synchronisation state itself and passing a proper value forSyncEventsRequestDTO.syncId
.
SeegetNotAcknowledgedEvents(SyncEventsRequestDTO)
for a version of the method, where the synchronisation state is kept within the Engine.Unsubscribe a partner system from being able to receive events for the specified business object type.
The subscription is uniquely identified by theclientSystemId
andbusinessObjectType
(both mandatory fields)
-
Method Details
-
synchronizeEvents
Poll the next events for the client system.
This method requires the client system to persist the synchronisation state itself and passing a proper value forSyncEventsRequestDTO.syncId
.
SeegetNotAcknowledgedEvents(SyncEventsRequestDTO)
for a version of the method, where the synchronisation state is kept within the Engine. WhensynchronizeEvents(SyncEventsRequestDTO)
is used, any such potentially previously kept information is discarded.- Parameters:
request
-
-
getNotAcknowledgedEvents
Poll any not acknowledged events for the client system.
This method does not require, that the client system fillsSyncEventsRequestDTO.syncId
.
However, it requires, that a call toacknowledgeEvents(AcknowledgeEventsRequestDTO)
is done for acknowledge of the events.- Parameters:
request
-- Since:
- FP November 2017
-
acknowledgeEvents
Acknowledge events got withgetNotAcknowledgedEvents(SyncEventsRequestDTO)
.- Parameters:
request
-- Since:
- FP November 2017
-
subscribePartnerSystem
Subscribe a partner system to be able to receive events for the specified business object type.
The subscription is uniquely identified by theclientSystemId
andbusinessObjectType
(both mandatory fields)- Parameters:
request
-- Since:
- FP November 2021
-
unsubscribePartnerSystem
UnsubscribePartnerSystemResponseDTO unsubscribePartnerSystem(UnsubscribePartnerSystemRequestDTO request) Unsubscribe a partner system from being able to receive events for the specified business object type.
The subscription is uniquely identified by theclientSystemId
andbusinessObjectType
(both mandatory fields)- Parameters:
request
-- Since:
- FP November 2021
-
getPartnerSystemSubscriptions
GetPartnerSystemSubscriptionsResponseDTO getPartnerSystemSubscriptions(GetPartnerSystemSubscriptionsRequestDTO request) Fetch a list of registered subscriptions (either all or filtered by the business object type).
Only subscription belonging to the providedclientSystemId
are returned (mandatory field)- Parameters:
request
-- Since:
- FP November 2021
-