Uses of Class
es.bsc.dataclay.util.management.accountmgr.PasswordCredential
-
Packages that use PasswordCredential Package Description es.bsc.dataclay.commonruntime Module responsible to interact with Useres.bsc.dataclay.communication.grpc Contains GRPC classes.es.bsc.dataclay.communication.grpc.clients.logicmodule Contains Logic module client GRPC classes.es.bsc.dataclay.logic Module that represents the entry to the systemes.bsc.dataclay.logic.accountmgr Module intended to management of accounts.es.bsc.dataclay.logic.api Module intended to provide API of Logic Modulees.bsc.dataclay.util.events.type This package contains information about event conditions.es.bsc.dataclay.util.management.accountmgr This package contains classes used in management of Accounts. -
-
Uses of PasswordCredential in es.bsc.dataclay.commonruntime
Methods in es.bsc.dataclay.commonruntime with parameters of type PasswordCredential Modifier and Type Method Description static Set<String>ClientManagementLib. getAccountDatasets(AccountID accountID, PasswordCredential credential)Get datasets provided by the given accountstatic Set<String>ClientManagementLib. getAndStoreStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, LinkedList<ContractID> contractsIDs, String targetDirectoryPath)Method that allows to retrieve the stubs and prototypes of the given contract and store them to certain directorystatic booleanClientManagementLib. getAndStoreStubsForEnrichment(AccountID applicantAccountID, PasswordCredential applicantCredential, LinkedList<ContractID> contractsIDs, String targetDirectoryPath)Method that allows to retrieve the stubs FOR ENRICHMENT of the given contract and store them to certain directorystatic Set<String>ClientManagementLib. getBackendNames(AccountID accountID, PasswordCredential credential, CommonMessages.Langs backendLanguage)Method that retrieves the info of the registered backends assuming that they might have 1 storage location and/or 1 exec environmentstatic Map<MetaClassID,MetaClass>ClientManagementLib. getClassesInfoInNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)Method that retrieves the info of the classes registered in a specific namespace.static MetaClassIDClientManagementLib. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)Method that retrieves the id of a class given its namestatic MetaClassClientManagementLib. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)Method that retrieves the info of a class given its name.static ContractIDClientManagementLib. getContractOfDataClayProvider(AccountID accountID, PasswordCredential credential)Return all contracts info of public DataClay provider.static Map<ContractID,Contract>ClientManagementLib. getContractsOfApplicant(AccountID accountID, PasswordCredential credential)Return the info of all the contracts of the user (as applicant) specified.static Map<ContractID,Contract>ClientManagementLib. getContractsOfApplicant(AccountID accountID, PasswordCredential credential, NamespaceID namespaceIDofProvider)Return the info of all the contracts of the user (as applicant) specified with the namespace provider specified.static Map<ContractID,Contract>ClientManagementLib. getContractsOfProvider(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)Return all contracts info of the namespace provider.static DataContractClientManagementLib. getDataContractInfoOfApplicantWithProvider(AccountID accountID, PasswordCredential credential, DataSetID datasetIDofProvider)Return the info of all the data contracts of the user (as applicant) specified with the dataset provider specified.static Map<DataContractID,DataContract>ClientManagementLib. getDataContractsOfApplicant(AccountID accountID, PasswordCredential credential)Return the info of all the data contracts of the user (as applicant) specified.static Map<DataContractID,DataContract>ClientManagementLib. getDataContractsOfProvider(AccountID accountID, PasswordCredential credential, DataSetID datasetID)Return all contracts info of the dataset provider.static DataSetIDClientManagementLib. getDatasetID(AccountID accountID, PasswordCredential credential, String datasetName)Retrieves the id of a dataset identified by name providedstatic InterfaceClientManagementLib. getInterfaceInfo(AccountID accountID, PasswordCredential credential, InterfaceID interfaceID)Method that retrieves the info of the interface if the account is registered in a contract that contains itstatic NamespaceIDClientManagementLib. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)Retrieves the id of a namespace identified by name providedstatic CommonMessages.LangsClientManagementLib. getNamespaceLanguage(AccountID accountID, PasswordCredential credential, String namespaceName)Retrieves the id of a namespace identified by name providedstatic Set<String>ClientManagementLib. getNamespaces(AccountID accountID, PasswordCredential credential)Retrieves available namespaces from the account provided.static Set<AccountID>ClientManagementLib. getNonAdminAccountList(AccountID adminAccountID, PasswordCredential adminCredential)Method that retrieves the list of non admin accounts registered in the system.static OperationIDClientManagementLib. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)Method that retrieves the id of an operation given its signaturestatic PropertyIDClientManagementLib. getPropertyID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String propertyName)Method that retrieves the id of a property given its signaturestatic Set<String>ClientManagementLib. getPublicDatasets(AccountID accountID, PasswordCredential credential)Get all public datasets (which the account can be registered to)static Map<String,byte[]>ClientManagementLib. getStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, LinkedList<ContractID> contractsIDs)Method that allows to retrieve the stubsstatic booleanClientManagementLib. importContract(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID)Imports all the classes represented by the interfaces of the given contract into a specific namespacestatic booleanClientManagementLib. importInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID, InterfaceID interfaceID)Imports a class from a specific interface in a specific contract into the given namespacestatic Map<String,MetaClass>ClientManagementLib. newClass(AccountID accountID, PasswordCredential credentials, String namespace, String className, String classPath, String srcPath, String libPath)This operation creates a new metaclass in the system of the provided className from the given classPath and associate it to the Namespace provided.static Map<String,MetaClass>ClientManagementLib. newClasses(AccountID accountID, PasswordCredential credentials, String namespace, Set<String> classNames, String classPath, String srcPath, String libPath)This operation creates a new metaclass in the system for each class with name provided from the given classPath and associate it to the Namespace provided.static Map<String,MetaClass>ClientManagementLib. newClassInternal(AccountID accountID, PasswordCredential credentials, Map<String,MetaClass> newClasses, String classPath, String srcPath, String libPath)Internal function for newClassstatic DataSetIDClientManagementLib. newDataSet(AccountID accountID, PasswordCredential credential, DataSet dataSet)Method that creates a new namespace in the system.static InterfaceIDClientManagementLib. newInterface(AccountID accountID, PasswordCredential credential, Interface interfaceSpec)Method that registers a new interfacestatic NamespaceIDClientManagementLib. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)Method that creates a new namespace in the system.static ContractIDClientManagementLib. newPrivateContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, Contract contract)Method to register a new private contract.static DataContractIDClientManagementLib. newPrivateDataContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, DataContract datacontract)Method to register a new private data contract.static ContractIDClientManagementLib. newPublicContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, Contract contract)Method that registers a new contractstatic DataContractIDClientManagementLib. newPublicDataContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, DataContract datacontract)Method that registers a new public data contractstatic SessionIDClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, String classPathOfStubs, Set<String> dataSets, String dataSetForStore)This operation creates a new sessionstatic SessionIDClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, Map<String,StubInfo> stubsInfo, Set<String> dataSets, String dataSetForStore)This operation creates a new sessionstatic SessionIDClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, Set<ContractID> contracts, Set<String> dataSets, String dataSetForStore)This operation creates a new sessionstatic byte[]ClientManagementLib. performSetOfNewAccounts(AccountID adminID, PasswordCredential credential, byte[] yamlRequest)Call that performs a series of account creations, described by one YAML file.static byte[]ClientManagementLib. performSetOfOperations(AccountID performerID, PasswordCredential credential, byte[] yamlRequest)Call that performs a series of operations (user type), described by one YAML file.static voidClientManagementLib. registerEventListenerImpl(AccountID accountID, PasswordCredential credentials, ECA eventListenerImpl)Register Event listener implementation i.e.static DataClayInstanceIDClientManagementLib. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String dcHost, int dcPort, String authority)ADMIN usage only.DataClayInstanceIDDataClayRuntime. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String dcHost, int dcPort, String authority)ADMIN usage only.static booleanClientManagementLib. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)Method to register an account to a contractstatic ContractIDClientManagementLib. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)Method to register an account to a contractstatic booleanClientManagementLib. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)Method to register an account to a data contractstatic booleanClientManagementLib. removeClass(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)Method that removes a class from the specified namespace (either removing the imports or because it was actually created in the namespace)static booleanClientManagementLib. removeDataset(AccountID accountID, PasswordCredential credential, String datasetName)This method removes a dataset from the system by checking it has no active data contract associated with it, and no objects registered in it.static booleanClientManagementLib. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)Method that removes an implementation of a certain operationstatic booleanClientManagementLib. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)Method that removes a specific interfacestatic booleanClientManagementLib. removeNamespace(AccountID accountID, PasswordCredential credential, String namespaceName)This method removes a namespace from the system by checking it has no active contract associated with it, and no classes registered on it.static booleanClientManagementLib. removeOperation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)Method that removes an operation from the specified namespace -
Uses of PasswordCredential in es.bsc.dataclay.communication.grpc
Methods in es.bsc.dataclay.communication.grpc that return PasswordCredential Modifier and Type Method Description static PasswordCredentialUtils. getCredential(CommonMessages.Credential cred)Get password credentialMethods in es.bsc.dataclay.communication.grpc with parameters of type PasswordCredential Modifier and Type Method Description static CommonMessages.CredentialUtils. getCredential(PasswordCredential cred)Get password credential -
Uses of PasswordCredential in es.bsc.dataclay.communication.grpc.clients.logicmodule
Methods in es.bsc.dataclay.communication.grpc.clients.logicmodule with parameters of type PasswordCredential Modifier and Type Method Description Set<String>LogicModuleGrpcClient. getAccountDataSets(AccountID accountID, PasswordCredential credential)Set<AccountID>LogicModuleGrpcClient. getAccountList(AccountID adminAccountID, PasswordCredential adminCredential)byte[]LogicModuleGrpcClient. getBabelStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, List<ContractID> contractsIDs)MetaClassIDLogicModuleGrpcClient. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)MetaClassLogicModuleGrpcClient. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)ContractIDLogicModuleGrpcClient. getContractIDOfDataClayProvider(AccountID accountID, PasswordCredential credential)Map<ContractID,Contract>LogicModuleGrpcClient. getContractIDsOfApplicant(AccountID applicantAccountID, PasswordCredential credential)Map<ContractID,Contract>LogicModuleGrpcClient. getContractIDsOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, NamespaceID namespaceIDofProvider)Map<ContractID,Contract>LogicModuleGrpcClient. getContractIDsOfProvider(AccountID accountID, PasswordCredential credential, NamespaceID namespaceIDofProvider)Map<DataContractID,DataContract>LogicModuleGrpcClient. getDataContractIDsOfApplicant(AccountID applicantAccountID, PasswordCredential credential)Map<DataContractID,DataContract>LogicModuleGrpcClient. getDataContractIDsOfProvider(AccountID accountID, PasswordCredential credential, DataSetID datasetIDofProvider)DataContractLogicModuleGrpcClient. getDataContractInfoOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, DataSetID datasetIDofProvider)DataSetIDLogicModuleGrpcClient. getDataSetID(AccountID accountID, PasswordCredential credential, String datasetName)Map<MetaClassID,MetaClass>LogicModuleGrpcClient. getInfoOfClassesInNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)InterfaceLogicModuleGrpcClient. getInterfaceInfo(AccountID accountID, PasswordCredential credential, InterfaceID interfaceID)NamespaceIDLogicModuleGrpcClient. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)CommonMessages.LangsLogicModuleGrpcClient. getNamespaceLang(AccountID accountID, PasswordCredential credential, String namespaceName)Set<String>LogicModuleGrpcClient. getNamespaces(AccountID accountID, PasswordCredential credential)OperationIDLogicModuleGrpcClient. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)PropertyIDLogicModuleGrpcClient. getPropertyID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String propertyName)Set<String>LogicModuleGrpcClient. getPublicDataSets(AccountID accountID, PasswordCredential credential)Map<String,byte[]>LogicModuleGrpcClient. getStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, CommonMessages.Langs language, List<ContractID> contractsIDs)voidLogicModuleGrpcClient. importContract(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID)voidLogicModuleGrpcClient. importInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID, InterfaceID interfaceID)AccountIDLogicModuleGrpcClient. newAccount(AccountID adminAccountID, PasswordCredential adminCredential, Account newAccount)Map<String,MetaClass>LogicModuleGrpcClient. newClass(AccountID accountID, PasswordCredential credential, CommonMessages.Langs language, Map<String,MetaClass> newClasses)ContractIDLogicModuleGrpcClient. newContract(AccountID accountID, PasswordCredential credential, Contract newContract)DataContractIDLogicModuleGrpcClient. newDataContract(AccountID accountID, PasswordCredential credential, DataContract newDataContract)DataSetIDLogicModuleGrpcClient. newDataSet(AccountID accountID, PasswordCredential credential, DataSet dataset)InterfaceIDLogicModuleGrpcClient. newInterface(AccountID accountID, PasswordCredential credential, Interface newInterface)NamespaceIDLogicModuleGrpcClient. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)SessionInfoLogicModuleGrpcClient. newSession(AccountID accountID, PasswordCredential credential, Set<ContractID> contracts, Set<DataSetID> dataSetIDs, DataSetID dataSetForStore, CommonMessages.Langs newsessionLang)byte[]LogicModuleGrpcClient. performSetOfNewAccounts(AccountID adminID, PasswordCredential adminCredential, byte[] yamlFile)byte[]LogicModuleGrpcClient. performSetOfOperations(AccountID performerID, PasswordCredential performerCredential, byte[] yamlFile)voidLogicModuleGrpcClient. registerEventListenerImplementation(AccountID accountID, PasswordCredential credential, ECA newEventListener)DataClayInstanceIDLogicModuleGrpcClient. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String hostname, int port, String authority)voidLogicModuleGrpcClient. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)ContractIDLogicModuleGrpcClient. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)voidLogicModuleGrpcClient. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)voidLogicModuleGrpcClient. removeClass(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)voidLogicModuleGrpcClient. removeDataSet(AccountID accountID, PasswordCredential credential, String datasetName)voidLogicModuleGrpcClient. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)voidLogicModuleGrpcClient. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)voidLogicModuleGrpcClient. removeNamespace(AccountID accountID, PasswordCredential credential, String namespaceName)voidLogicModuleGrpcClient. removeOperation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature) -
Uses of PasswordCredential in es.bsc.dataclay.logic
Fields in es.bsc.dataclay.logic declared as PasswordCredential Modifier and Type Field Description PasswordCredentialLogicModule. dcCredentialsCredentials of DataClay registrator (for DataClay classes).Methods in es.bsc.dataclay.logic with parameters of type PasswordCredential Modifier and Type Method Description Set<String>LogicModule. getAccountDataSets(AccountID accountID, PasswordCredential credential)HashSet<AccountID>LogicModule. getAccountList(AccountID adminAccountID, PasswordCredential adminCredential)byte[]LogicModule. getBabelStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, List<ContractID> contractsIDs)MetaClassIDLogicModule. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)MetaClassLogicModule. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)ContractIDLogicModule. getContractIDOfDataClayProvider(AccountID accountID, PasswordCredential credential)Map<ContractID,Contract>LogicModule. getContractIDsOfApplicant(AccountID applicantAccountID, PasswordCredential credential)Map<ContractID,Contract>LogicModule. getContractIDsOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, NamespaceID namespaceIDofProvider)Map<ContractID,Contract>LogicModule. getContractIDsOfProvider(AccountID accountID, PasswordCredential credential, NamespaceID namespaceIDofProvider)Map<DataContractID,DataContract>LogicModule. getDataContractIDsOfApplicant(AccountID applicantAccountID, PasswordCredential credential)Map<DataContractID,DataContract>LogicModule. getDataContractIDsOfProvider(AccountID accountID, PasswordCredential credential, DataSetID datasetIDofProvider)DataContractLogicModule. getDataContractInfoOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, DataSetID datasetIDofProvider)DataSetIDLogicModule. getDataSetID(AccountID accountID, PasswordCredential credential, String datasetName)Map<MetaClassID,MetaClass>LogicModule. getInfoOfClassesInNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)InterfaceLogicModule. getInterfaceInfo(AccountID accountID, PasswordCredential credential, InterfaceID interfaceID)NamespaceIDLogicModule. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)CommonMessages.LangsLogicModule. getNamespaceLang(AccountID accountID, PasswordCredential credential, String namespaceName)Set<String>LogicModule. getNamespaces(AccountID accountID, PasswordCredential credential)OperationIDLogicModule. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)PropertyIDLogicModule. getPropertyID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String propertyName)Set<String>LogicModule. getPublicDataSets(AccountID accountID, PasswordCredential credential)Map<String,byte[]>LogicModule. getStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, CommonMessages.Langs language, List<ContractID> contractsIDs)voidLogicModule. importContract(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID)voidLogicModule. importInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID, InterfaceID interfaceID)AccountIDLogicModule. newAccount(AccountID adminAccountID, PasswordCredential adminCredential, Account newAccount)Map<String,MetaClass>LogicModule. newClass(AccountID accountID, PasswordCredential credential, CommonMessages.Langs language, Map<String,MetaClass> newClasses)ContractIDLogicModule. newContract(AccountID accountID, PasswordCredential credential, Contract newContract)DataContractIDLogicModule. newDataContract(AccountID accountID, PasswordCredential credential, DataContract newDataContract)DataSetIDLogicModule. newDataSet(AccountID accountID, PasswordCredential credential, DataSet newDataSet)InterfaceIDLogicModule. newInterface(AccountID accountID, PasswordCredential credential, Interface newInterface)NamespaceIDLogicModule. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)SessionInfoLogicModule. newSession(AccountID accountID, PasswordCredential credential, Set<ContractID> contracts, Set<DataSetID> dataSetIDs, DataSetID dataSetForStore, CommonMessages.Langs newsessionLang)byte[]LogicModule. performSetOfNewAccounts(AccountID adminID, PasswordCredential adminCredential, byte[] yamlFile)byte[]LogicModule. performSetOfOperations(AccountID performerID, PasswordCredential performerCredential, byte[] yamlFile)Map<String,MetaClass>LogicModule. registerAndUpdateDependencies(AccountID accountID, PasswordCredential credentials, CommonMessages.Langs language, Map<String,MetaClass> metaClasses, NamespaceID enrichmentNamespaceID, String enrichedClassName)This internal operation recursively registers all the required dependencies of a metaClass to be usable.voidLogicModule. registerEventListenerImplementation(AccountID accountID, PasswordCredential credential, ECA newEventListener)DataClayInstanceIDLogicModule. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String thehostname, int theport, String authority)voidLogicModule. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)ContractIDLogicModule. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)voidLogicModule. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)voidLogicModule. removeClass(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)voidLogicModule. removeDataSet(AccountID accountID, PasswordCredential credential, String datasetName)voidLogicModule. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)voidLogicModule. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)voidLogicModule. removeNamespace(AccountID accountID, PasswordCredential credential, String namespaceName)voidLogicModule. removeOperation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature) -
Uses of PasswordCredential in es.bsc.dataclay.logic.accountmgr
Methods in es.bsc.dataclay.logic.accountmgr with parameters of type PasswordCredential Modifier and Type Method Description HashSet<AccountID>AccountManager. getAccountList(AccountID adminAccountID, PasswordCredential adminCredential)Retrieves the list of users registered in the systemAccountIDAccountManager. newAccount(AccountID adminAccountID, PasswordCredential adminCredential, Account newaccount)Method that registers a new accountvoidAccountManagerDB. store(PasswordCredential passwordCredential)Store credential into databasebooleanAccountManager. validateAccount(AccountID accountID, PasswordCredential credential)Method that validates the provided account with the given credentialsbooleanAccountManager. validateAccount(AccountID accountID, PasswordCredential credential, AccountRole role)Method that validates the provided account with the given credentials and considering also its role -
Uses of PasswordCredential in es.bsc.dataclay.logic.api
Methods in es.bsc.dataclay.logic.api with parameters of type PasswordCredential Modifier and Type Method Description Set<String>LogicModuleAPI. getAccountDataSets(AccountID accountID, PasswordCredential credential)Retrieves the datasets provided by the given accountSet<AccountID>LogicModuleAPI. getAccountList(AccountID adminAccountID, PasswordCredential adminCredential)The list of users registered in the systembyte[]LogicModuleAPI. getBabelStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, List<ContractID> contractsIDs)Method that allows to retrieve the "Babel" (language independent YAML-based) stubs of the given contracts (merging interfaces if necessary).MetaClassIDLogicModuleAPI. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)Method that retrieves the id of a class given its nameMetaClassLogicModuleAPI. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)Method that retrieves the id of a class given its nameContractIDLogicModuleAPI. getContractIDOfDataClayProvider(AccountID accountID, PasswordCredential credential)Get contract ID of DataClay classesMap<ContractID,Contract>LogicModuleAPI. getContractIDsOfApplicant(AccountID applicantAccountID, PasswordCredential credential)Method that returns all contract IDs of a user (as applicant).Map<ContractID,Contract>LogicModuleAPI. getContractIDsOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, NamespaceID namespaceIDofProvider)Method that returns all contract IDs of a user (as applicant) with the given namespace provider.Map<ContractID,Contract>LogicModuleAPI. getContractIDsOfProvider(AccountID accountID, PasswordCredential credential, NamespaceID namespaceIDofProvider)Method that returns all contract IDs of a namespace (as provider).Map<DataContractID,DataContract>LogicModuleAPI. getDataContractIDsOfApplicant(AccountID applicantAccountID, PasswordCredential credential)Method that retrieves the data contracts that an account has (as applicant).Map<DataContractID,DataContract>LogicModuleAPI. getDataContractIDsOfProvider(AccountID accountID, PasswordCredential credential, DataSetID datasetIDofProvider)Method that retrieves the data contracts that a dataset provides.DataContractLogicModuleAPI. getDataContractInfoOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, DataSetID datasetIDofProvider)Method that retrieves the data contract of an account (as applicant) with a certain dataset.DataSetIDLogicModuleAPI. getDataSetID(AccountID accountID, PasswordCredential credential, String datasetName)Retrieves the id of a dataset identified by name providedMap<MetaClassID,MetaClass>LogicModuleAPI. getInfoOfClassesInNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)Method that retrieves the info of the classes registered in specific namespace.InterfaceLogicModuleAPI. getInterfaceInfo(AccountID accountID, PasswordCredential credential, InterfaceID interfaceID)Method that retrieves the info of the interface if the account is registered in a contract that contains itNamespaceIDLogicModuleAPI. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)Retrieves the id of a namespace identified by name providedCommonMessages.LangsLogicModuleAPI. getNamespaceLang(AccountID accountID, PasswordCredential credential, String namespaceName)Retrieves the language of a namespace identified by name providedSet<String>LogicModuleAPI. getNamespaces(AccountID accountID, PasswordCredential credential)Retrieves the names of the available namespacesOperationIDLogicModuleAPI. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)Method that retrieves the id of an operation given its signaturePropertyIDLogicModuleAPI. getPropertyID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String propertyName)Method that retrieves the id of a property given its signatureSet<String>LogicModuleAPI. getPublicDataSets(AccountID accountID, PasswordCredential credential)Retrieves the publicly available datasetsMap<String,byte[]>LogicModuleAPI. getStubs(AccountID applicantAccountID, PasswordCredential applicantCredential, CommonMessages.Langs language, List<ContractID> contractsIDs)Method that allows to retrieve the stubs of the given contracts (merging interfaces if necessary)voidLogicModuleAPI. importContract(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID)Imports the interfaces of the contract into a specific namespacevoidLogicModuleAPI. importInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID, InterfaceID interfaceID)Imports an interface in contract into a specific namespaceAccountIDLogicModuleAPI. newAccount(AccountID adminAccountID, PasswordCredential adminCredential, Account newAccount)This operation creates a new account in the system with the provided username.Map<String,MetaClass>LogicModuleAPI. newClass(AccountID accountID, PasswordCredential credential, CommonMessages.Langs language, Map<String,MetaClass> newClasses)This operation creates a new metaclass in the system with the provided specifications and associate it to the Namespace provided.ContractIDLogicModuleAPI. newContract(AccountID accountID, PasswordCredential credential, Contract newContract)Method to register a new contract.DataContractIDLogicModuleAPI. newDataContract(AccountID accountID, PasswordCredential credential, DataContract newDataContract)Creates a new Data ContractDataSetIDLogicModuleAPI. newDataSet(AccountID accountID, PasswordCredential credential, DataSet dataset)Method that creates a new dataset in the system.InterfaceIDLogicModuleAPI. newInterface(AccountID accountID, PasswordCredential credential, Interface newInterface)Method that registers a new interfaceNamespaceIDLogicModuleAPI. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)Method that creates a new namespace in the system.SessionInfoLogicModuleAPI. newSession(AccountID accountID, PasswordCredential credential, Set<ContractID> contracts, Set<DataSetID> dataSetIDs, DataSetID dataSetForStore, CommonMessages.Langs newsessionLang)Method that registeres a new session for the given account considering the provided interfaces in contractbyte[]LogicModuleAPI. performSetOfNewAccounts(AccountID adminID, PasswordCredential adminCredential, byte[] yamlFile)Perform a series of new account creations, described by a YAML parameter.byte[]LogicModuleAPI. performSetOfOperations(AccountID performerID, PasswordCredential performerCredential, byte[] yamlFile)Perform a series of operations, described by a YAML parameter.voidLogicModuleAPI. registerEventListenerImplementation(AccountID accountID, PasswordCredential credential, ECA newEventListener)Registers an event listener implementationDataClayInstanceIDLogicModuleAPI. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String hostname, int port, String authority)For system-admin users only.voidLogicModuleAPI. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)Method to register an account to a contractContractIDLogicModuleAPI. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)Method to register an account to a public contract given a namespacevoidLogicModuleAPI. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)Method that registers a certain account to a public data contract.voidLogicModuleAPI. removeClass(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)Method that removes a class given its name and the name of the namespace where it belongs tovoidLogicModuleAPI. removeDataSet(AccountID accountID, PasswordCredential credential, String datasetName)This method removes a dataset from the system by checking it has no active data contract associated with it and no objects registered in it.voidLogicModuleAPI. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)Method that removes an implementation of a certain operationvoidLogicModuleAPI. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)Method that removes a specific interfacevoidLogicModuleAPI. removeNamespace(AccountID accountID, PasswordCredential credential, String namespaceName)This method removes a namespace from the system by checking it has no active contract associated with it, and no classes registered on it.voidLogicModuleAPI. removeOperation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)Method that removes an operation given its signature -
Uses of PasswordCredential in es.bsc.dataclay.util.events.type
Methods in es.bsc.dataclay.util.events.type with parameters of type PasswordCredential Modifier and Type Method Description voidDeletedObjEventType. init(AccountID accountID, PasswordCredential credential, String newnamespace, LogicModuleAPI lm)abstract voidEventType. init(AccountID accountID, PasswordCredential credential, String namespace, LogicModuleAPI lm)Initialize (if needed) IDs from specifications (example: className -> class ID)voidPersistedObjEventType. init(AccountID accountID, PasswordCredential credential, String newnamespace, LogicModuleAPI lm)voidUpdatedObjEventType. init(AccountID accountID, PasswordCredential credential, String newnamespace, LogicModuleAPI lm) -
Uses of PasswordCredential in es.bsc.dataclay.util.management.accountmgr
Methods in es.bsc.dataclay.util.management.accountmgr that return PasswordCredential Modifier and Type Method Description PasswordCredentialAccount. getCredential()Get the Account::credentialID of this Account.Methods in es.bsc.dataclay.util.management.accountmgr with parameters of type PasswordCredential Modifier and Type Method Description voidAccount. setCredential(PasswordCredential newcredential)Set the Account::credential of this Account.Constructors in es.bsc.dataclay.util.management.accountmgr with parameters of type PasswordCredential Constructor Description Account(String newusername, AccountRole newrole, PasswordCredential newcredential)Account constructor with provided username, role and credentials.
-