Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W 

A

AboutController - Class in org.elastos.hive.endpoint
The AboutController is for getting the basic information of the hive node.
AboutController(NodeRPCConnection) - Constructor for class org.elastos.hive.endpoint.AboutController
Create the about controller by the RPC connection.
AccessToken - Class in org.elastos.hive.connection.auth
The access token is made by hive node and represents the user DID and the application DID.
AccessToken(ServiceEndpoint, DataStorage, BridgeHandler) - Constructor for class org.elastos.hive.connection.auth.AccessToken
Create the access token by service end point, data storage, and bridge handler.
AggregatedExecutable - Class in org.elastos.hive.vault.scripting
Convenient class to store and serialize a sequence of executables.
AggregatedExecutable(String) - Constructor for class org.elastos.hive.vault.scripting.AggregatedExecutable
 
AggregatedExecutable(String, List<Executable>) - Constructor for class org.elastos.hive.vault.scripting.AggregatedExecutable
 
ALREADY_EXISTS - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
AlreadyExistsException - Exception in org.elastos.hive.exception
 
AlreadyExistsException() - Constructor for exception org.elastos.hive.exception.AlreadyExistsException
 
AlreadyExistsException(String) - Constructor for exception org.elastos.hive.exception.AlreadyExistsException
 
AlreadyExistsException(String, Throwable) - Constructor for exception org.elastos.hive.exception.AlreadyExistsException
 
AlreadyExistsException(Throwable) - Constructor for exception org.elastos.hive.exception.AlreadyExistsException
 
AlreadyExistsException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.AlreadyExistsException
 
alternate(Collation.Alternate) - Method in class org.elastos.hive.vault.database.Collation
 
alternate() - Method in class org.elastos.hive.vault.database.Collation
 
AndCondition - Class in org.elastos.hive.vault.scripting
Vault script condition that succeeds only if all the contained conditions are successful.
AndCondition(String, List<Condition>) - Constructor for class org.elastos.hive.vault.scripting.AndCondition
 
AndCondition(String) - Constructor for class org.elastos.hive.vault.scripting.AndCondition
 
AppContext - Class in org.elastos.hive
The application context would contain the resources list below: The reference of application context provider; The user did which uses this application.
AppContextProvider - Interface in org.elastos.hive
The provider of the application context provides some information for communicate with the hive node.
appendExecutable(Executable) - Method in class org.elastos.hive.vault.scripting.AggregatedExecutable
 
AscendingSortItem - Class in org.elastos.hive.vault.database
AscendingSortItem presents the condition of the query operation.
AscendingSortItem(String) - Constructor for class org.elastos.hive.vault.database.AscendingSortItem
 
auth(String) - Method in class org.elastos.hive.connection.auth.AuthController
The auth operation is for getting the access token for node APIs.
AuthController - Class in org.elastos.hive.connection.auth
The authorization controller is the wrapper class for accessing hive node auth module.
AuthController(NodeRPCConnection, DIDDocument) - Constructor for class org.elastos.hive.connection.auth.AuthController
Create the auth controller with the node RPC connection and application instance did document.

B

Backup - Class in org.elastos.hive
This represents the service end-point of the backup hive node.
Backup(AppContext, String) - Constructor for class org.elastos.hive.Backup
 
BackupContext - Interface in org.elastos.hive.service
Backup context to provide backup information when doing backup relating things for the vault.
BackupController - Class in org.elastos.hive.vault.backup
The backup controller is the wrapper class to access the backup module of the hive node.
BackupController(NodeRPCConnection) - Constructor for class org.elastos.hive.vault.backup.BackupController
Create with the RPC connection.
BackupInfo - Class in org.elastos.hive.subscription
This contains the details of the backup service.
BackupInfo() - Constructor for class org.elastos.hive.subscription.BackupInfo
 
BackupIsInProcessingException - Exception in org.elastos.hive.exception
 
BackupIsInProcessingException() - Constructor for exception org.elastos.hive.exception.BackupIsInProcessingException
 
BackupIsInProcessingException(String) - Constructor for exception org.elastos.hive.exception.BackupIsInProcessingException
 
BackupIsInProcessingException(String, Throwable) - Constructor for exception org.elastos.hive.exception.BackupIsInProcessingException
 
BackupIsInProcessingException(Throwable) - Constructor for exception org.elastos.hive.exception.BackupIsInProcessingException
 
BackupNotFoundException - Exception in org.elastos.hive.exception
 
BackupNotFoundException() - Constructor for exception org.elastos.hive.exception.BackupNotFoundException
 
BackupNotFoundException(String) - Constructor for exception org.elastos.hive.exception.BackupNotFoundException
 
BackupNotFoundException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.BackupNotFoundException
 
BackupService - Interface in org.elastos.hive.service
Backup service is for doing backup vault data from vault node server to backup server.
BackupService.BackupResult - Enum in org.elastos.hive.service
 
BackupSubscription - Class in org.elastos.hive
The backup subscription is for subscribe or unsubscribe the backup service.
BackupSubscription(AppContext, String) - Constructor for class org.elastos.hive.BackupSubscription
Create by the application context and the address of the provider which can save the vault data.
backwards(boolean) - Method in class org.elastos.hive.vault.database.Collation
 
backwards() - Method in class org.elastos.hive.vault.database.Collation
 
BAD_REQUEST - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
BadContextProviderException - Exception in org.elastos.hive.exception
 
BadContextProviderException() - Constructor for exception org.elastos.hive.exception.BadContextProviderException
 
BadContextProviderException(String) - Constructor for exception org.elastos.hive.exception.BadContextProviderException
 
BadContextProviderException(String, Throwable) - Constructor for exception org.elastos.hive.exception.BadContextProviderException
 
BadContextProviderException(Throwable) - Constructor for exception org.elastos.hive.exception.BadContextProviderException
 
BridgeHandler - Interface in org.elastos.hive.connection.auth
The bridge handler is for the AccessToken.AccessToken(ServiceEndpoint, DataStorage, BridgeHandler) ()} to notify the caller some information.
build(AppContextProvider, String) - Static method in class org.elastos.hive.AppContext
Create the application context.
bypassDocumentValidation(Boolean) - Method in class org.elastos.hive.vault.database.InsertOptions
 

C

callScript(String, JsonNode, String, String, Class<T>) - Method in class org.elastos.hive.ScriptRunner
 
callScript(String, JsonNode, String, String, Class<T>) - Method in interface org.elastos.hive.service.ScriptingInvocationService
Invoke the execution of a specified script registered previously by the vault owner, where the script is defined with certain preset routines.
callScript(String, JsonNode, String, String, Class<T>) - Method in class org.elastos.hive.vault.scripting.ScriptingController
Run the registered script.
callScriptUrl(String, String, String, String, Class<T>) - Method in class org.elastos.hive.ScriptRunner
Executes a previously registered server side script with a direct URL where the values can be passed as part of the query.
callScriptUrl(String, String, String, String, Class<T>) - Method in class org.elastos.hive.vault.scripting.ScriptingController
Call the script by the URL parameters.
caseFirst(Collation.CaseFirst) - Method in class org.elastos.hive.vault.database.Collation
 
caseLevel(boolean) - Method in class org.elastos.hive.vault.database.Collation
 
checkResult() - Method in interface org.elastos.hive.service.BackupService
Check the current status of the node side backup process.
checkResult() - Method in class org.elastos.hive.vault.backup.BackupController
Check the result of the backup process.
checkSubscription() - Method in class org.elastos.hive.BackupSubscription
 
checkSubscription() - Method in interface org.elastos.hive.service.SubscriptionService
Let the user to get the basic information of the subscription.
checkSubscription() - Method in class org.elastos.hive.VaultSubscription
 
clearAccessToken(String) - Method in interface org.elastos.hive.DataStorage
 
clearAccessTokenByAddress(String) - Method in interface org.elastos.hive.DataStorage
 
clearBackupCredential(String) - Method in interface org.elastos.hive.DataStorage
 
close() - Method in class org.elastos.hive.connection.UploadOutputStream
 
close() - Method in class org.elastos.hive.connection.UploadOutputStreamWriter
 
