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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    decode(com.smeup.kokos.sdk.fun.Fun fun, com.smeup.kokos.sdk.model.ExecutionContext context)
    Check if given entity exists, and return its decoding.
    void
    details(@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.
    void
    list(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 SmeupObj annotation 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 optional
      context - 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 SmeupObj annotation 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 SmeupObj annotation 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