public interface IConsumerOperation
Modifier and Type | Method and Description |
---|---|
fj.data.Either<ConsumerData,StorageOperationStatus> |
createCredentials(ConsumerData consumerData)
the method creates a new nod in the grape representing the supplied
credential object
|
fj.data.Either<ConsumerData,StorageOperationStatus> |
createCredentials(ConsumerData consumerData,
boolean inTransaction)
the method creates a new nod in the grape representing the supplied
credential object
|
fj.data.Either<ConsumerData,StorageOperationStatus> |
deleteCredentials(String consumerName)
the method deletes the node with the given unique id
|
fj.data.Either<ConsumerData,StorageOperationStatus> |
deleteCredentials(String consumerName,
boolean inTransaction)
the method deletes the node with the given unique id
|
fj.data.Either<ConsumerData,StorageOperationStatus> |
getCredentials(String consumerName)
the method retrieves the credential for the given consumer name
|
fj.data.Either<ConsumerData,StorageOperationStatus> |
updateCredentials(ConsumerData consumerData)
the method updates the node in the graph with the given ConsumerData
|
fj.data.Either<ConsumerData,StorageOperationStatus> |
updateCredentials(ConsumerData consumerData,
boolean inTransaction)
the method updates the node in the graph with the given ConsumerData
|
fj.data.Either<ConsumerData,StorageOperationStatus> updateCredentials(ConsumerData consumerData, boolean inTransaction)
consumerData
- the object we want to storeinTransaction
- inTransaction is the operation part of a transaction, in case
the value is false the action will be committed in the end of
the methodfj.data.Either<ConsumerData,StorageOperationStatus> updateCredentials(ConsumerData consumerData)
consumerData
- the object we want to storefj.data.Either<ConsumerData,StorageOperationStatus> deleteCredentials(String consumerName, boolean inTransaction)
consumerName
- the unique id by witch we will look up the credential we want
to deleteinTransaction
- inTransaction is the operation part of a transaction, in case
the value is false the action will be committed in the end of
the methodfj.data.Either<ConsumerData,StorageOperationStatus> deleteCredentials(String consumerName)
consumerName
- the unique id by witch we will look up the credential we want
to deletefj.data.Either<ConsumerData,StorageOperationStatus> createCredentials(ConsumerData consumerData, boolean inTransaction)
consumerData
- the object we want to storeinTransaction
- is the operation part of a transaction, in case the value is
false the action will be committed in the end of the methodfj.data.Either<ConsumerData,StorageOperationStatus> createCredentials(ConsumerData consumerData)
consumerData
- the object we want to storefj.data.Either<ConsumerData,StorageOperationStatus> getCredentials(String consumerName)
consumerName
- the unique id by witch we will look up the credentialCopyright © 2017. All rights reserved.