trait ConnectionAdmissionTrait extends ConnectionTrait
- Alphabetic
- By Inheritance
- ConnectionAdmissionTrait
- ConnectionTrait
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def addAdmission(admission: String): String
Submits the "addAdmission" query.
Submits the "addAdmission" query.
- admission
Information about the admission.
- returns
ledger state
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- abstract val chaincode: String
- Definition Classes
- ConnectionTrait
- abstract val channel: String
- Definition Classes
- ConnectionTrait
- abstract def dropAdmission(admissionId: String): String
Submits the "dropAdmission" query.
Submits the "dropAdmission" query.
- admissionId
admissionId to drop.
- returns
Success_state
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- abstract def getAdmissions(enrollmentId: String = "", courseId: String = "", moduleId: String = ""): String
Submits the "getAdmissions" query.
Submits the "getAdmissions" query.
- enrollmentId
enrollmentId to filter for.
- courseId
courseId to filter for.
- moduleId
moduleId to filter for.
- returns
list of admissions matching the filters.
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- abstract def getProposalAddAdmission(admission: String): Array[Byte]
Retrieves a proposal for the designated query Also submits the "addAdmission" query as current user (admin).
Retrieves a proposal for the designated query Also submits the "addAdmission" query as current user (admin).
- admission
Information about the admission.
- returns
Proposal and transactionId
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- abstract def getProposalDropAdmission(admissionId: String): Array[Byte]
Retrieves a proposal for the designated query Also submits the "dropAdmission" query as current user (admin).
Retrieves a proposal for the designated query Also submits the "dropAdmission" query as current user (admin).
- admissionId
admissionId to drop.
- returns
Proposal and transactionId
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- abstract def getProposalGetAdmission(enrollmentId: String = "", courseId: String = "", moduleId: String = ""): Array[Byte]
Retrieves a proposal for the designated query Also submits the "getAdmissions" query as current user (admin).
Retrieves a proposal for the designated query Also submits the "getAdmissions" query as current user (admin).
- enrollmentId
enrollmentId to filter for.
- courseId
courseId to filter for.
- moduleId
moduleId to filter for.
- returns
Proposal and transactionId
- Annotations
- @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.HyperledgerExceptionTrait]) @throws(scala.this.throws.<init>$default$1[de.upb.cs.uc4.hyperledger.exceptions.traits.TransactionExceptionTrait])
- Exceptions thrown
HyperledgerExceptionTraitif hlf-framework throws an exception.TransactionExceptionTraitif chaincode throws an exception.
- abstract val networkDescriptionPath: Path
- Definition Classes
- ConnectionTrait
- abstract val username: String
- Definition Classes
- ConnectionTrait
- abstract val walletPath: Path
- Definition Classes
- ConnectionTrait
Concrete 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 approvalConnection: Option[ConnectionApprovalsTrait]
- Definition Classes
- ConnectionTrait
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- ConnectionAdmissionTrait → ConnectionTrait
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- lazy val gateway: GatewayImpl
- Definition Classes
- ConnectionTrait
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def submitSignedProposal(proposalBytes: Array[Byte], signatureBytes: Array[Byte]): String
- Definition Classes
- ConnectionTrait
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- 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])