Uses of Class
io.keyko.nevermined.exceptions.DDOException
-
-
Uses of DDOException in io.keyko.nevermined.api
Methods in io.keyko.nevermined.api that throw DDOException Modifier and Type Method Description DDOAssetsAPI. create(AssetMetadata metadata, ProviderConfig providerConfig)Creates a new DDO, registering it on-chain through DidRegistry contract and off-chain in MetadataDDOAssetsAPI. create(AssetMetadata metadata, ProviderConfig providerConfig, AuthConfig authConfig)Creates a new DDO, registering it on-chain through DidRegistry contract and off-chain in MetadataDDOAssetsAPI. createComputeService(AssetMetadata metadata, ProviderConfig providerConfig)Creates a new ComputingService DDO, registering it on-chain through DidRegistry contract and off-chain in MetadataDDOAssetsAPI. createComputeService(AssetMetadata metadata, ProviderConfig providerConfig, ComputingService.Provider computingProvider)Creates a new ComputingService DDO, registering it on-chain through DidRegistry contract and off-chain in MetadataBooleanAssetsAPI. delegatePermissions(DID did, String subjectAddress)For a existing asset, the owner of the asset delegate to a subject read or access permissList<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 DIDSearchResultAssetsAPI. query(Map<String,Object> params)Gets all the DDOs that match the parameters of the querySearchResultAssetsAPI. query(Map<String,Object> params, int offset, int page, int sort)Gets all the DDOs that match the parameters of the queryDDOAssetsAPI. 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.SearchResultAssetsAPI. search(String text)Gets all the DDO that match the search criteriaSearchResultAssetsAPI. search(String text, int offset, int page)Gets all the DDOs that match the search criteriaBooleanAssetsAPI. transferOwnership(DID did, String newOwnerAddress)Given a DID, transfer the ownership to a new owner.BooleanAssetsAPI. validate(AssetMetadata metadata)Validate the asset metadata. -
Uses of DDOException in io.keyko.nevermined.api.impl
Methods in io.keyko.nevermined.api.impl that throw DDOException Modifier and Type Method Description DDOAssetsImpl. create(AssetMetadata metadata, ProviderConfig providerConfig)DDOAssetsImpl. create(AssetMetadata metadata, ProviderConfig providerConfig, AuthConfig authConfig)DDOAssetsImpl. createComputeService(AssetMetadata metadata, ProviderConfig providerConfig)DDOAssetsImpl. createComputeService(AssetMetadata metadata, ProviderConfig providerConfig, ComputingService.Provider computingProvider)BooleanAssetsImpl. delegatePermissions(DID did, String subjectAddress)List<AssetMetadata.File>AssetsImpl. getMetadataFiles(DID did)BooleanAssetsImpl. getPermissions(DID did, String subjectAddress)SearchResultAssetsImpl. query(Map<String,Object> params)SearchResultAssetsImpl. query(Map<String,Object> params, int offset, int page, int sort)DDOAssetsImpl. resolve(DID did)BooleanAssetsImpl. retire(DID did)BooleanAssetsImpl. revokePermissions(DID did, String subjectAddress)SearchResultAssetsImpl. search(String text)SearchResultAssetsImpl. search(String text, int offset, int page)BooleanAssetsImpl. transferOwnership(DID did, String newOwnerAddress)BooleanAssetsImpl. validate(AssetMetadata metadata) -
Uses of DDOException in io.keyko.nevermined.external
Methods in io.keyko.nevermined.external that throw DDOException Modifier and Type Method Description DDOMetadataApiService. createDDO(DDO ddo)Registers a new DDO in Metadata ApiDDOMetadataApiService. getDDO(String url)Gets a DDO from an URLbooleanMetadataApiService. retireAssetDDO(String id)Retire the asset ddo from Metadata Api.SearchResultMetadataApiService. searchDDO(SearchQuery searchQuery)Search all the DDOs that match the query passed as a parameterSearchResultMetadataApiService. searchDDO(String param, int offset, int page)Search all the DDOs that match the text passed as a parameterbooleanMetadataApiService. validateMetadata(AssetMetadata metadata)Check that the metadata has a valid formUrl. -
Uses of DDOException in io.keyko.nevermined.manager
Methods in io.keyko.nevermined.manager that throw DDOException Modifier and Type Method Description protected DDOBaseManager. buildDDO(MetadataService metadataService, String address)BooleanAssetsManager. deleteAsset(DID did)Retire the asset ddo from Metadata Api.BooleanAssetsManager. getPermission(DID did, String subjectAddress)BooleanAssetsManager. grantPermission(DID did, String subjectAddress)DDONeverminedManager. registerAccessServiceAsset(AssetMetadata metadata, ProviderConfig providerConfig)Creates a new DDO with an AccessServiceDDONeverminedManager. registerAccessServiceAsset(AssetMetadata metadata, ProviderConfig providerConfig, AuthConfig authConfig)Creates a new DDO with an AccessServiceprivate DDONeverminedManager. registerAsset(AssetMetadata metadata, ProviderConfig providerConfig, Service service, AuthConfig authConfig)Creates a new DDO, registering it on-chain through DidRegistry contract and off-chain in Metadata ApiDDONeverminedManager. registerComputeService(AssetMetadata metadata, ProviderConfig providerConfig, ComputingService.Provider computingProvider)Creates a new DDO with a ComputeServiceDDOBaseManager. 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 addressSearchResultAssetsManager. searchAssets(String text, int offset, int page)Gets all the DDOs that match the search criteriaSearchResultAssetsManager. searchAssets(Map<String,Object> params, int offset, int page, int sort)Gets all the DDOs that match the parameters of the queryBooleanAssetsManager. transferOwnership(DID did, String newOwnerAddress)Transfer the ownsership of a DIDBooleanAssetsManager. validateMetadata(AssetMetadata metadata)Check that the metadata has a valid formUrl. -
Uses of DDOException in io.keyko.nevermined.models
Methods in io.keyko.nevermined.models that throw DDOException Modifier and Type Method Description DDODDO. gatewayEncryptFiles(AuthConfig authConfig)SortedMap<String,String>DDO. generateChecksums()DDODDO. integrityBuilder(org.web3j.crypto.Credentials credentials)Given a user credentials this method do the following: - Calculate the individual DDO.services checksums - Calculate the DID using the hash of the DDO.services checksums - Generate the DDO.proof entry signing the DID generated and adding the credentials informationDDODDO. secretStoreLocalEncryptFiles(SecretStoreManager secretStoreManager, AuthConfig authConfig) -
Uses of DDOException in io.keyko.nevermined.models.service
Methods in io.keyko.nevermined.models.service that throw DDOException Modifier and Type Method Description private static ComputingServiceServiceBuilder. buildComputingService(ProviderConfig providerConfig, ComputingService.Provider computingProvider, String computingServiceTemplateId, String price, String creator)ServiceServiceBuilder. buildService(Map<String,Object> serviceConfiguration)
-