Interface LiveSyncTokenStorage
- All Known Implementing Classes:
ActivityTokenStorageImpl
public interface LiveSyncTokenStorage
Manages the storage of a live sync token.
-
Method Summary
Modifier and TypeMethodDescriptiongetToken()
Gets the value of the stored token.void
setToken
(LiveSyncToken token, OperationResult result) Stores the value of the token.
-
Method Details
-
getToken
LiveSyncToken getToken()Gets the value of the stored token. We assume this is simple operation, e.g. no repository access is expected. (Therefore no operation result is provided.) -
setToken
void setToken(LiveSyncToken token, OperationResult result) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException Stores the value of the token. Usually involves repository write.
-