@Deprecated
public abstract class Function
extends java.lang.Object
| Constructor and Description | 
|---|
| Function()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | invoke(Database database,
      java.util.Optional<javax.json.JsonObject> functionArgument,
      javax.json.JsonObject contractArgument,
      java.util.Optional<javax.json.JsonObject> properties)Deprecated.  Invokes the function to  Databasewith the specified argument and the corresponding root
 contract argument and properties. | 
| protected void | invoke(java.lang.String functionId,
      Database database,
      java.util.Optional<javax.json.JsonObject> functionArgument,
      javax.json.JsonObject contractArgument,
      java.util.Optional<javax.json.JsonObject> contractProperties)Deprecated.  | 
public abstract void invoke(Database database, java.util.Optional<javax.json.JsonObject> functionArgument, javax.json.JsonObject contractArgument, java.util.Optional<javax.json.JsonObject> properties)
Database with the specified argument and the corresponding root
 contract argument and properties. An implementation of the Function should throw ContractContextException if it faces application-level contextual error (such as lack of
 balance in payment application).database - mutable databasefunctionArgument - json-formatted argument of the functioncontractArgument - json-formatted argument of the corresponding root contractproperties - json-formatted pre-registered properties of the corresponding root contractprotected final void invoke(java.lang.String functionId,
                            Database database,
                            java.util.Optional<javax.json.JsonObject> functionArgument,
                            javax.json.JsonObject contractArgument,
                            java.util.Optional<javax.json.JsonObject> contractProperties)