Class ActivityTokenStorageImpl
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.sync.tasks.sync.ActivityTokenStorageImpl
-
- All Implemented Interfaces:
LiveSyncTokenStorage
public class ActivityTokenStorageImpl extends Object implements LiveSyncTokenStorage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveSyncToken
getToken()
Gets the value of the stored token.void
setToken(LiveSyncToken token, OperationResult result)
Stores the value of the token.
-
-
-
Method Detail
-
getToken
public LiveSyncToken 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
-
-