Packages

t

de.upb.cs.uc4.hyperledger.connections.traits

ConnectionExaminationRegulationTrait

trait ConnectionExaminationRegulationTrait extends ConnectionTrait

Linear Supertypes
ConnectionTrait, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectionExaminationRegulationTrait
  2. ConnectionTrait
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def addExaminationRegulation(examinationRegulation: String): String

    Submits the "addExaminationRegulation" query.

    Submits the "addExaminationRegulation" query.

    examinationRegulation

    Information about the examination regulation to add.

    returns

    The final object that is present on the chain after performing the transaction.

    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

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  2. abstract val chaincode: String
    Definition Classes
    ConnectionTrait
  3. abstract val channel: String
    Definition Classes
    ConnectionTrait
  4. abstract def closeExaminationRegulation(name: String): String

    Executes the "closeExaminationRegulation" query.

    Executes the "closeExaminationRegulation" query.

    name

    identifier of the examination regulation to close.

    returns

    The final object that is present on the chain after performing the transaction.

    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

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  5. abstract def getExaminationRegulations(namesList: String): String

    Submits the "getExaminationRegulations" query.

    Submits the "getExaminationRegulations" query.

    namesList

    List of Examination Regulations to get. Empty name list will return all existing examination regulations.

    returns

    The final object that is present on the chain after performing the transaction.

    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

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  6. abstract def getProposalAddExaminationRegulation(certificate: String, affiliation: String = AFFILITATION, examinationRegulation: String): (String, Array[Byte])

    Retrieves a proposal for the designated query Also submits approval for the query as current user (admin).

    Retrieves a proposal for the designated query Also submits approval for the query as current user (admin).

    examinationRegulation

    Information about the examination regulation to add.

    returns

    The Proposal requested.

    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

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  7. abstract def getProposalCloseExaminationRegulation(certificate: String, affiliation: String = AFFILITATION, name: String): (String, Array[Byte])

    Retrieves a proposal for the designated query Also submits approval for the query as current user (admin).

    Retrieves a proposal for the designated query Also submits approval for the query as current user (admin).

    name

    identifier of the examination regulation to close.

    returns

    The Proposal requested.

    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

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  8. abstract def getProposalGetExaminationRegulations(certificate: String, affiliation: String = AFFILITATION, namesList: String): (String, Array[Byte])

    Retrieves a proposal for the designated query Also submits approval for the query as current user (admin).

    Retrieves a proposal for the designated query Also submits approval for the query as current user (admin).

    namesList

    List of Examination Regulations to get. Empty name list will return all existing examination regulations.

    returns

    The Proposal requested.

    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

    HyperledgerExceptionTrait if hlf-framework throws an exception.

    TransactionExceptionTrait if chaincode throws an exception.

  9. abstract val networkDescriptionPath: Path
    Definition Classes
    ConnectionTrait
  10. abstract val username: String
    Definition Classes
    ConnectionTrait
  11. abstract val walletPath: Path
    Definition Classes
    ConnectionTrait

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val AFFILITATION: String
    Definition Classes
    ConnectionTrait
  5. def approvalConnection: Option[ConnectionApprovalsTrait]
    Definition Classes
    ConnectionTrait
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def close(): Unit
    Definition Classes
    ConnectionTrait → AutoCloseable
  9. lazy val contract: ContractImpl
    Definition Classes
    ConnectionTrait
  10. final val contractName: String
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. lazy val gateway: GatewayImpl
    Definition Classes
    ConnectionTrait
  15. 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
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getUnsignedTransaction(proposalBytes: Array[Byte], signatureBytes: Array[Byte]): Array[Byte]
    Definition Classes
    ConnectionTrait
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def internalGetUnsignedProposal(certificate: String, affiliation: String, transactionName: String, params: String*): (String, Array[Byte])
    Attributes
    protected
    Definition Classes
    ConnectionTrait
  20. def internalSubmitRealTransactionFromApprovalProposal(params: Seq[String]): String
    Definition Classes
    ConnectionTrait
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def submitSignedTransaction(transactionBytes: Array[Byte], signature: Array[Byte]): (String, String)
    Definition Classes
    ConnectionTrait
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. 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])
  32. 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])

Inherited from ConnectionTrait

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped