Package com.smeup.kokos.service
Class KS_202_01B
java.lang.Object
com.smeup.kokos.sdk.caller.KokosService
com.smeup.kokos.service.KS_202_01B
public class KS_202_01B
extends com.smeup.kokos.sdk.caller.KokosService
Entity list service.
Supports matrix and tree output for an entity class resolved from OG coordinates.
-
Field Summary
Fields inherited from class com.smeup.kokos.sdk.caller.KokosService
out, printer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) Check if given entity exists, and return its decoding.voiddetails(@NonNull com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) Returns entity for the given Smeup type+parameter+code combination.voidlist(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) Returns entities for the given Smeup type+parameter combination.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_01B
public KS_202_01B()
-
-
Method Details
-
list
public void list(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) throws Exception Returns entities for the given Smeup type+parameter combination.The entity class is resolved via
SmeupObjannotation matching — see the class-level Javadoc for the full resolution strategy.FUN signature:
F(EXB;KS_202_01B;) 1(OG;;[T][P])- Parameters:
fun- the parsed FUN;obj1.getT()is mandatory,obj1.getP()is optionalcontext- the execution context- Throws:
Exception- if writing to the output stream fails
-
details
public void details(@NonNull com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) throws Exception Returns entity for the given Smeup type+parameter+code combination.The entity class is resolved via
SmeupObjannotation matching — see the class-level Javadoc for the full resolution strategy.FUN signature:
F(EXB;KS_202_01B;DET) 1([T];[P];[K])- Parameters:
fun- the parsed FUN;context- the execution context- Throws:
Exception- if writing to the output stream fails
-
decode
public void decode(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context) throws Exception Check if given entity exists, and return its decoding.The entity class is resolved via
SmeupObjannotation matching — see the class-level Javadoc for the full resolution strategy.FUN signature:
F(EXB;KS_202_01B;DEC) 1([T];[P];[K])- Parameters:
fun- the parsed FUN;context- the execution context- Throws:
Exception- if writing to the output stream fails
-