CloudBackupContext - Class in org.elastos.hive.service
Cloud backup context is used for the user to backup the vault data to the cloud service, such as google driver, etc.
CloudBackupContext() - Constructor for class org.elastos.hive.service.CloudBackupContext
 
CodeFetcher - Interface in org.elastos.hive.connection.auth
CodeFetcher is for accessing the code by the network and can be invalidate.
Collation - Class in org.elastos.hive.vault.database
 
Collation(String, boolean, Collation.CaseFirst, Collation.Strength, boolean, Collation.Alternate, Collation.MaxVariable, boolean, boolean) - Constructor for class org.elastos.hive.vault.database.Collation
 
Collation() - Constructor for class org.elastos.hive.vault.database.Collation
 
collation(Collation) - Method in class org.elastos.hive.vault.database.DeleteOptions
 
collation() - Method in class org.elastos.hive.vault.database.DeleteOptions
 
Collation.Alternate - Enum in org.elastos.hive.vault.database
 
Collation.CaseFirst - Enum in org.elastos.hive.vault.database
 
Collation.MaxVariable - Enum in org.elastos.hive.vault.database
 
Collation.Strength - Enum in org.elastos.hive.vault.database
 
Condition - Class in org.elastos.hive.vault.scripting
The condition is used for registering the script.
Condition(String, String, Object) - Constructor for class org.elastos.hive.vault.scripting.Condition
 
