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 boolean
ClientManagementLib. 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 MetaClassID
ClientManagementLib. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
Method that retrieves the id of a class given its namestatic MetaClass
ClientManagementLib. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
Method that retrieves the info of a class given its name.static ContractID
ClientManagementLib. 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 DataContract
ClientManagementLib. 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 DataSetID
ClientManagementLib. getDatasetID(AccountID accountID, PasswordCredential credential, String datasetName)
Retrieves the id of a dataset identified by name providedstatic Interface
ClientManagementLib. 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 NamespaceID
ClientManagementLib. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)
Retrieves the id of a namespace identified by name providedstatic CommonMessages.Langs
ClientManagementLib. 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 OperationID
ClientManagementLib. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)
Method that retrieves the id of an operation given its signaturestatic PropertyID
ClientManagementLib. 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 boolean
ClientManagementLib. 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 boolean
ClientManagementLib. 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 DataSetID
ClientManagementLib. newDataSet(AccountID accountID, PasswordCredential credential, DataSet dataSet)
Method that creates a new namespace in the system.static InterfaceID
ClientManagementLib. newInterface(AccountID accountID, PasswordCredential credential, Interface interfaceSpec)
Method that registers a new interfacestatic NamespaceID
ClientManagementLib. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)
Method that creates a new namespace in the system.static ContractID
ClientManagementLib. newPrivateContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, Contract contract)
Method to register a new private contract.static DataContractID
ClientManagementLib. newPrivateDataContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, DataContract datacontract)
Method to register a new private data contract.static ContractID
ClientManagementLib. newPublicContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, Contract contract)
Method that registers a new contractstatic DataContractID
ClientManagementLib. newPublicDataContract(AccountID proprietaryAccountID, PasswordCredential proprietaryCredential, DataContract datacontract)
Method that registers a new public data contractstatic SessionID
ClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, String classPathOfStubs, Set<String> dataSets, String dataSetForStore)
This operation creates a new sessionstatic SessionID
ClientManagementLib. newSession(AccountID accountID, PasswordCredential credential, Map<String,StubInfo> stubsInfo, Set<String> dataSets, String dataSetForStore)
This operation creates a new sessionstatic SessionID
ClientManagementLib. 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 void
ClientManagementLib. registerEventListenerImpl(AccountID accountID, PasswordCredential credentials, ECA eventListenerImpl)
Register Event listener implementation i.e.static DataClayInstanceID
ClientManagementLib. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String dcHost, int dcPort, String authority)
ADMIN usage only.DataClayInstanceID
DataClayRuntime. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String dcHost, int dcPort, String authority)
ADMIN usage only.static boolean
ClientManagementLib. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)
Method to register an account to a contractstatic ContractID
ClientManagementLib. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)
Method to register an account to a contractstatic boolean
ClientManagementLib. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)
Method to register an account to a data contractstatic boolean
ClientManagementLib. 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 boolean
ClientManagementLib. 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 boolean
ClientManagementLib. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)
Method that removes an implementation of a certain operationstatic boolean
ClientManagementLib. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)
Method that removes a specific interfacestatic boolean
ClientManagementLib. 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 boolean
ClientManagementLib. 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 PasswordCredential
Utils. 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.Credential
Utils. 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)
MetaClassID
LogicModuleGrpcClient. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
MetaClass
LogicModuleGrpcClient. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
ContractID
LogicModuleGrpcClient. 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)
DataContract
LogicModuleGrpcClient. getDataContractInfoOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, DataSetID datasetIDofProvider)
DataSetID
LogicModuleGrpcClient. getDataSetID(AccountID accountID, PasswordCredential credential, String datasetName)
Map<MetaClassID,MetaClass>
LogicModuleGrpcClient. getInfoOfClassesInNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)
Interface
LogicModuleGrpcClient. getInterfaceInfo(AccountID accountID, PasswordCredential credential, InterfaceID interfaceID)
NamespaceID
LogicModuleGrpcClient. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)
CommonMessages.Langs
LogicModuleGrpcClient. getNamespaceLang(AccountID accountID, PasswordCredential credential, String namespaceName)
Set<String>
LogicModuleGrpcClient. getNamespaces(AccountID accountID, PasswordCredential credential)
OperationID
LogicModuleGrpcClient. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)
PropertyID
LogicModuleGrpcClient. 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)
void
LogicModuleGrpcClient. importContract(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID)
void
LogicModuleGrpcClient. importInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID, InterfaceID interfaceID)
AccountID
LogicModuleGrpcClient. newAccount(AccountID adminAccountID, PasswordCredential adminCredential, Account newAccount)
Map<String,MetaClass>
LogicModuleGrpcClient. newClass(AccountID accountID, PasswordCredential credential, CommonMessages.Langs language, Map<String,MetaClass> newClasses)
ContractID
LogicModuleGrpcClient. newContract(AccountID accountID, PasswordCredential credential, Contract newContract)
DataContractID
LogicModuleGrpcClient. newDataContract(AccountID accountID, PasswordCredential credential, DataContract newDataContract)
DataSetID
LogicModuleGrpcClient. newDataSet(AccountID accountID, PasswordCredential credential, DataSet dataset)
InterfaceID
LogicModuleGrpcClient. newInterface(AccountID accountID, PasswordCredential credential, Interface newInterface)
NamespaceID
LogicModuleGrpcClient. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)
SessionInfo
LogicModuleGrpcClient. 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)
void
LogicModuleGrpcClient. registerEventListenerImplementation(AccountID accountID, PasswordCredential credential, ECA newEventListener)
DataClayInstanceID
LogicModuleGrpcClient. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String hostname, int port, String authority)
void
LogicModuleGrpcClient. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)
ContractID
LogicModuleGrpcClient. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)
void
LogicModuleGrpcClient. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)
void
LogicModuleGrpcClient. removeClass(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
void
LogicModuleGrpcClient. removeDataSet(AccountID accountID, PasswordCredential credential, String datasetName)
void
LogicModuleGrpcClient. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)
void
LogicModuleGrpcClient. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)
void
LogicModuleGrpcClient. removeNamespace(AccountID accountID, PasswordCredential credential, String namespaceName)
void
LogicModuleGrpcClient. 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 PasswordCredential
LogicModule. dcCredentials
Credentials 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)
MetaClassID
LogicModule. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
MetaClass
LogicModule. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
ContractID
LogicModule. 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)
DataContract
LogicModule. getDataContractInfoOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, DataSetID datasetIDofProvider)
DataSetID
LogicModule. getDataSetID(AccountID accountID, PasswordCredential credential, String datasetName)
Map<MetaClassID,MetaClass>
LogicModule. getInfoOfClassesInNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)
Interface
LogicModule. getInterfaceInfo(AccountID accountID, PasswordCredential credential, InterfaceID interfaceID)
NamespaceID
LogicModule. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)
CommonMessages.Langs
LogicModule. getNamespaceLang(AccountID accountID, PasswordCredential credential, String namespaceName)
Set<String>
LogicModule. getNamespaces(AccountID accountID, PasswordCredential credential)
OperationID
LogicModule. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)
PropertyID
LogicModule. 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)
void
LogicModule. importContract(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID)
void
LogicModule. importInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID, InterfaceID interfaceID)
AccountID
LogicModule. newAccount(AccountID adminAccountID, PasswordCredential adminCredential, Account newAccount)
Map<String,MetaClass>
LogicModule. newClass(AccountID accountID, PasswordCredential credential, CommonMessages.Langs language, Map<String,MetaClass> newClasses)
ContractID
LogicModule. newContract(AccountID accountID, PasswordCredential credential, Contract newContract)
DataContractID
LogicModule. newDataContract(AccountID accountID, PasswordCredential credential, DataContract newDataContract)
DataSetID
LogicModule. newDataSet(AccountID accountID, PasswordCredential credential, DataSet newDataSet)
InterfaceID
LogicModule. newInterface(AccountID accountID, PasswordCredential credential, Interface newInterface)
NamespaceID
LogicModule. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)
SessionInfo
LogicModule. 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.void
LogicModule. registerEventListenerImplementation(AccountID accountID, PasswordCredential credential, ECA newEventListener)
DataClayInstanceID
LogicModule. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String thehostname, int theport, String authority)
void
LogicModule. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)
ContractID
LogicModule. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)
void
LogicModule. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)
void
LogicModule. removeClass(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
void
LogicModule. removeDataSet(AccountID accountID, PasswordCredential credential, String datasetName)
void
LogicModule. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)
void
LogicModule. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)
void
LogicModule. removeNamespace(AccountID accountID, PasswordCredential credential, String namespaceName)
void
LogicModule. 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 systemAccountID
AccountManager. newAccount(AccountID adminAccountID, PasswordCredential adminCredential, Account newaccount)
Method that registers a new accountvoid
AccountManagerDB. store(PasswordCredential passwordCredential)
Store credential into databaseboolean
AccountManager. validateAccount(AccountID accountID, PasswordCredential credential)
Method that validates the provided account with the given credentialsboolean
AccountManager. 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).MetaClassID
LogicModuleAPI. getClassID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
Method that retrieves the id of a class given its nameMetaClass
LogicModuleAPI. getClassInfo(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className)
Method that retrieves the id of a class given its nameContractID
LogicModuleAPI. 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.DataContract
LogicModuleAPI. getDataContractInfoOfApplicantWithProvider(AccountID applicantAccountID, PasswordCredential credential, DataSetID datasetIDofProvider)
Method that retrieves the data contract of an account (as applicant) with a certain dataset.DataSetID
LogicModuleAPI. 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.Interface
LogicModuleAPI. 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 itNamespaceID
LogicModuleAPI. getNamespaceID(AccountID accountID, PasswordCredential credential, String namespaceName)
Retrieves the id of a namespace identified by name providedCommonMessages.Langs
LogicModuleAPI. 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 namespacesOperationID
LogicModuleAPI. getOperationID(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, String className, String operationSignature)
Method that retrieves the id of an operation given its signaturePropertyID
LogicModuleAPI. 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)void
LogicModuleAPI. importContract(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID)
Imports the interfaces of the contract into a specific namespacevoid
LogicModuleAPI. importInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ContractID contractID, InterfaceID interfaceID)
Imports an interface in contract into a specific namespaceAccountID
LogicModuleAPI. 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.ContractID
LogicModuleAPI. newContract(AccountID accountID, PasswordCredential credential, Contract newContract)
Method to register a new contract.DataContractID
LogicModuleAPI. newDataContract(AccountID accountID, PasswordCredential credential, DataContract newDataContract)
Creates a new Data ContractDataSetID
LogicModuleAPI. newDataSet(AccountID accountID, PasswordCredential credential, DataSet dataset)
Method that creates a new dataset in the system.InterfaceID
LogicModuleAPI. newInterface(AccountID accountID, PasswordCredential credential, Interface newInterface)
Method that registers a new interfaceNamespaceID
LogicModuleAPI. newNamespace(AccountID accountID, PasswordCredential credential, Namespace newNamespace)
Method that creates a new namespace in the system.SessionInfo
LogicModuleAPI. 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.void
LogicModuleAPI. registerEventListenerImplementation(AccountID accountID, PasswordCredential credential, ECA newEventListener)
Registers an event listener implementationDataClayInstanceID
LogicModuleAPI. registerExternalDataClayOverrideAuthority(AccountID adminAccountID, PasswordCredential adminCredential, String hostname, int port, String authority)
For system-admin users only.void
LogicModuleAPI. registerToPublicContract(AccountID accountID, PasswordCredential credential, ContractID contractID)
Method to register an account to a contractContractID
LogicModuleAPI. registerToPublicContractOfNamespace(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID)
Method to register an account to a public contract given a namespacevoid
LogicModuleAPI. registerToPublicDataContract(AccountID accountID, PasswordCredential credential, DataContractID datacontractID)
Method that registers a certain account to a public data contract.void
LogicModuleAPI. 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 tovoid
LogicModuleAPI. 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.void
LogicModuleAPI. removeImplementation(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, ImplementationID implementationID)
Method that removes an implementation of a certain operationvoid
LogicModuleAPI. removeInterface(AccountID accountID, PasswordCredential credential, NamespaceID namespaceID, InterfaceID interfaceID)
Method that removes a specific interfacevoid
LogicModuleAPI. 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.void
LogicModuleAPI. 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 void
DeletedObjEventType. init(AccountID accountID, PasswordCredential credential, String newnamespace, LogicModuleAPI lm)
abstract void
EventType. init(AccountID accountID, PasswordCredential credential, String namespace, LogicModuleAPI lm)
Initialize (if needed) IDs from specifications (example: className -> class ID)void
PersistedObjEventType. init(AccountID accountID, PasswordCredential credential, String newnamespace, LogicModuleAPI lm)
void
UpdatedObjEventType. 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 PasswordCredential
Account. 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 void
Account. 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.
-