Package io.milton.resource
Interface SyncCollectionResource
-
- All Superinterfaces:
CollectionResource,Resource
public interface SyncCollectionResource extends CollectionResource
CollectionResource which supports sync-token.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Resource>findResourcesBySyncToken(URI syncToken)URIgetSyncToken()Current sync-token.-
Methods inherited from interface io.milton.resource.CollectionResource
child, getChildren
-
Methods inherited from interface io.milton.resource.Resource
authenticate, authorise, checkRedirect, getModifiedDate, getName, getRealm, getUniqueId
-
-
-
-
Method Detail
-
getSyncToken
URI getSyncToken()
Current sync-token.- Returns:
-
findResourcesBySyncToken
Map<String,Resource> findResourcesBySyncToken(URI syncToken) throws io.milton.http.exceptions.NotAuthorizedException, io.milton.http.exceptions.BadRequestException
- Returns:
- Map contains href -> Resource. Removed resource should be included as
RemovedResource. - Throws:
io.milton.http.exceptions.NotAuthorizedExceptionio.milton.http.exceptions.BadRequestException
-
-