public class SubscriptionImpl extends ConnectorAPIOperationRunner
Modifier and Type | Class and Description |
---|---|
static class |
SubscriptionImpl.BatchApiOpImpl |
static class |
SubscriptionImpl.ConnectorEventSubscriptionApiOpImp |
static class |
SubscriptionImpl.SyncEventSubscriptionApiOpImpl |
Modifier | Constructor and Description |
---|---|
protected |
SubscriptionImpl(ConnectorOperationalContext context,
Connector connector,
LocalConnectorFacadeImpl.ReferenceCounter referenceCounter)
Creates the API operation so it can called multiple times.
|
Modifier and Type | Method and Description |
---|---|
Subscription |
executeBatch(List<BatchTask> tasks,
Observer<BatchResult> observer,
OperationOptions options) |
Subscription |
queryBatch(BatchToken token,
Observer<BatchResult> observer,
OperationOptions options) |
Subscription |
subscribe(ObjectClass objectClass,
Filter eventFilter,
Observer<ConnectorObject> handler,
OperationOptions operationOptions) |
Subscription |
subscribe(ObjectClass objectClass,
SyncToken token,
Observer<SyncDelta> handler,
OperationOptions operationOptions) |
getConnector, getNormalizer, getOperationalContext
protected SubscriptionImpl(ConnectorOperationalContext context, Connector connector, LocalConnectorFacadeImpl.ReferenceCounter referenceCounter)
context
- connector
- public Subscription subscribe(ObjectClass objectClass, Filter eventFilter, Observer<ConnectorObject> handler, OperationOptions operationOptions)
public Subscription subscribe(ObjectClass objectClass, SyncToken token, Observer<SyncDelta> handler, OperationOptions operationOptions)
public Subscription executeBatch(List<BatchTask> tasks, Observer<BatchResult> observer, OperationOptions options)
public Subscription queryBatch(BatchToken token, Observer<BatchResult> observer, OperationOptions options)
Copyright © 2018–2025. All rights reserved.