Class Sync
java.lang.Object
org.alfresco.rest.requests.ModelRequest<RestPrivateAPI>
org.alfresco.rest.requests.syncServiceAPI.Sync
Declares all Rest API under the /subscribers//subscriptions//sync path
- Author:
- Meenal Bhave
-
Field Summary
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendSync(RestSyncNodeSubscriptionModel nodeSubscriptionModel, RestSyncSetRequestModel sync) getSync(RestSyncNodeSubscriptionModel nodeSubscriptionModel, RestSyncSetRequestModel sync) Gets the Change Set for the specified subscriber/subscription and SyncId using GET call on /subscribers/{deviceSubscriptionId}/subscriptions/{nodeSubscriptionId}/syncstartSync(RestSyncNodeSubscriptionModel nodeSubscriptionModel, List<RestSyncSetChangesModel> clientChanges, String clientVersion) Request sync for the specified subscriber/subscription using POST call on /subscribers/{deviceSubscriptionId}/subscriptions/{nodeSubscriptionId}/syncMethods inherited from class org.alfresco.rest.requests.ModelRequest
include, includePath, usingParams
-
Constructor Details
-
Sync
-
-
Method Details
-
startSync
public RestSyncSetRequestModel startSync(RestSyncNodeSubscriptionModel nodeSubscriptionModel, List<RestSyncSetChangesModel> clientChanges, String clientVersion) Request sync for the specified subscriber/subscription using POST call on /subscribers/{deviceSubscriptionId}/subscriptions/{nodeSubscriptionId}/sync- Parameters:
nodeSubscriptionId-clientChanges-- Returns:
-
endSync
public RestWrapper endSync(RestSyncNodeSubscriptionModel nodeSubscriptionModel, RestSyncSetRequestModel sync) -
getSync
public RestSyncSetGetModel getSync(RestSyncNodeSubscriptionModel nodeSubscriptionModel, RestSyncSetRequestModel sync) Gets the Change Set for the specified subscriber/subscription and SyncId using GET call on /subscribers/{deviceSubscriptionId}/subscriptions/{nodeSubscriptionId}/sync- Parameters:
syncRequest-- Returns:
-