Skip to main content
Skip table of contents

TBeasCbDynamicServiceOutput

TBeasCbDynamicServiceOutput

Die Klasse TBeasCbDynamicServiceOutput kapselt die ServiceOutputParameter für Services vom Typ beasServiceTypeStandard, bzw. für den internen Gebrauch bei ExternalContext 

Eigenschaften

CbParams:O

Parameter-Objekt vom Typ TBeasCbServiceOutputParam mit Basisklasse TBeasCustomCbServiceParam

CbResultType:N

Ergebnistyp aus der Basisklasse;

  • crtBeasInvalid

  • crtBeasStream

  • crtBeasParams

  • crtBeasFile

    Hinweis:

  • wird nur für TBeasHttpDynamicServiceOutput verwendet, d.h. für Services vom Typ beasServiceTypeHttp

  • für Services vom Typ beasServiceTypeStandard und beasServiceTypeHttp ist der CBResultType auf den Wert crtBeasParams zu setzen

  • für Services vom Typ beasServiceTypeStandard ausschließlich kann der CBResultType unversorgt bleiben

  • für Services vom Typ beasServiceTypeHttp ausschließlich kann der CBResultType

Funktionen

Diese Funktionen werden nur zur Erzeugung eines Weptun-spezifisches Formats verwendet

CbCreateDataSetConverter():O

erzeugt einen DataSetConverter (Typ TBeasCbDataSetConverter)

CbCreateComplexServiceParamItem(): O

erzeugt ein Parameter-Item vom Typ TBeasComplexServiceParamItem

CbCreateArrayServiceParamItem():O

erzeugt ein Parameter-Item vom Typ TBeasArrayServiceParamItem

CbCreateSimpleServiceParamItem():O

erzeugt ein Parameter-Item vom Typ TBeasSimpleServiceParamItem

Beispiel

CODE
//
// siehe auch TBeasCustomCbServiceParam
//
|oUserSession:P1, oContext:P2, oInputParam:P3, oOutputParam:P4, oInput, oOutput, nContactId, oDab005:DB:="38,2"|
oOutputParam.CbResultType := crtBeasParams,
nContactId := oInputParam.CbParams.ParamValue("ContactPerson.id"),
DbScope({nContactId}, {nContactId}, oDab005),
oOutput := oOutputParam.CbParams,
oOutput := oOutput.AddComplexParam("ContactPerson"),
oOutput.AddElement("id", nContactId),
oOutput.AddElement("gender", oDab005:ANREDESCHL),
oOutput.AddElement("title", Trim(oDab005:TITEL)),
oOutput.AddElement("name", D005_FullName(oDab005)),
oOutput.AddElement("last_Contact", oDab005:KONT_DAT),

Weitere Verknüpfungen

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.