Uses of Class
io.keyko.nevermined.models.DID
-
-
Uses of DID in io.keyko.nevermined.api
Methods in io.keyko.nevermined.api that return types with arguments of type DID Modifier and Type Method Description List<DID>AssetsAPI. consumerAssets(String consumerAddress)List of Asset objects purchased by consumerAddressList<DID>AssetsAPI. ownerAssets(String ownerAddress)List of Asset objects published by ownerAddressMethods in io.keyko.nevermined.api with parameters of type DID Modifier and Type Method Description BooleanAssetsAPI. consume(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, String basePath)Downloads an Asset previously ordered through a Service AgreementBooleanAssetsAPI. consume(String serviceAgreementId, DID did, int serviceDefinitionId, String basePath)Downloads an Asset previously ordered through a Service AgreementInputStreamAssetsAPI. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId)Gets the input stream of one file of the assetInputStreamAssetsAPI. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex)Gets the input stream of one file of the assetInputStreamAssetsAPI. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, int rangeStart, int rangeEnd)Gets a range of bytes of the input stream of one file of the assetbooleanAgreementsAPI. create(DID did, String agreementId, int index, String consumerAddress)Create a service agreement.BooleanAssetsAPI. delegatePermissions(DID did, String subjectAddress)For a existing asset, the owner of the asset delegate to a subject read or access permissGatewayService.ServiceExecutionResultAssetsAPI. execute(String agreementId, DID did, int index, DID workflowDID)Executes a remote service associated with an asset and serviceAgreementIdList<AssetMetadata.File>AssetsAPI. getMetadataFiles(DID did)Gets the list of the files that belongs to a DDOBooleanAssetsAPI. getPermissions(DID did, String subjectAddress)Check if an user has permissions in a specific DIDbooleanConditionsAPI. grantAccess(String agreementId, DID did, String grantee)Grant access to an address using the parity secret store.booleanConditionsAPI. grantServiceExecution(String agreementId, DID did, String grantee)Grant compute to an address using the parity secret store.io.reactivex.Flowable<OrderResult>AssetsAPI. order(DID did, int serviceDefinitionId)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did, int serviceDefinitionId)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did, int serviceDefinitionId, Service.ServiceTypes serviceTypes)Purchases an Asset represented by a DID.OrderResultAssetsAPI. orderDirect(DID did, Service.ServiceTypes serviceTypes)Purchases an Asset represented by a DID.StringAssetsAPI. owner(DID did)Return the owner of the asset.BooleanAssetsAPI. ownerDownload(DID did, int serviceIndex, String basePath)Purchases an Asset represented by a DID.org.web3j.tuples.generated.Tuple2<String,String>AgreementsAPI. prepare(DID did, int serviceDefinitionId, Account consumerAccount)Prepare the service agreement.DDOAssetsAPI. resolve(DID did)Gets a DDO from a DIDBooleanAssetsAPI. retire(DID did)Retire this did of MetadataBooleanAssetsAPI. revokePermissions(DID did, String subjectAddress)For a existing asset, the owner of the asset revoke the access grants of a subject.BooleanAssetsAPI. transferOwnership(DID did, String newOwnerAddress)Given a DID, transfer the ownership to a new owner. -
Uses of DID in io.keyko.nevermined.api.impl
Methods in io.keyko.nevermined.api.impl that return types with arguments of type DID Modifier and Type Method Description List<DID>AssetsImpl. consumerAssets(String consumerAddress)List<DID>AssetsImpl. ownerAssets(String ownerAddress)Methods in io.keyko.nevermined.api.impl with parameters of type DID Modifier and Type Method Description BooleanAssetsImpl. consume(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, String basePath)BooleanAssetsImpl. consume(String serviceAgreementId, DID did, int serviceDefinitionId, String basePath)InputStreamAssetsImpl. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId)InputStreamAssetsImpl. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex)InputStreamAssetsImpl. consumeBinary(String serviceAgreementId, DID did, int serviceDefinitionId, int fileIndex, int rangeStart, int rangeEnd)booleanAgreementsImpl. create(DID did, String agreementId, int index, String consumerAddress)BooleanAssetsImpl. delegatePermissions(DID did, String subjectAddress)GatewayService.ServiceExecutionResultAssetsImpl. execute(String agreementId, DID did, int index, DID workflowDID)List<AssetMetadata.File>AssetsImpl. getMetadataFiles(DID did)BooleanAssetsImpl. getPermissions(DID did, String subjectAddress)booleanConditionsImpl. grantAccess(String agreementId, DID did, String grantee)booleanConditionsImpl. grantServiceExecution(String agreementId, DID did, String grantee)io.reactivex.Flowable<OrderResult>AssetsImpl. order(DID did, int serviceDefinitionId)OrderResultAssetsImpl. orderDirect(DID did)OrderResultAssetsImpl. orderDirect(DID did, int serviceDefinitionId)OrderResultAssetsImpl. orderDirect(DID did, int serviceDefinitionId, Service.ServiceTypes serviceTypes)OrderResultAssetsImpl. orderDirect(DID did, Service.ServiceTypes serviceTypes)StringAssetsImpl. owner(DID did)BooleanAssetsImpl. ownerDownload(DID did, int serviceIndex, String basePath)BooleanAssetsImpl. ownerDownload(DID did, int serviceIndex, String basePath, int fileIndex)org.web3j.tuples.generated.Tuple2<String,String>AgreementsImpl. prepare(DID did, int serviceDefinitionId, Account consumerAccount)DDOAssetsImpl. resolve(DID did)BooleanAssetsImpl. retire(DID did)BooleanAssetsImpl. revokePermissions(DID did, String subjectAddress)StringAgreementsImpl. sign(String agreementId, DID did, int serviceDefinitionId, Account consumerAccount)BooleanAssetsImpl. transferOwnership(DID did, String newOwnerAddress) -
Uses of DID in io.keyko.nevermined.manager
Methods in io.keyko.nevermined.manager that return DID Modifier and Type Method Description DIDNeverminedManager. generateDID(DDO ddo)Given a DDO, returns a DID created using the ddoMethods in io.keyko.nevermined.manager that return types with arguments of type DID Modifier and Type Method Description private List<DID>AgreementsManager. getAccessAgreementsFulfilledByConsumer(String consumerAddress)private List<DID>AgreementsManager. getComputeAgreementsFulfilledByConsumer(String consumerAddress)List<DID>AgreementsManager. getConsumerAssets(String consumerAddress)List of Asset objects purchased by consumerAddressList<DID>AssetsManager. getOwnerAssets(String ownerAddress)List of Asset objects published by ownerAddressMethods in io.keyko.nevermined.manager with parameters of type DID Modifier and Type Method Description booleanNeverminedManager. access(String serviceAgreementId, DID did, int serviceIndex, int fileIndex, String basePath)Downloads an Asset previously ordered through a Service AgreementbooleanNeverminedManager. access(String serviceAgreementId, DID did, int serviceIndex, String basePath)Downloads an Asset previously ordered through a Service Agreementprivate StringNeverminedManager. buildDestinationPath(String basePath, DID did, int fileIndex, AssetMetadata.File file)Constructs the final path where the file should be downloadedInputStreamNeverminedManager. consumeBinary(String serviceAgreementId, DID did, int serviceIndex, int fileIndex)Downloads a single file of an Asset previously ordered through a Service AgreementInputStreamNeverminedManager. consumeBinary(String serviceAgreementId, DID did, int serviceIndex, int fileIndex, Boolean isRangeRequest, Integer rangeStart, Integer rangeEnd)Downloads a single file of an Asset previously ordered through a Service Agreement.BooleanAssetsManager. deleteAsset(DID did)Retire the asset ddo from Metadata Api.booleanNeverminedManager. downloadAssetByOwner(DID did, int serviceIndex, String basePath)Purchases an Asset represented by a DID.booleanNeverminedManager. downloadAssetByOwner(DID did, int serviceIndex, String basePath, int fileIndex)Purchases an Asset represented by a DID.GatewayService.ServiceExecutionResultNeverminedManager. executeComputeService(String agreementId, DID did, int index, DID workflowDID)Executes a remote service associated with an asset and serviceAgreementIdprivate Map<String,Object>NeverminedManager. fetchAssetDataBeforeConsume(DID did, int serviceIndex)Gets the data needed to download an assetStringAssetsManager. getDIDOwner(DID did)Get the owner of a did already registered.BooleanAssetsManager. getPermission(DID did, String subjectAddress)BooleanConditionsManager. grantAccess(String agreementId, DID did, String granteeAddress)Grant access to an address to consume a did.BooleanConditionsManager. grantCompute(String agreementId, DID did, String granteeAddress)Grant compute to an address.BooleanAssetsManager. grantPermission(DID did, String subjectAddress)OrderResultNeverminedManager. purchaseAssetDirect(DID did)Purchases an Asset represented by a DID.OrderResultNeverminedManager. purchaseAssetDirect(DID did, int serviceIndex)Purchases an Asset represented by a DID.OrderResultNeverminedManager. purchaseAssetDirect(DID did, int serviceIndex, Service.ServiceTypes serviceType)Purchases an Asset represented by a DID.OrderResultNeverminedManager. purchaseAssetDirect(DID did, Service.ServiceTypes serviceType)Purchases an Asset represented by a DID.io.reactivex.Flowable<OrderResult>NeverminedManager. purchaseAssetFlowable(DID did, int serviceIndex)Purchases an Asset represented by a DID.booleanNeverminedManager. registerDID(DID did, String url, String checksum, List<String> providers)Given a DID and a Metadata API url, register on-chain the DID.DDOBaseManager. resolveDID(DID did)Given a DID, scans the DIDRegistry events on-chain to resolve the Metadata API url and return the DDO foundBooleanAssetsManager. revokePermission(DID did, String subjectAddress)revoke the permission over an DID for a subject addressBooleanAssetsManager. transferOwnership(DID did, String newOwnerAddress)Transfer the ownsership of a DID -
Uses of DID in io.keyko.nevermined.models
Fields in io.keyko.nevermined.models declared as DID Modifier and Type Field Description private DIDDDO. didMethods in io.keyko.nevermined.models that return DID Modifier and Type Method Description static DIDDID. builder()static DIDDID. builder(String seed)static DIDDDO. generateDID()DIDDDO. getDid()static DIDDID. getFromHash(String hash)DIDDID. setDid(String did)DIDDID. setEmptyDID() -
Uses of DID in io.keyko.nevermined.models.gateway
Fields in io.keyko.nevermined.models.gateway declared as DID Modifier and Type Field Description DIDComputeStatus. did -
Uses of DID in io.keyko.nevermined.models.service
Fields in io.keyko.nevermined.models.service declared as DID Modifier and Type Field Description DIDAgreement. didConstructors in io.keyko.nevermined.models.service with parameters of type DID Constructor Description Agreement(DID did, String didOwner, String templateId, List<byte[]> conditions, String lastUpdateBy, BigInteger blockNumberUpdated) -
Uses of DID in io.keyko.nevermined.models.service.metadata
Fields in io.keyko.nevermined.models.service.metadata declared as DID Modifier and Type Field Description DIDWorkflow.Input. idDIDWorkflow.Transformation. id
-