Uses of Interface
org.forgerock.am.cts.api.tokens.Token
-
-
Uses of Token in org.forgerock.am.cts
Methods in org.forgerock.am.cts that return Token Modifier and Type Method Description default Token
CTSPersistentStore. create(Token token)
Creates a Token in the persistent store synchronously.Token
CTSPersistentStore. create(Token token, Options options)
Creates a Token in the persistent store synchronously.default Token
CTSPersistentStore. read(String tokenId)
Read a Token from the persistent store synchronously.Token
CTSPersistentStore. read(String tokenId, Options options)
Read a Token from the persistent store synchronously.default Token
CTSPersistentStore. update(Token readState, Token updatedState)
Updates an existing Token in the store synchronously.Token
CTSPersistentStore. update(Token readState, Token updatedState, Options options)
Updates an existing Token in the store synchronously.default Token
CTSPersistentStore. upsert(Token token)
Updates an existing Token in the store synchronously.Token
CTSPersistentStore. upsert(Token token, Options options)
Updates an existing Token in the store synchronously.Methods in org.forgerock.am.cts that return types with arguments of type Token Modifier and Type Method Description default Promise<Token,CoreTokenException>
CTSPersistentStore. createAsync(Token token)
Creates a Token in the persistent store asynchronously.Promise<Token,CoreTokenException>
CTSPersistentStore. createAsync(Token token, Options options)
Creates a Token in the persistent store asynchronously.default Collection<Token>
CTSPersistentStore. query(TokenFilter filter)
Performs a synchronous query against the persistent store using the provided TokenFilter.Collection<Token>
CTSPersistentStore. query(TokenFilter filter, Options options)
Performs a synchronous query against the persistent store using the provided TokenFilter.default Promise<Token,CoreTokenException>
CTSPersistentStore. updateAsync(Token readState, Token updatedState)
Updates an existing Token in the store asynchronously.Promise<Token,CoreTokenException>
CTSPersistentStore. updateAsync(Token readState, Token updatedState, Options options)
Updates an existing Token in the store asynchronously.default Promise<Token,CoreTokenException>
CTSPersistentStore. upsertAsync(Token token)
Updates an existing Token in the store asynchronously.Promise<Token,CoreTokenException>
CTSPersistentStore. upsertAsync(Token token, Options options)
Updates an existing Token in the store asynchronously.Methods in org.forgerock.am.cts with parameters of type Token Modifier and Type Method Description default Token
CTSPersistentStore. create(Token token)
Creates a Token in the persistent store synchronously.Token
CTSPersistentStore. create(Token token, Options options)
Creates a Token in the persistent store synchronously.default Promise<Token,CoreTokenException>
CTSPersistentStore. createAsync(Token token)
Creates a Token in the persistent store asynchronously.Promise<Token,CoreTokenException>
CTSPersistentStore. createAsync(Token token, Options options)
Creates a Token in the persistent store asynchronously.default PartialToken
CTSPersistentStore. delete(Token token)
Delete the Token from the store synchronously.default Promise<PartialToken,CoreTokenException>
CTSPersistentStore. deleteAsync(Token token)
Deletes the Token from the store asynchronously.default Token
CTSPersistentStore. update(Token readState, Token updatedState)
Updates an existing Token in the store synchronously.Token
CTSPersistentStore. update(Token readState, Token updatedState, Options options)
Updates an existing Token in the store synchronously.default Promise<Token,CoreTokenException>
CTSPersistentStore. updateAsync(Token readState, Token updatedState)
Updates an existing Token in the store asynchronously.Promise<Token,CoreTokenException>
CTSPersistentStore. updateAsync(Token readState, Token updatedState, Options options)
Updates an existing Token in the store asynchronously.default Token
CTSPersistentStore. upsert(Token token)
Updates an existing Token in the store synchronously.Token
CTSPersistentStore. upsert(Token token, Options options)
Updates an existing Token in the store synchronously.default Promise<Token,CoreTokenException>
CTSPersistentStore. upsertAsync(Token token)
Updates an existing Token in the store asynchronously.Promise<Token,CoreTokenException>
CTSPersistentStore. upsertAsync(Token token, Options options)
Updates an existing Token in the store asynchronously. -
Uses of Token in org.forgerock.am.cts.adapters
Methods in org.forgerock.am.cts.adapters that return Token Modifier and Type Method Description Token
JavaBeanAdapter. toToken(T o)
Token
TokenAdapter. toToken(T t)
Methods in org.forgerock.am.cts.adapters with parameters of type Token Modifier and Type Method Description T
JavaBeanAdapter. fromToken(Token token)
T
TokenAdapter. fromToken(Token token)
-
Uses of Token in org.forgerock.am.cts.api
Methods in org.forgerock.am.cts.api that return Token Modifier and Type Method Description Token
TokenStorageAdapter. create(Token token, Options options)
Create the Token in the database.Token
TokenStorageAdapter. read(String tokenId, Options options)
Performs a read against the database connection and converts the result into a Token.Token
TokenStorageAdapter. update(Token previous, Token updated, Options options)
Update the Token based on whether there were any changes between the two.Methods in org.forgerock.am.cts.api that return types with arguments of type Token Modifier and Type Method Description Collection<Token>
TokenStorageAdapter. query(TokenFilter query, Options options)
Performs a full-token query using the provided filter.Methods in org.forgerock.am.cts.api with parameters of type Token Modifier and Type Method Description Token
TokenStorageAdapter. create(Token token, Options options)
Create the Token in the database.Token
TokenStorageAdapter. update(Token previous, Token updated, Options options)
Update the Token based on whether there were any changes between the two.Constructors in org.forgerock.am.cts.api with parameters of type Token Constructor Description DataLayerException(String error, Token token)
DataLayerException(String error, Token token, Throwable cause)
-
Uses of Token in org.forgerock.am.cts.api.query
Methods in org.forgerock.am.cts.api.query that return Token Modifier and Type Method Description Token
PartialToken. toToken()
Converts thisPartialToken
into aToken
containing all of the populated fields. -
Uses of Token in org.forgerock.am.cts.api.tokens
Methods in org.forgerock.am.cts.api.tokens that return Token Modifier and Type Method Description Token
Token. copyWithEtag(ETag etag)
Make a shallow copy of this token and add the given etag.Token
TokenFactory. create(String tokenId, TokenType type)
Create aToken
object that can then be stored into the CTS.Token
TokenFactory. create(Token token, ETag etag)
Create aToken
object that can then be stored into the CTS.Methods in org.forgerock.am.cts.api.tokens with parameters of type Token Modifier and Type Method Description Token
TokenFactory. create(Token token, ETag etag)
Create aToken
object that can then be stored into the CTS. -
Uses of Token in org.forgerock.am.cts.exceptions
Constructors in org.forgerock.am.cts.exceptions with parameters of type Token Constructor Description CoreTokenException(String error, Token token)
CoreTokenException(String error, Token token, Throwable cause)
-
Uses of Token in org.forgerock.am.cts.queue
Methods in org.forgerock.am.cts.queue that return types with arguments of type Token Modifier and Type Method Description Promise<Token,CoreTokenException>
TaskDispatcher. create(Token token, Options options)
The CTS Token to create in the persistent store.Promise<Collection<Token>,CoreTokenException>
TaskDispatcher. query(TokenFilter tokenFilter, Options options)
Perform a query against the persistent store and signal the results to the provided ResultHandler.Promise<Token,CoreTokenException>
TaskDispatcher. read(String tokenId, Options options)
The CTS Token to read from the persistent store.Promise<Token,CoreTokenException>
TaskDispatcher. update(Token readState, Token updatedState, Options options)
The CTS Token to update in the persistent store.Promise<Token,CoreTokenException>
TaskDispatcher. upsert(Token token, Options options)
The CTS Token to create or update in the persistent store.Methods in org.forgerock.am.cts.queue with parameters of type Token Modifier and Type Method Description Promise<Token,CoreTokenException>
TaskDispatcher. create(Token token, Options options)
The CTS Token to create in the persistent store.Promise<Token,CoreTokenException>
TaskDispatcher. update(Token readState, Token updatedState, Options options)
The CTS Token to update in the persistent store.Promise<Token,CoreTokenException>
TaskDispatcher. upsert(Token token, Options options)
The CTS Token to create or update in the persistent store. -
Uses of Token in org.forgerock.am.cts.utils.blob
Methods in org.forgerock.am.cts.utils.blob with parameters of type Token Modifier and Type Method Description String
TokenBlobUtils. getBlobAsString(Token token)
Retrieve the blob data of the Token in String format.void
TokenBlobUtils. setBlobFromString(Token token, String blob)
Assign the given String to the Token by converting it to a byte[] first.
-