Class ActivityTokenStorageImpl
java.lang.Object
com.evolveum.midpoint.model.impl.sync.tasks.sync.ActivityTokenStorageImpl
- All Implemented Interfaces:
LiveSyncTokenStorage
-
Method Summary
Modifier and TypeMethodDescriptiongetToken()Gets the value of the stored token.voidsetToken(LiveSyncToken token, OperationResult result) Stores the value of the token.
-
Method Details
-
getToken
Description copied from interface:LiveSyncTokenStorageGets 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.)- Specified by:
getTokenin interfaceLiveSyncTokenStorage
-
setToken
public void setToken(LiveSyncToken token, OperationResult result) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException Description copied from interface:LiveSyncTokenStorageStores the value of the token. Usually involves repository write.- Specified by:
setTokenin interfaceLiveSyncTokenStorage- Throws:
SchemaExceptionObjectNotFoundExceptionObjectAlreadyExistsException
-