Package com.smeup.kokos.service
Class KS_202_01A
java.lang.Object
com.smeup.kokos.sdk.caller.KokosService
com.smeup.kokos.service.KS_202_01A
public class KS_202_01A
extends com.smeup.kokos.sdk.caller.KokosService
Entity write service.
Supports Smeup's update protocol to insert, update or delete entity instances.
-
Field Summary
Fields inherited from class com.smeup.kokos.sdk.caller.KokosService
out, printer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) This method constructs the basic matrix that will be exchanged between client and server during the update protocolvoidupdate(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) This method handles the update protocol, which allows clients to perform write operations on entities.Methods inherited from class com.smeup.kokos.sdk.caller.KokosService
execute, writeAction, writeButtons, writeCursor, writeDataColumn, writeDataColumns, writeDataNode, writeDataNodeClosure, writeDataRow, writeLayout, writeMessage, writeRawData, writeSch, writeSetup, writeVariable
-
Constructor Details
-
KS_202_01A
public KS_202_01A()
-
-
Method Details
-
init
public void init(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) throws Exception This method constructs the basic matrix that will be exchanged between client and server during the update protocol- Parameters:
fun- The fun that holds the data to initialize the update protocolcontext- The context needed to initialize the update protocol- Throws:
Exception- if the underlying printer fails to create an instance of the matrix
-
update
public void update(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) throws Exception This method handles the update protocol, which allows clients to perform write operations on entities.- Parameters:
fun- The fun that holds the data to perform the write operationscontext- The context needed to perform the write operations- Throws:
Exception- if the underlying printer fails to create an instance of the matrix or if any write operation fails
-