copy(String, String) - Method in interface org.elastos.hive.service.FilesService
Copies a file or a folder (recursively).
copyFile(String, String) - Method in class org.elastos.hive.vault.files.FilesController
Copy file from srcPath to destPath.
countDocuments(String, JsonNode, CountOptions) - Method in interface org.elastos.hive.service.DatabaseService
Count documents.
countDocuments(String, JsonNode, CountOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Count the documents by filter.
CountOptions - Class in org.elastos.hive.vault.database
CountOptions() - Constructor for class org.elastos.hive.vault.database.CountOptions
 
createBackupService() - Method in class org.elastos.hive.vault.ServiceBuilder
Create the service of the backup module.
createCollection(String) - Method in interface org.elastos.hive.service.DatabaseService
Lets the vault owner create a collection on database.
createCollection(String) - Method in class org.elastos.hive.vault.database.DatabaseController
Create the collection.
createDatabase() - Method in class org.elastos.hive.vault.ServiceBuilder
Create the service for the database module.
createFilesService() - Method in class org.elastos.hive.vault.ServiceBuilder
Create the service for the files module.
createPromotionService() - Method in class org.elastos.hive.backup.ServiceBuilder
 
createRunFileParams(String) - Static method in class org.elastos.hive.vault.scripting.Executable
 
createScriptingService() - Method in class org.elastos.hive.vault.ServiceBuilder
Create the service of the scripting module.
createService(Class<S>, boolean) - Method in class org.elastos.hive.connection.NodeRPCConnection
Create a retrofit API service which can map Java call to Http request.
CredentialCode - Class in org.elastos.hive.vault.backup.credential
The credential code is used for the backup of the vault data.
CredentialCode(ServiceEndpoint, BackupContext) - Constructor for class org.elastos.hive.vault.backup.credential.CredentialCode
Create the credential code by service end point and the backup context.

D

DatabaseController - Class in org.elastos.hive.vault.database
The wrapper class is to access the database module of the hive node.
DatabaseController(NodeRPCConnection) - Constructor for class org.elastos.hive.vault.database.DatabaseController
Create by the RPC connection.
DatabaseService - Interface in org.elastos.hive.service
Mongo database service.
DataStorage - Interface in org.elastos.hive
The data storage for the access token, the backup credential, etc.
delete(String) - Method in interface org.elastos.hive.service.FilesService
Deletes a file, or a folder.
delete(String) - Method in class org.elastos.hive.vault.files.FilesController
Delete the remote file.
deleteCollection(String) - Method in interface org.elastos.hive.service.DatabaseService
Lets the vault owner delete a collection on database according to collection name.
deleteCollection(String) - Method in class org.elastos.hive.vault.database.DatabaseController
Delete the collection by name.
DeleteExecutable - Class in org.elastos.hive.vault.scripting
Convenient class to delete the documents from the collection.
DeleteExecutable(String, String, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.DeleteExecutable
 
DeleteExecutable(String, String) - Constructor for class org.elastos.hive.vault.scripting.DeleteExecutable
 
deleteMany(String, JsonNode) - Method in interface org.elastos.hive.service.DatabaseService
Delete many existing documents in a given collection.
deleteMany(String, JsonNode, DeleteOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Delete all matched document by the filter.
deleteOne(String, JsonNode) - Method in interface org.elastos.hive.service.DatabaseService
Delete an existing document in a given collection.
deleteOne(String, JsonNode, DeleteOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Delete the first matched document by the filter.
DeleteOptions - Class in org.elastos.hive.vault.database
DeleteOptions(Collation, Index) - Constructor for class org.elastos.hive.vault.database.DeleteOptions
 
DeleteOptions(Collation, List<Index>) - Constructor for class org.elastos.hive.vault.database.DeleteOptions
 
DeleteOptions() - Constructor for class org.elastos.hive.vault.database.DeleteOptions
 
DescendingSortItem - Class in org.elastos.hive.vault.database
DescendingSortItem presents the condition of the query operation.
DescendingSortItem(String) - Constructor for class org.elastos.hive.vault.database.DescendingSortItem
 
DIDNotPublishedException - Exception in org.elastos.hive.exception
 
DIDNotPublishedException() - Constructor for exception org.elastos.hive.exception.DIDNotPublishedException
 
DIDNotPublishedException(String) - Constructor for exception org.elastos.hive.exception.DIDNotPublishedException
 
DIDNotPublishedException(String, Throwable) - Constructor for exception org.elastos.hive.exception.DIDNotPublishedException
 
DIDNotPublishedException(Throwable) - Constructor for exception org.elastos.hive.exception.DIDNotPublishedException
 
DIDResolverNotSetupException - Exception in org.elastos.hive.exception
 
DIDResolverNotSetupException() - Constructor for exception org.elastos.hive.exception.DIDResolverNotSetupException
 
DIDResolverNotSetupException(String) - Constructor for exception org.elastos.hive.exception.DIDResolverNotSetupException
 
DIDResolverNotSetupException(String, Throwable) - Constructor for exception org.elastos.hive.exception.DIDResolverNotSetupException
 
DIDResolverNotSetupException(Throwable) - Constructor for exception org.elastos.hive.exception.DIDResolverNotSetupException
 
DIDResolverSetupException - Exception in org.elastos.hive.exception
 
DIDResolverSetupException() - Constructor for exception org.elastos.hive.exception.DIDResolverSetupException
 
DIDResolverSetupException(String) - Constructor for exception org.elastos.hive.exception.DIDResolverSetupException
 
DIDResolverSetupException(String, Throwable) - Constructor for exception org.elastos.hive.exception.DIDResolverSetupException
 
DIDResolverSetupException(Throwable) - Constructor for exception org.elastos.hive.exception.DIDResolverSetupException
 
DIDResoverAlreadySetupException - Exception in org.elastos.hive.exception
 
DIDResoverAlreadySetupException() - Constructor for exception org.elastos.hive.exception.DIDResoverAlreadySetupException
 
DIDResoverAlreadySetupException(String) - Constructor for exception org.elastos.hive.exception.DIDResoverAlreadySetupException
 
DIDResoverAlreadySetupException(String, Throwable) - Constructor for exception org.elastos.hive.exception.DIDResoverAlreadySetupException
 
DIDResoverAlreadySetupException(Throwable) - Constructor for exception org.elastos.hive.exception.DIDResoverAlreadySetupException
 
downloadFile(String, Class<T>) - Method in class org.elastos.hive.ScriptRunner
 
downloadFile(String, Class<T>) - Method in interface org.elastos.hive.service.ScriptingInvocationService
Invoke the execution of the script to download a file in the streaming mode.
downloadFile(String, Class<T>) - Method in class org.elastos.hive.vault.scripting.ScriptingController
Download file really by transaction ID.

E

Executable - Class in org.elastos.hive.vault.scripting
Represents the executable of the script.
Executable(String, Executable.Type, Object) - Constructor for class org.elastos.hive.vault.scripting.Executable
 
Executable.DatabaseBody - Class in org.elastos.hive.vault.scripting
 
Executable.FileBody - Class in org.elastos.hive.vault.scripting
 
Executable.Type - Enum in org.elastos.hive.vault.scripting
 

F

fetch() - Method in class org.elastos.hive.connection.auth.AccessToken
 
fetch() - Method in interface org.elastos.hive.connection.auth.CodeFetcher
Fetch the code.
FileBody() - Constructor for class org.elastos.hive.vault.scripting.Executable.FileBody
 
FileDownloadExecutable - Class in org.elastos.hive.vault.scripting
Convenient class for downloading file by the script.
FileDownloadExecutable(String) - Constructor for class org.elastos.hive.vault.scripting.FileDownloadExecutable
 
FileHashExecutable - Class in org.elastos.hive.vault.scripting
The executable to get the hash code of the file content.
FileHashExecutable(String) - Constructor for class org.elastos.hive.vault.scripting.FileHashExecutable
 
FileInfo - Class in org.elastos.hive.vault.files
The class to represent the information of File or Folder.
FileInfo() - Constructor for class org.elastos.hive.vault.files.FileInfo
 
FilePropertiesExecutable - Class in org.elastos.hive.vault.scripting
The executable to get the properties of the file.
FilePropertiesExecutable(String) - Constructor for class org.elastos.hive.vault.scripting.FilePropertiesExecutable
 
FilesController - Class in org.elastos.hive.vault.files
The wrapper class is to access the files module of the hive node.
FilesController(NodeRPCConnection) - Constructor for class org.elastos.hive.vault.files.FilesController
Create by the RPC connection.
FilesService - Interface in org.elastos.hive.service
Vault provides a storage for files saving.
FileUploadExecutable - Class in org.elastos.hive.vault.scripting
The executable to upload the file content.
FileUploadExecutable(String) - Constructor for class org.elastos.hive.vault.scripting.FileUploadExecutable
 
find(String, JsonNode, FindOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Find all matched document by filter.
FindExecutable - Class in org.elastos.hive.vault.scripting
Client side representation of a back-end execution that runs a mongo "find" query and returns some items as a result.
FindExecutable(String, String, JsonNode, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.FindExecutable
 
FindExecutable(String, String, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.FindExecutable
 
findMany(String, JsonNode, FindOptions) - Method in interface org.elastos.hive.service.DatabaseService
Find many documents.
findOne(String, JsonNode, FindOptions) - Method in interface org.elastos.hive.service.DatabaseService
Find a specific document.
findOne(String, JsonNode, FindOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Find the first matched document by filter.
FindOptions - Class in org.elastos.hive.vault.database
FindOptions() - Constructor for class org.elastos.hive.vault.database.FindOptions
 
flush(String) - Method in interface org.elastos.hive.connection.auth.BridgeHandler
Flush the value of the access token.
flush() - Method in class org.elastos.hive.connection.UploadOutputStream
 
FORBIDDEN - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
fromInt(int) - Static method in enum org.elastos.hive.vault.database.Collation.Strength
 
fromInt(int) - Static method in enum org.elastos.hive.vault.database.Index.Order
 
fromString(String) - Static method in enum org.elastos.hive.vault.database.Collation.Alternate
 
fromString(String) - Static method in enum org.elastos.hive.vault.database.Collation.CaseFirst
 
fromString(String) - Static method in enum org.elastos.hive.vault.database.Collation.MaxVariable
 
fromString(String) - Static method in enum org.elastos.hive.vault.database.Index.Order
 

G

getAccessToken() - Method in class org.elastos.hive.connection.NodeRPCConnection
 
getAccessToken() - Method in class org.elastos.hive.ServiceEndpoint
 
getAcknowledged() - Method in class org.elastos.hive.vault.database.InsertResult
 
getAcknowledged() - Method in class org.elastos.hive.vault.database.UpdateResult
 
getAllowPartialResults() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getAmount() - Method in class org.elastos.hive.subscription.PricingPlan
 
getAppContext() - Method in class org.elastos.hive.ServiceEndpoint
Get the application context.
getAppContextProvider() - Method in class org.elastos.hive.AppContext
Get the provider of the application context.
getAppDid() - Method in class org.elastos.hive.ServiceEndpoint
Get the application DID in the current calling context.
getAppInstanceDid() - Method in class org.elastos.hive.ServiceEndpoint
Get the application instance DID in the current calling context;
getAppInstanceDocument() - Method in interface org.elastos.hive.AppContextProvider
The method for upper Application to implement to provide current application instance did document as the running context.
getAppScope() - Method in class org.elastos.hive.service.CloudBackupContext
Get the application scope.
getAuthorization(String) - Method in interface org.elastos.hive.AppContextProvider
The method for upper Application to implement to acquire the authorization code from user's approval.
getAuthorization(String, String, String) - Method in interface org.elastos.hive.service.BackupContext
Get the authorization information for the backup processing.
getBackupInfo() - Method in class org.elastos.hive.subscription.SubscriptionController
Get the details of the backup service.
getBackupPricingPlan(String) - Method in class org.elastos.hive.subscription.SubscriptionController
Get the pricing plan for the backup by name.
getBackupPricingPlanList() - Method in class org.elastos.hive.subscription.SubscriptionController
Get the pricing plan list of the backup service which can be used for upgrading the service.
getBackupService() - Method in class org.elastos.hive.Vault
Get the backup service of the vault.
getBatchSize() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getBody() - Method in class org.elastos.hive.vault.scripting.Condition
 
getBypassDocumentValidation() - Method in class org.elastos.hive.vault.database.UpdateOptions
 
getCanonicalizedAccessToken() - Method in class org.elastos.hive.connection.auth.AccessToken
Get the access token without exception.
getCaseFirst() - Method in class org.elastos.hive.vault.database.Collation
 
getCaseLevel() - Method in class org.elastos.hive.vault.database.Collation
 
getClientId() - Method in class org.elastos.hive.service.CloudBackupContext
Get the client ID for access the cloud service.
getCode() - Method in exception org.elastos.hive.connection.NodeRPCException
 
getCommitId() - Method in class org.elastos.hive.endpoint.AboutController
Get the commit id of the github of the hive node.
getCreated() - Method in class org.elastos.hive.subscription.BackupInfo
 
getCreated() - Method in class org.elastos.hive.subscription.VaultInfo
 
getCreated() - Method in class org.elastos.hive.vault.files.FileInfo
 
getCreateTime() - Method in class org.elastos.hive.subscription.payment.Order
 
getCurrency() - Method in class org.elastos.hive.subscription.PricingPlan
 
getDatabaseService() - Method in class org.elastos.hive.Vault
Get the database service of the vault.
getDownloadReader(String) - Method in interface org.elastos.hive.service.FilesService
 
getDownloadReader(String) - Method in class org.elastos.hive.vault.files.FilesController
Get the download reader for downloading the content of the file.
getDownloadStream(String) - Method in interface org.elastos.hive.service.FilesService
Initiates a download sequence by returning a Reader or InputStream object that can be used to read the download file in chunks.
getDownloadStream(String) - Method in class org.elastos.hive.vault.files.FilesController
Get the input stream for downloading the content of the file.
getElaAddress() - Method in class org.elastos.hive.subscription.payment.Order
 
getElaAmount() - Method in class org.elastos.hive.subscription.payment.Order
 
getElaAmount() - Method in class org.elastos.hive.subscription.payment.Receipt
 
getFilesService() - Method in class org.elastos.hive.Vault
Get the files service of the vault.
getHash(String) - Method in class org.elastos.hive.vault.files.FilesController
Get the hash code of the remote file content.
getInsertedIds() - Method in class org.elastos.hive.vault.database.InsertResult
 
getInternalCode() - Method in exception org.elastos.hive.connection.NodeRPCException
 
getLatestCommitId() - Method in class org.elastos.hive.ServiceEndpoint
Get the last commit ID of the hive node.
getLimit() - Method in class org.elastos.hive.vault.database.CountOptions
 
getLimit() - Method in class org.elastos.hive.vault.database.FindOptions
 
getLimit() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getLimitStr() - Method in class org.elastos.hive.vault.database.FindOptions
 
getLocalDataDir() - Method in interface org.elastos.hive.AppContextProvider
The method for upper Application to implement to set up the directory to store local data, especially for access tokens.
getLocale() - Method in class org.elastos.hive.vault.database.Collation
 
getMatchedCount() - Method in class org.elastos.hive.vault.database.UpdateResult
 
getMaxStorage() - Method in class org.elastos.hive.subscription.PricingPlan
 
getMaxTimeMS() - Method in class org.elastos.hive.vault.database.CountOptions
 
getModifiedCount() - Method in class org.elastos.hive.vault.database.UpdateResult
 
getName() - Method in class org.elastos.hive.subscription.PricingPlan
 
getName() - Method in class org.elastos.hive.vault.files.FileInfo
 
getNodeVersion() - Method in class org.elastos.hive.endpoint.AboutController
Get the version of the hive node.
getNodeVersion() - Method in class org.elastos.hive.ServiceEndpoint
Get the version of the hive node.
getOrder(String) - Method in class org.elastos.hive.BackupSubscription
 
getOrder(String) - Method in interface org.elastos.hive.service.PaymentService
Obtain the order detail according to the given order id.
getOrder(String) - Method in class org.elastos.hive.subscription.payment.PaymentController
Get the order information by the order id.
getOrder(String) - Method in class org.elastos.hive.VaultSubscription
 
getOrderId() - Method in class org.elastos.hive.subscription.payment.Order
 
getOrderId() - Method in class org.elastos.hive.subscription.payment.Receipt
 
getOrderList() - Method in class org.elastos.hive.BackupSubscription
 
getOrderList() - Method in interface org.elastos.hive.service.PaymentService
Obtain all the list of order detail.
getOrderList() - Method in class org.elastos.hive.VaultSubscription
 
getOrders(String) - Method in class org.elastos.hive.subscription.payment.PaymentController
Get the orders by the subscription type.
getPaidDid() - Method in class org.elastos.hive.subscription.payment.Receipt
 
getParameter(String) - Method in interface org.elastos.hive.service.BackupContext
Get the parameter for backup operation by key.
getParameter(String) - Method in class org.elastos.hive.service.CloudBackupContext
 
getParameter(String) - Method in class org.elastos.hive.service.HiveBackupContext
 
getPricePlan() - Method in class org.elastos.hive.subscription.BackupInfo
 
getPricePlan() - Method in class org.elastos.hive.subscription.VaultInfo
 
getPricingName() - Method in class org.elastos.hive.subscription.payment.Order
 
getPricingName() - Method in class org.elastos.hive.subscription.payment.Receipt
 
getPricingPlan(String) - Method in class org.elastos.hive.BackupSubscription
 
getPricingPlan(String) - Method in interface org.elastos.hive.service.SubscriptionService
Let users to get the specific pricing plan information.
getPricingPlan(String) - Method in class org.elastos.hive.VaultSubscription
 
getPricingPlanList() - Method in class org.elastos.hive.BackupSubscription
 
getPricingPlanList() - Method in interface org.elastos.hive.service.SubscriptionService
Let users to get the all the pricing plan list in order to subscribe to a new vault or backup service on the user's requirement.
getPricingPlanList() - Method in class org.elastos.hive.VaultSubscription
 
getProjection() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getPromotionService() - Method in class org.elastos.hive.Backup
 
getProof() - Method in class org.elastos.hive.subscription.payment.Order
 
getProof() - Method in class org.elastos.hive.subscription.payment.Receipt
 
getProperty(String) - Method in class org.elastos.hive.vault.files.FilesController
Get the details of the remote file.
getProviderAddress(String) - Static method in class org.elastos.hive.AppContext
Get the URL address of the provider throw the document of the user DID.
getProviderAddress(String, String) - Static method in class org.elastos.hive.AppContext
Get the URL address of the provider by the user DID.
getProviderAddress() - Method in class org.elastos.hive.connection.NodeRPCConnection
 
getProviderAddress() - Method in class org.elastos.hive.ServiceEndpoint
Get the end-point address of this service End-point.
getPublishedChannels() - Method in interface org.elastos.hive.service.PubSubService
 
getReceipt(String) - Method in class org.elastos.hive.BackupSubscription
 
getReceipt(String) - Method in interface org.elastos.hive.service.PaymentService
Obtain the receipt detail according to the order id.
getReceipt(String) - Method in class org.elastos.hive.subscription.payment.PaymentController
Get the receipt by the order id.
getReceipt(String) - Method in class org.elastos.hive.VaultSubscription
 
getReceiptId() - Method in class org.elastos.hive.subscription.payment.Receipt
 
getRedirectUrl() - Method in class org.elastos.hive.service.CloudBackupContext
Get the redirect URL.
getReturnKey() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getScriptingService() - Method in class org.elastos.hive.Vault
Get the scripting service of the vault.
getServiceDays() - Method in class org.elastos.hive.subscription.PricingPlan
 
getServiceDid() - Method in class org.elastos.hive.ServiceEndpoint
Get the remote node service application DID.
getServiceDid() - Method in class org.elastos.hive.subscription.BackupInfo
 
getServiceDid() - Method in class org.elastos.hive.subscription.VaultInfo
 
getServiceInstanceDid() - Method in class org.elastos.hive.ServiceEndpoint
Get the remote node service instance DID where is serving the storage service.
getShowRecordId() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getSize() - Method in class org.elastos.hive.vault.files.FileInfo
 
getSkip() - Method in class org.elastos.hive.vault.database.CountOptions
 
getSkip() - Method in class org.elastos.hive.vault.database.FindOptions
 
getSkip() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getSkipStr() - Method in class org.elastos.hive.vault.database.FindOptions
 
getSort() - Method in class org.elastos.hive.vault.database.QueryOptions
 
getStorage() - Method in class org.elastos.hive.ServiceEndpoint
Get the instance of the data storage.
getStorageQuota() - Method in class org.elastos.hive.subscription.BackupInfo
 
getStorageQuota() - Method in class org.elastos.hive.subscription.VaultInfo
 
getStorageUsed() - Method in class org.elastos.hive.subscription.BackupInfo
 
getStorageUsed() - Method in class org.elastos.hive.subscription.VaultInfo
 
getSubscribedChannels() - Method in interface org.elastos.hive.service.PubSubService
 
getSubscription() - Method in class org.elastos.hive.subscription.payment.Order
 
getTargetProviderAddress() - Method in class org.elastos.hive.service.HiveBackupContext
Get the host URL of the backup server.
getTargetServiceDid() - Method in class org.elastos.hive.service.HiveBackupContext
Get the service DID of the backup server.
getToken() - Method in class org.elastos.hive.vault.backup.credential.CredentialCode
Get the token of the credential code.
getTransactionId() - Method in class org.elastos.hive.subscription.payment.Receipt
 
getType() - Method in interface org.elastos.hive.service.BackupContext
Get the backup destination type which the vault want to go.
getUpdated() - Method in class org.elastos.hive.subscription.BackupInfo
 
getUpdated() - Method in class org.elastos.hive.subscription.VaultInfo
 
getUpdated() - Method in class org.elastos.hive.vault.files.FileInfo
 
getUploadStream(String) - Method in interface org.elastos.hive.service.FilesService
Initiates an upload sequence by returning a Write or OutputStream object that can be used to write small file chunks.
getUploadStream(String) - Method in class org.elastos.hive.vault.files.FilesController
Get the upload stream for uploading the content of the file.
getUploadWriter(String) - Method in interface org.elastos.hive.service.FilesService
 
getUploadWriter(String) - Method in class org.elastos.hive.vault.files.FilesController
Get the upload writer for uploading the content of the file.
getUpsert() - Method in class org.elastos.hive.vault.database.UpdateOptions
 
getUpsertedId() - Method in class org.elastos.hive.vault.database.UpdateResult
 
getUserDid() - Method in class org.elastos.hive.AppContext
Get the user DID.
getUserDid() - Method in class org.elastos.hive.ServiceEndpoint
Get the user DID string of this serviceEndpoint.
getVaultInfo() - Method in class org.elastos.hive.subscription.SubscriptionController
Get the details of the vault.
getVaultPricingPlan(String) - Method in class org.elastos.hive.subscription.SubscriptionController
Get the pricing plan for the vault by name.
getVaultPricingPlanList() - Method in class org.elastos.hive.subscription.SubscriptionController
Get the pricing plan list of the vault which can be used for upgrading the vault.
getVersion() - Method in class org.elastos.hive.BackupSubscription
 
getVersion() - Method in interface org.elastos.hive.service.PaymentService
Obtain the version of the payment module.
getVersion() - Method in class org.elastos.hive.subscription.payment.PaymentController
Get the version of the payment module.
getVersion() - Method in class org.elastos.hive.VaultSubscription
 

H

hash(String) - Method in interface org.elastos.hive.service.FilesService
Returns the SHA256 hash of the given file.
hint(Index) - Method in class org.elastos.hive.vault.database.DeleteOptions
 
hint(List<Index>) - Method in class org.elastos.hive.vault.database.DeleteOptions
 
hint(Index[]) - Method in class org.elastos.hive.vault.database.DeleteOptions
 
hint() - Method in class org.elastos.hive.vault.database.DeleteOptions
 
HiveBackupContext - Class in org.elastos.hive.service
The backup context for hive node server.
HiveBackupContext() - Constructor for class org.elastos.hive.service.HiveBackupContext
 
HiveException - Exception in org.elastos.hive.exception
Base class of other hive exceptions.
HiveException() - Constructor for exception org.elastos.hive.exception.HiveException
 
HiveException(String) - Constructor for exception org.elastos.hive.exception.HiveException
 
HiveException(String, Throwable) - Constructor for exception org.elastos.hive.exception.HiveException
 
HiveException(Throwable) - Constructor for exception org.elastos.hive.exception.HiveException
 

I

IC_BACKUP_IS_IN_PROCESSING - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
IC_INVALID_PARAMETER - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
IllegalDidFormatException - Exception in org.elastos.hive.exception
 
IllegalDidFormatException() - Constructor for exception org.elastos.hive.exception.IllegalDidFormatException
 
IllegalDidFormatException(String) - Constructor for exception org.elastos.hive.exception.IllegalDidFormatException
 
IllegalDidFormatException(String, Throwable) - Constructor for exception org.elastos.hive.exception.IllegalDidFormatException
 
IllegalDidFormatException(Throwable) - Constructor for exception org.elastos.hive.exception.IllegalDidFormatException
 
Index - Class in org.elastos.hive.vault.database
Index presents the condition of the query operation.
Index(String, Index.Order) - Constructor for class org.elastos.hive.vault.database.Index
 
Index.Order - Enum in org.elastos.hive.vault.database
 
InsertExecutable - Class in org.elastos.hive.vault.scripting
The executable to wrapper the "insert" operation to the mongo database of the hive node.
InsertExecutable(String, String, JsonNode, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.InsertExecutable
 
InsertExecutable(String, String, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.InsertExecutable
 
insertMany(String, List<JsonNode>, InsertOptions) - Method in interface org.elastos.hive.service.DatabaseService
Insert many new documents in a given collection.
insertMany(String, List<JsonNode>, InsertOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Insert many documents.
insertOne(String, JsonNode, InsertOptions) - Method in interface org.elastos.hive.service.DatabaseService
Insert a new document in a given collection.
insertOne(String, JsonNode, InsertOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Insert one document.
InsertOptions - Class in org.elastos.hive.vault.database
InsertOptions() - Constructor for class org.elastos.hive.vault.database.InsertOptions
 
InsertOptions(Boolean) - Constructor for class org.elastos.hive.vault.database.InsertOptions
 
InsertOptions(Boolean, Boolean) - Constructor for class org.elastos.hive.vault.database.InsertOptions
 
InsertResult - Class in org.elastos.hive.vault.database
InsertResult() - Constructor for class org.elastos.hive.vault.database.InsertResult
 
INSUFFICIENT_STORAGE - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
InsufficientStorageException - Exception in org.elastos.hive.exception
 
InsufficientStorageException() - Constructor for exception org.elastos.hive.exception.InsufficientStorageException
 
InsufficientStorageException(String) - Constructor for exception org.elastos.hive.exception.InsufficientStorageException
 
InsufficientStorageException(String, Throwable) - Constructor for exception org.elastos.hive.exception.InsufficientStorageException
 
InsufficientStorageException(Throwable) - Constructor for exception org.elastos.hive.exception.InsufficientStorageException
 
invalidate() - Method in class org.elastos.hive.connection.auth.AccessToken
 
invalidate() - Method in interface org.elastos.hive.connection.auth.CodeFetcher
Invalidate the code for getting the code from remote server.
isFile() - Method in class org.elastos.hive.vault.files.FileInfo
 

K

key() - Method in class org.elastos.hive.vault.database.Index
 

L

list(String) - Method in interface org.elastos.hive.service.FilesService
Returns the list of all files in a given folder.
listChildren(String) - Method in class org.elastos.hive.vault.files.FilesController
List the files on the remote folder.
loadAccessToken(String) - Method in interface org.elastos.hive.DataStorage
 
loadAccessTokenByAddress(String) - Method in interface org.elastos.hive.DataStorage
 
loadBackupCredential(String) - Method in interface org.elastos.hive.DataStorage
 
locale(String) - Method in class org.elastos.hive.vault.database.Collation
 

M

major() - Method in class org.elastos.hive.endpoint.NodeVersion
 
maxVariable(Collation.MaxVariable) - Method in class org.elastos.hive.vault.database.Collation
 
maxVariable() - Method in class org.elastos.hive.vault.database.Collation
 
minor() - Method in class org.elastos.hive.endpoint.NodeVersion
 
move(String, String) - Method in interface org.elastos.hive.service.FilesService
Moves (or renames) a file or folder.
moveFile(String, String) - Method in class org.elastos.hive.vault.files.FilesController
Move file from srcPath to destPath.

N

NetworkException - Exception in org.elastos.hive.exception
 
NetworkException(IOException) - Constructor for exception org.elastos.hive.exception.NetworkException
 
NetworkException(String) - Constructor for exception org.elastos.hive.exception.NetworkException
 
NodeRPCConnection - Class in org.elastos.hive.connection
Network connection for accessing hive node with restful APIs.
NodeRPCConnection() - Constructor for class org.elastos.hive.connection.NodeRPCConnection
 
NodeRPCException - Exception in org.elastos.hive.connection
Main error response exception for internal usage.
NodeRPCException(int, int, String) - Constructor for exception org.elastos.hive.connection.NodeRPCException
 
NodeVersion - Class in org.elastos.hive.endpoint
The version of the hive node is returned by AboutController.getNodeVersion()
NodeVersion() - Constructor for class org.elastos.hive.endpoint.NodeVersion
 
normalization(boolean) - Method in class org.elastos.hive.vault.database.Collation
 
normalization() - Method in class org.elastos.hive.vault.database.Collation
 
NOT_FOUND - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
NotFoundException - Exception in org.elastos.hive.exception
 
NotFoundException() - Constructor for exception org.elastos.hive.exception.NotFoundException
 
NotFoundException(String) - Constructor for exception org.elastos.hive.exception.NotFoundException
 
NotFoundException(String, Throwable) - Constructor for exception org.elastos.hive.exception.NotFoundException
 
NotFoundException(Throwable) - Constructor for exception org.elastos.hive.exception.NotFoundException
 
NotFoundException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.NotFoundException
 
NotImplementedException - Exception in org.elastos.hive.exception
 
NotImplementedException() - Constructor for exception org.elastos.hive.exception.NotImplementedException
 
NotImplementedException(String) - Constructor for exception org.elastos.hive.exception.NotImplementedException
 
NotImplementedException(String, Throwable) - Constructor for exception org.elastos.hive.exception.NotImplementedException
 
NotImplementedException(Throwable) - Constructor for exception org.elastos.hive.exception.NotImplementedException
 
numericOrdering(boolean) - Method in class org.elastos.hive.vault.database.Collation
 
numericOrdering() - Method in class org.elastos.hive.vault.database.Collation
 

O

openConnection(String) - Method in class org.elastos.hive.connection.NodeRPCConnection
Open a HTTP connection to communicate with hive node.
Options(Integer, Integer, Integer) - Constructor for class org.elastos.hive.vault.scripting.QueryHasResultCondition.Options
 
OrCondition - Class in org.elastos.hive.vault.scripting
Vault script condition that succeeds if at least one of the contained conditions are successful.
OrCondition(String, List<Condition>) - Constructor for class org.elastos.hive.vault.scripting.OrCondition
 
OrCondition(String) - Constructor for class org.elastos.hive.vault.scripting.OrCondition
 
Order - Class in org.elastos.hive.subscription.payment
The order is used for payment module and represents and order to upgrade the service of the vault or the backup.
Order() - Constructor for class org.elastos.hive.subscription.payment.Order
 
order() - Method in class org.elastos.hive.vault.database.Index
 
ordered(Boolean) - Method in class org.elastos.hive.vault.database.InsertOptions
 
org.elastos.hive - package org.elastos.hive
 
org.elastos.hive.backup - package org.elastos.hive.backup
 
org.elastos.hive.backup.promotion - package org.elastos.hive.backup.promotion
 
org.elastos.hive.connection - package org.elastos.hive.connection
 
org.elastos.hive.connection.auth - package org.elastos.hive.connection.auth
 
org.elastos.hive.endpoint - package org.elastos.hive.endpoint
 
org.elastos.hive.exception - package org.elastos.hive.exception
 
org.elastos.hive.service - package org.elastos.hive.service
 
org.elastos.hive.subscription - package org.elastos.hive.subscription
 
org.elastos.hive.subscription.payment - package org.elastos.hive.subscription.payment
 
org.elastos.hive.vault - package org.elastos.hive.vault
 
org.elastos.hive.vault.backup - package org.elastos.hive.vault.backup
 
org.elastos.hive.vault.backup.credential - package org.elastos.hive.vault.backup.credential
 
org.elastos.hive.vault.database - package org.elastos.hive.vault.database
 
org.elastos.hive.vault.files - package org.elastos.hive.vault.files
 
org.elastos.hive.vault.scripting - package org.elastos.hive.vault.scripting
 

P

patch() - Method in class org.elastos.hive.endpoint.NodeVersion
 
PathNotExistException - Exception in org.elastos.hive.exception
 
PathNotExistException() - Constructor for exception org.elastos.hive.exception.PathNotExistException
 
PathNotExistException(String) - Constructor for exception org.elastos.hive.exception.PathNotExistException
 
PathNotExistException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.PathNotExistException
 
PaymentController - Class in org.elastos.hive.subscription.payment
The payment controller is the wrapper class for accessing the payment module.
PaymentController(NodeRPCConnection) - Constructor for class org.elastos.hive.subscription.payment.PaymentController
 
PaymentService - Interface in org.elastos.hive.service
The payment service provides users with the way to purchase a paid vault or backup service, such as to subscribe to a new vault or backup with paid pricing plan or extend the purchased subscription service.
payOrder(String, String) - Method in class org.elastos.hive.BackupSubscription
 
payOrder(String, String) - Method in interface org.elastos.hive.service.PaymentService
Pay for the order with a given id.
payOrder(String, String) - Method in class org.elastos.hive.subscription.payment.PaymentController
Pay the order by the order id and the transaction id.
payOrder(String, String) - Method in class org.elastos.hive.VaultSubscription
 
placeOrder(String) - Method in class org.elastos.hive.BackupSubscription
 
placeOrder(String) - Method in interface org.elastos.hive.service.PaymentService
Place an order for new subscription or extending the existing subscription service.
placeOrder(String, String) - Method in class org.elastos.hive.subscription.payment.PaymentController
This is for creating the payment order which upgrades the pricing plan of the vault or the backup.
placeOrder(String) - Method in class org.elastos.hive.VaultSubscription
 
PricingPlan - Class in org.elastos.hive.subscription
The pricing plan is for upgrading the service of the vault or the backup.
PricingPlan() - Constructor for class org.elastos.hive.subscription.PricingPlan
 
PricingPlanNotFoundException - Exception in org.elastos.hive.exception
 
PricingPlanNotFoundException() - Constructor for exception org.elastos.hive.exception.PricingPlanNotFoundException
 
PricingPlanNotFoundException(String) - Constructor for exception org.elastos.hive.exception.PricingPlanNotFoundException
 
PricingPlanNotFoundException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.PricingPlanNotFoundException
 
promote() - Method in class org.elastos.hive.backup.promotion.PromotionController
 
promote() - Method in interface org.elastos.hive.service.PromotionService
Promote the backup node to vault node by backup data.
PromotionController - Class in org.elastos.hive.backup.promotion
 
PromotionController(NodeRPCConnection) - Constructor for class org.elastos.hive.backup.promotion.PromotionController
 
PromotionService - Interface in org.elastos.hive.service
The promotion service is for upgrading the backup node to the vault node.
ProviderNotSetException - Exception in org.elastos.hive.exception
 
ProviderNotSetException() - Constructor for exception org.elastos.hive.exception.ProviderNotSetException
 
ProviderNotSetException(String) - Constructor for exception org.elastos.hive.exception.ProviderNotSetException
 
ProviderNotSetException(String, Throwable) - Constructor for exception org.elastos.hive.exception.ProviderNotSetException
 
ProviderNotSetException(Throwable) - Constructor for exception org.elastos.hive.exception.ProviderNotSetException
 
publish(String) - Method in interface org.elastos.hive.service.PubSubService
 
PubSubService - Interface in org.elastos.hive.service
 
push(String, String) - Method in interface org.elastos.hive.service.PubSubService
 

Q

query(String, JsonNode, QueryOptions) - Method in interface org.elastos.hive.service.DatabaseService
Find many documents by many options.
query(String, JsonNode, QueryOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Query the documents by filter and options.
QueryHasResultCondition - Class in org.elastos.hive.vault.scripting
Vault script condition to check if a database query returns results or not.
QueryHasResultCondition(String, String, JsonNode, QueryHasResultCondition.Options) - Constructor for class org.elastos.hive.vault.scripting.QueryHasResultCondition
 
QueryHasResultCondition(String, String, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.QueryHasResultCondition
 
QueryHasResultCondition.Options - Class in org.elastos.hive.vault.scripting
 
QueryOptions - Class in org.elastos.hive.vault.database
QueryOptions() - Constructor for class org.elastos.hive.vault.database.QueryOptions
 

R

Receipt - Class in org.elastos.hive.subscription.payment
The receipt contains the details of the paid information.
Receipt() - Constructor for class org.elastos.hive.subscription.payment.Receipt
 
refreshAccessToken() - Method in class org.elastos.hive.ServiceEndpoint
Refresh the access token.
registerScript(String, Executable) - Method in interface org.elastos.hive.service.ScriptingService
 
registerScript(String, Condition, Executable) - Method in interface org.elastos.hive.service.ScriptingService
 
registerScript(String, Executable, boolean, boolean) - Method in interface org.elastos.hive.service.ScriptingService
Lets the vault owner register a script on his vault for a given application.
registerScript(String, Condition, Executable, boolean, boolean) - Method in interface org.elastos.hive.service.ScriptingService
Let the vault owner register a script on his vault for a given application.
registerScript(String, Condition, Executable, boolean, boolean) - Method in class org.elastos.hive.vault.scripting.ScriptingController
Register a script on the hive node.
remove(String) - Method in interface org.elastos.hive.service.PubSubService
 
restoreFrom() - Method in interface org.elastos.hive.service.BackupService
This is for restore vault data from backup server only once.
restoreFrom(String) - Method in class org.elastos.hive.vault.backup.BackupController
Restore the data of the vault from other place.

S

ScriptingController - Class in org.elastos.hive.vault.scripting
The wrapper class to access the scripting APIs of the hive node.
ScriptingController(NodeRPCConnection) - Constructor for class org.elastos.hive.vault.scripting.ScriptingController
Create by the RPC connection.
ScriptingInvocationService - Interface in org.elastos.hive.service
Vault provides the scripting service to general users to execute a preset script by the vault owner.
ScriptingService - Interface in org.elastos.hive.service
Vault provides the scripting service to vault owners to register executable script and make invocation as well.
ScriptNotFoundException - Exception in org.elastos.hive.exception
 
ScriptNotFoundException() - Constructor for exception org.elastos.hive.exception.ScriptNotFoundException
 
ScriptNotFoundException(String) - Constructor for exception org.elastos.hive.exception.ScriptNotFoundException
 
ScriptNotFoundException(String, Throwable) - Constructor for exception org.elastos.hive.exception.ScriptNotFoundException
 
ScriptNotFoundException(Throwable) - Constructor for exception org.elastos.hive.exception.ScriptNotFoundException
 
ScriptNotFoundException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.ScriptNotFoundException
 
ScriptRunner - Class in org.elastos.hive
The script runner is used on the script calling side.
ScriptRunner(AppContext, String) - Constructor for class org.elastos.hive.ScriptRunner
 
ServerUnknownException - Exception in org.elastos.hive.exception
 
ServerUnknownException() - Constructor for exception org.elastos.hive.exception.ServerUnknownException
 
ServerUnknownException(String) - Constructor for exception org.elastos.hive.exception.ServerUnknownException
 
ServerUnknownException(int, String) - Constructor for exception org.elastos.hive.exception.ServerUnknownException
 
ServerUnknownException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.ServerUnknownException
 
ServiceBuilder - Class in org.elastos.hive.backup
The service builder for the services of the backup hive node.
ServiceBuilder(ServiceEndpoint) - Constructor for class org.elastos.hive.backup.ServiceBuilder
 
ServiceBuilder - Class in org.elastos.hive.vault
Helper class to create service instance.
ServiceBuilder(ServiceEndpoint) - Constructor for class org.elastos.hive.vault.ServiceBuilder
Create by the service end point.
ServiceEndpoint - Class in org.elastos.hive
The service end-point represents the service provides some API functions.
ServiceEndpoint(AppContext, String) - Constructor for class org.elastos.hive.ServiceEndpoint
Create by the application context, and the address of the provider.
setAcknowledged(Boolean) - Method in class org.elastos.hive.vault.database.UpdateResult
 
setAllowPartialResults(Boolean) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setAmount(float) - Method in class org.elastos.hive.subscription.PricingPlan
 
setBatchSize(Integer) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setBody(Object) - Method in class org.elastos.hive.vault.scripting.Condition
 
setBypassDocumentValidation(Boolean) - Method in class org.elastos.hive.vault.database.UpdateOptions
 
setCreated(long) - Method in class org.elastos.hive.subscription.BackupInfo
 
setCreated(long) - Method in class org.elastos.hive.subscription.VaultInfo
 
setCreated(long) - Method in class org.elastos.hive.vault.files.FileInfo
 
setCreateTime(Integer) - Method in class org.elastos.hive.subscription.payment.Order
 
setCurrency(String) - Method in class org.elastos.hive.subscription.PricingPlan
 
setElaAddress(String) - Method in class org.elastos.hive.subscription.payment.Order
 
setElaAmount(Float) - Method in class org.elastos.hive.subscription.payment.Order
 
setElaAmount(Float) - Method in class org.elastos.hive.subscription.payment.Receipt
 
setFile(boolean) - Method in class org.elastos.hive.vault.files.FileInfo
 
setLimit(Long) - Method in class org.elastos.hive.vault.database.CountOptions
 
setLimit(Integer) - Method in class org.elastos.hive.vault.database.FindOptions
 
setLimit(Integer) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setMatchedCount(Integer) - Method in class org.elastos.hive.vault.database.UpdateResult
 
setMaxStorage(int) - Method in class org.elastos.hive.subscription.PricingPlan
 
setMaxTimeMS(Long) - Method in class org.elastos.hive.vault.database.CountOptions
 
setModifiedCount(Integer) - Method in class org.elastos.hive.vault.database.UpdateResult
 
setName(String) - Method in class org.elastos.hive.subscription.PricingPlan
 
setName(String) - Method in class org.elastos.hive.vault.files.FileInfo
 
setOrderId(String) - Method in class org.elastos.hive.subscription.payment.Order
 
setOrderId(String) - Method in class org.elastos.hive.subscription.payment.Receipt
 
setOutput(Boolean) - Method in class org.elastos.hive.vault.scripting.Executable
 
setPaidDid(String) - Method in class org.elastos.hive.subscription.payment.Receipt
 
setPricePlan(String) - Method in class org.elastos.hive.subscription.BackupInfo
 
setPricePlan(String) - Method in class org.elastos.hive.subscription.VaultInfo
 
setPricingName(String) - Method in class org.elastos.hive.subscription.payment.Order
 
setPricingName(String) - Method in class org.elastos.hive.subscription.payment.Receipt
 
setProjection(JsonNode) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setProof(String) - Method in class org.elastos.hive.subscription.payment.Order
 
setProof(String) - Method in class org.elastos.hive.subscription.payment.Receipt
 
setReceiptId(String) - Method in class org.elastos.hive.subscription.payment.Receipt
 
setReturnKey(Boolean) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setServiceDays(int) - Method in class org.elastos.hive.subscription.PricingPlan
 
setServiceDid(String) - Method in class org.elastos.hive.subscription.BackupInfo
 
setServiceDid(String) - Method in class org.elastos.hive.subscription.VaultInfo
 
setShowRecordId(Boolean) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setSize(int) - Method in class org.elastos.hive.vault.files.FileInfo
 
setSkip(Long) - Method in class org.elastos.hive.vault.database.CountOptions
 
setSkip(Integer) - Method in class org.elastos.hive.vault.database.FindOptions
 
setSkip(Integer) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setSort(List<SortItem>) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setSort(SortItem) - Method in class org.elastos.hive.vault.database.QueryOptions
 
setStorageQuota(int) - Method in class org.elastos.hive.subscription.BackupInfo
 
setStorageQuota(int) - Method in class org.elastos.hive.subscription.VaultInfo
 
setStorageUsed(int) - Method in class org.elastos.hive.subscription.BackupInfo
 
setStorageUsed(int) - Method in class org.elastos.hive.subscription.VaultInfo
 
setSubscription(String) - Method in class org.elastos.hive.subscription.payment.Order
 
setTransactionId(String) - Method in class org.elastos.hive.subscription.payment.Receipt
 
setupContext(BackupContext) - Method in interface org.elastos.hive.service.BackupService
Set-up a context for get more detailed information for backup server.
setUpdated(long) - Method in class org.elastos.hive.subscription.BackupInfo
 
setUpdated(long) - Method in class org.elastos.hive.subscription.VaultInfo
 
setUpdated(long) - Method in class org.elastos.hive.vault.files.FileInfo
 
setupResolver(String, String) - Static method in class org.elastos.hive.AppContext
Setup the resolver for the DID verification.
setUpsert(Boolean) - Method in class org.elastos.hive.vault.database.UpdateOptions
 
setUpsertedId(String) - Method in class org.elastos.hive.vault.database.UpdateResult
 
signIn(DIDDocument) - Method in class org.elastos.hive.connection.auth.AuthController
Sign in to hive node
startBackup() - Method in interface org.elastos.hive.service.BackupService
Backup process in node side is a continues process.
startBackup(String) - Method in class org.elastos.hive.vault.backup.BackupController
Start the backup process which backups the data of the vault to other place.
stat(String) - Method in interface org.elastos.hive.service.FilesService
Information about the target file or folder.
stopBackup() - Method in interface org.elastos.hive.service.BackupService
As startBackup() shows, this is just for stopping the async process in vault node side.
stopRestore() - Method in interface org.elastos.hive.service.BackupService
Stop the running restore process in background.
storeAccessToken(String, String) - Method in interface org.elastos.hive.DataStorage
 
storeAccessTokenByAddress(String, String) - Method in interface org.elastos.hive.DataStorage
 
storeBackupCredential(String, String) - Method in interface org.elastos.hive.DataStorage
 
strength(Collation.Strength) - Method in class org.elastos.hive.vault.database.Collation
 
Strength() - Method in class org.elastos.hive.vault.database.Collation
 
subscribe() - Method in class org.elastos.hive.BackupSubscription
 
subscribe(String, String, String) - Method in interface org.elastos.hive.service.PubSubService
 
subscribe() - Method in interface org.elastos.hive.service.SubscriptionService
Let a new user subscribe to the entity service on the specified back-end node, where the entity service would be vault or backup service.
subscribe() - Method in class org.elastos.hive.VaultSubscription
 
subscribeToBackup() - Method in class org.elastos.hive.subscription.SubscriptionController
Subscribe the backup service with the free pricing plan.
subscribeToVault() - Method in class org.elastos.hive.subscription.SubscriptionController
Subscribe the vault with the free pricing plan.
SubscriptionController - Class in org.elastos.hive.subscription
The subscription controller is for subscribing the vault or the backup.
SubscriptionController(NodeRPCConnection) - Constructor for class org.elastos.hive.subscription.SubscriptionController
 
SubscriptionService<T> - Interface in org.elastos.hive.service
Hive node provides the subscription service to let a new user subscribe to their vault or backup service on the given back-end node.

T

target() - Method in interface org.elastos.hive.connection.auth.BridgeHandler
The target is what the access token for.
toString() - Method in class org.elastos.hive.endpoint.NodeVersion
 
toString() - Method in enum org.elastos.hive.vault.database.Collation.Alternate
 
toString() - Method in enum org.elastos.hive.vault.database.Collation.CaseFirst
 
toString() - Method in enum org.elastos.hive.vault.database.Collation.MaxVariable
 

U

UNAUTHORIZED - Static variable in exception org.elastos.hive.connection.NodeRPCException
 
UnauthorizedException - Exception in org.elastos.hive.exception
 
UnauthorizedException() - Constructor for exception org.elastos.hive.exception.UnauthorizedException
 
UnauthorizedException(String) - Constructor for exception org.elastos.hive.exception.UnauthorizedException
 
UnauthorizedException(String, Throwable) - Constructor for exception org.elastos.hive.exception.UnauthorizedException
 
UnauthorizedException(Throwable) - Constructor for exception org.elastos.hive.exception.UnauthorizedException
 
UnauthorizedException(NodeRPCException) - Constructor for exception org.elastos.hive.exception.UnauthorizedException
 
unregisterScript(String) - Method in interface org.elastos.hive.service.ScriptingService
Let the vault owner unregister a script when the script become useless to applications.
unregisterScript(String) - Method in class org.elastos.hive.vault.scripting.ScriptingController
Unregister the script.
unsubscribe() - Method in class org.elastos.hive.BackupSubscription
 
unsubscribe(String, String, String) - Method in interface org.elastos.hive.service.PubSubService
 
unsubscribe() - Method in interface org.elastos.hive.service.SubscriptionService
Let user to unsubscribe to an existing but useless vault or backup service.
unsubscribe() - Method in class org.elastos.hive.VaultSubscription
 
unsubscribeBackup() - Method in class org.elastos.hive.subscription.SubscriptionController
Unsubscribe the backup service.
unsubscribeVault() - Method in class org.elastos.hive.subscription.SubscriptionController
Unsubscribe the vault.
UpdateExecutable - Class in org.elastos.hive.vault.scripting
The executable to update the documents of the mongo database.
UpdateExecutable(String, String, JsonNode, JsonNode, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.UpdateExecutable
 
UpdateExecutable(String, String, JsonNode, JsonNode) - Constructor for class org.elastos.hive.vault.scripting.UpdateExecutable
 
updateMany(String, JsonNode, JsonNode, UpdateOptions) - Method in interface org.elastos.hive.service.DatabaseService
Update many existing documents in a given collection.
updateMany(String, JsonNode, JsonNode, UpdateOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Update all matched documents by the filter.
updateOne(String, JsonNode, JsonNode, UpdateOptions) - Method in interface org.elastos.hive.service.DatabaseService
Update an existing document in a given collection.
updateOne(String, JsonNode, JsonNode, UpdateOptions) - Method in class org.elastos.hive.vault.database.DatabaseController
Update the first matched document by the filter.
UpdateOptions - Class in org.elastos.hive.vault.database
UpdateOptions() - Constructor for class org.elastos.hive.vault.database.UpdateOptions
 
UpdateResult - Class in org.elastos.hive.vault.database
UpdateResult() - Constructor for class org.elastos.hive.vault.database.UpdateResult
 
uploadFile(String, Class<T>) - Method in class org.elastos.hive.ScriptRunner
 
uploadFile(String, Class<T>) - Method in interface org.elastos.hive.service.ScriptingInvocationService
Invoke the execution of the script to upload a file in the streaming mode.
uploadFile(String, Class<T>) - Method in class org.elastos.hive.vault.scripting.ScriptingController
Upload file really by transaction ID.
UploadOutputStream - Class in org.elastos.hive.connection
The UploadOutputStream is for uploading file by the Http connection.
UploadOutputStream(HttpURLConnection, OutputStream) - Constructor for class org.elastos.hive.connection.UploadOutputStream
Create the upload output stream by connection and relating output stream.
UploadOutputStreamWriter - Class in org.elastos.hive.connection
The UploadOutputStreamWriter is for uploading file by connection.
UploadOutputStreamWriter(HttpURLConnection, OutputStream) - Constructor for class org.elastos.hive.connection.UploadOutputStreamWriter
 

V

value() - Method in enum org.elastos.hive.vault.database.Collation.Strength
 
value() - Method in enum org.elastos.hive.vault.database.Index.Order
 
valueOf(String) - Static method in enum org.elastos.hive.service.BackupService.BackupResult
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.elastos.hive.vault.database.Collation.Alternate
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.elastos.hive.vault.database.Collation.CaseFirst
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.elastos.hive.vault.database.Collation.MaxVariable
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.elastos.hive.vault.database.Collation.Strength
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.elastos.hive.vault.database.Index.Order
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.elastos.hive.vault.scripting.Executable.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.elastos.hive.service.BackupService.BackupResult
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.hive.vault.database.Collation.Alternate
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.hive.vault.database.Collation.CaseFirst
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.hive.vault.database.Collation.MaxVariable
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.hive.vault.database.Collation.Strength
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.hive.vault.database.Index.Order
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.elastos.hive.vault.scripting.Executable.Type
Returns an array containing the constants of this enum type, in the order they are declared.
Vault - Class in org.elastos.hive
This class explicitly represents the vault service subscribed by "userDid".
Vault(AppContext, String) - Constructor for class org.elastos.hive.Vault
 
VaultForbiddenException - Exception in org.elastos.hive.exception
 
VaultForbiddenException() - Constructor for exception org.elastos.hive.exception.VaultForbiddenException
 
VaultForbiddenException(String) - Constructor for exception org.elastos.hive.exception.VaultForbiddenException
 
VaultForbiddenException(String, Throwable) - Constructor for exception org.elastos.hive.exception.VaultForbiddenException
 
VaultForbiddenException(Throwable) - Constructor for exception org.elastos.hive.exception.VaultForbiddenException
 
VaultInfo - Class in org.elastos.hive.subscription
This contains the details of the vault service.
VaultInfo() - Constructor for class org.elastos.hive.subscription.VaultInfo
 
VaultNotFoundException - Exception in org.elastos.hive.exception
 
VaultNotFoundException() - Constructor for exception org.elastos.hive.exception.VaultNotFoundException
 
VaultNotFoundException(String) - Constructor for exception org.elastos.hive.exception.VaultNotFoundException
 
VaultNotFoundException(String, Throwable) - Constructor for exception org.elastos.hive.exception.VaultNotFoundException
 
VaultNotFoundException(Throwable) - Constructor for exception org.elastos.hive.exception.VaultNotFoundException
 
VaultSubscription - Class in org.elastos.hive
The vault subscription is used for the vault management.
VaultSubscription(AppContext, String) - Constructor for class org.elastos.hive.VaultSubscription
Create by the application context, and the address of the provider.

W

write(int) - Method in class org.elastos.hive.connection.UploadOutputStream
 
write(byte[]) - Method in class org.elastos.hive.connection.UploadOutputStream
 
write(byte[], int, int) - Method in class org.elastos.hive.connection.UploadOutputStream
 
A B C D E F G H I K L M N O P Q R S T U V W 
Skip navigation links