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.void
setToken
(LiveSyncToken token, OperationResult result) Stores the value of the token.
-
Method Details
-
getToken
Description copied from interface:LiveSyncTokenStorage
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.)- Specified by:
getToken
in interfaceLiveSyncTokenStorage
-
setToken
public void setToken(LiveSyncToken token, OperationResult result) throws SchemaException, ObjectNotFoundException, ObjectAlreadyExistsException Description copied from interface:LiveSyncTokenStorage
Stores the value of the token. Usually involves repository write.- Specified by:
setToken
in interfaceLiveSyncTokenStorage
- Throws:
SchemaException
ObjectNotFoundException
ObjectAlreadyExistsException
-