Codeblock Onlinehilfe

TBeasCbDynamicServiceOutput

TBeasCbDynamicServiceOutput

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

Eigenschaften

Eigenschaft

Beschreibung

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

CbStatusCode:N


CbStatusText:C


Name:C


Tag:N


Methoden

Methode

Beschreibung

CbCreateSimpleServiceParamItem():O

erzeugt ein Parameter-Item vom Typ TBeasSimpleServiceParamItem

CbCreateComplexServiceParamItem():O

erzeugt ein Parameter-Item vom Typ TBeasComplexServiceParamItem

CbCreateArrayServiceParamItem():O

erzeugt ein Parameter-Item vom Typ TBeasArrayServiceParamItem

CbCreateDataSetConverter():O

erzeugt einen DataSetConverter (Typ TBeasCbDataSetConverter)

Beispiel

//
// 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