Class IncrementalSyncDataFetcherImpl<T extends IncrementalSyncModel>
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.IncrementalSyncDataFetcherImpl<T>
- Type Parameters:
 T- type of incremental sync model that will be used in page response
- All Implemented Interfaces:
 IncrementalSyncDataFetcher<T>
public class IncrementalSyncDataFetcherImpl<T extends IncrementalSyncModel>
extends Object
implements IncrementalSyncDataFetcher<T>
Retrieve incremental sync data based on the page request. Pagination will be used to retrieve data according to the limit.
- Since:
 - 9.3.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionIncrementalSyncDataFetcherImpl(org.springframework.transaction.PlatformTransactionManager transactionManager, PaginationService paginationService, JournalServiceInternal journalService, CommandFactory<T> commandFactory, String journalName, boolean singleSubscription)  - 
Method Summary
Modifier and TypeMethodDescriptiongetEvents(PageRequest pageRequest) Perform paginated request to retrieve incremental sync events. 
- 
Constructor Details
- 
IncrementalSyncDataFetcherImpl
public IncrementalSyncDataFetcherImpl(org.springframework.transaction.PlatformTransactionManager transactionManager, PaginationService paginationService, JournalServiceInternal journalService, CommandFactory<T> commandFactory, String journalName, boolean singleSubscription)  
 - 
 - 
Method Details
- 
getEvents
Perform paginated request to retrieve incremental sync events.- Specified by:
 getEventsin interfaceIncrementalSyncDataFetcher<T extends IncrementalSyncModel>- Parameters:
 pageRequest- Specifies pagination requirement for this request. Need to have cursor of typeIncrementalSyncCursor- Returns:
 - Batch of the incremental sync events
 
 
 -