case class ConnectionMatriculation(username: String, channel: String, chaincode: String, walletPath: Path, networkDescriptionPath: Path) extends ConnectionMatriculationTrait with Product with Serializable
- Alphabetic
- By Inheritance
- ConnectionMatriculation
- Serializable
- Product
- Equals
- ConnectionMatriculationTrait
- ConnectionTrait
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ConnectionMatriculation(username: String, channel: String, chaincode: String, walletPath: Path, networkDescriptionPath: Path)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addEntriesToMatriculationData(enrollmentId: String, subjectMatriculationList: String): String
Submits the "addEntryToMatriculationData" query.
Submits the "addEntryToMatriculationData" query.
- enrollmentId
enrollment.id to add entry to
- subjectMatriculationList
a Json object containing the List of subjectMatriculationInfo - objects
- returns
success_state
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- def addMatriculationData(jSonMatriculationData: String): String
Submits the "addMatriculationData" query.
Submits the "addMatriculationData" query.
- jSonMatriculationData
Information about the matriculation to add.
- returns
Success_state
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- lazy val approvalConnection: Option[ConnectionApprovalsTrait]
- Definition Classes
- ConnectionTrait
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val chaincode: String
- Definition Classes
- ConnectionMatriculation → ConnectionTrait
- val channel: String
- Definition Classes
- ConnectionMatriculation → ConnectionTrait
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def close(): Unit
- Definition Classes
- ConnectionTrait → AutoCloseable
- lazy val contract: ContractImpl
- Definition Classes
- ConnectionTrait
- final val contractName: String
- Definition Classes
- ConnectionMatriculation → ConnectionTrait
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- lazy val gateway: GatewayImpl
- Definition Classes
- ConnectionTrait
- final def getChaincodeVersion: String
Gets the version returned by the designated contract.
Gets the version returned by the designated contract. By default all contracts return the version of the chaincode.
- returns
String containing versionInfo
- Definition Classes
- ConnectionTrait
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getMatriculationData(enrollmentId: String): String
Executes the "getMatriculationData" query.
Executes the "getMatriculationData" query.
- enrollmentId
enrollment.id to get information
- returns
JSon Matriculation Object
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- def getProposalAddEntriesToMatriculationData(enrollmentId: String, subjectMatriculationList: String): Array[Byte]
Retrieves a proposal for the designated query Also submits the "addEntriesToMatriculationData" query as current user (admin).
Retrieves a proposal for the designated query Also submits the "addEntriesToMatriculationData" query as current user (admin).
- enrollmentId
enrollment.id to add entry to
- subjectMatriculationList
a Json object containing the List of subjectMatriculationInfo - objects
- returns
Proposal and transactionId
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- def getProposalAddMatriculationData(jSonMatriculationData: String): Array[Byte]
Retrieves a proposal for the designated query Also submits the "addMatriculationData" query as current user (admin).
Retrieves a proposal for the designated query Also submits the "addMatriculationData" query as current user (admin).
- jSonMatriculationData
Information about the matriculation to add.
- returns
Proposal and transactionId
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- def getProposalGetMatriculationData(enrollmentId: String): Array[Byte]
Retrieves a proposal for the designated query Also submits the "getMatriculationData" query as current user (admin).
Retrieves a proposal for the designated query Also submits the "getMatriculationData" query as current user (admin).
- enrollmentId
enrollment.id to get information
- returns
Proposal and transactionId
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- def getProposalUpdateMatriculationData(jSonMatriculationData: String): Array[Byte]
Retrieves a proposal for the designated query Also submits the "updateMatriculationData" query as current user (admin).
Retrieves a proposal for the designated query Also submits the "updateMatriculationData" query as current user (admin).
- jSonMatriculationData
matriculationInfo to update
- returns
Proposal and transactionId
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- final def internalGetUnsignedProposal(transactionName: String, params: String*): Array[Byte]
- Attributes
- protected
- Definition Classes
- ConnectionTrait
- def internalSubmitApprovalProposal(transaction: TransactionImpl, context: TransactionContext, signedProposal: SignedProposal): String
- Definition Classes
- ConnectionTrait
- def internalSubmitRealTransactionFromApprovalProposal(proposal: Proposal): String
- Definition Classes
- ConnectionTrait
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val networkDescriptionPath: Path
- Definition Classes
- ConnectionMatriculation → ConnectionTrait
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def submitSignedProposal(proposalBytes: Array[Byte], signatureBytes: Array[Byte]): String
- Definition Classes
- ConnectionTrait
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def updateMatriculationData(jSonMatriculationData: String): String
Submits the "updateMatriculationData" query.
Submits the "updateMatriculationData" query.
- jSonMatriculationData
matriculationInfo to update
- returns
success_state
- Definition Classes
- ConnectionMatriculation → ConnectionMatriculationTrait
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- val username: String
- Definition Classes
- ConnectionMatriculation → ConnectionTrait
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val walletPath: Path
- Definition Classes
- ConnectionMatriculation → ConnectionTrait
- final def wrapEvaluateTransaction(transactionName: String, params: String*): String
Wrapper for an evaluation transaction Translates the result byte-array to a string and throws an error if said string contains an error.
Wrapper for an evaluation transaction Translates the result byte-array to a string and throws an error if said string contains an error.
- transactionName
transaction to call
- params
parameters to feed into transaction
- returns
result as a string
- Attributes
- protected
- Definition Classes
- ConnectionTrait
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait])
- final def wrapSubmitTransaction(transient: Boolean, transactionName: String, params: String*): String
Wrapper for a submission transaction Translates the result byte-array to a string and throws an error if said string contains an error.
Wrapper for a submission transaction Translates the result byte-array to a string and throws an error if said string contains an error.
- transient
boolean flag to determine transaction to be transient or not.
- transactionName
transaction to call
- params
parameters to feed into transaction
- returns
result as a string
- Attributes
- protected
- Definition Classes
- ConnectionTrait
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait])