Ingrid-Request-old

Index

All Ingrid_request functions

//TODO Thomas fragen: oldFunName = Rename in template.go ???

Name Function header Example Result Description Errorhandling
INGRID-CALLS-LOG-TIME-RESTFUN setTimeout func(seconds int) bool [[ $v := setTimeout 5 ]] Sets the timeout for ingrid Calls to 5 seconds
INGRID-CALLS-LOG-TIME-RESTFUN defaultTimeout func() bool [[ $v := defaultTimeout ]] set the Timeout to default for ingrid calls and requests
INGRID-MSG newRequest func() IngridMsg [[ $v := newRequest ]] $v contains a new empty Ingrid Request
INGRID-MSG setRequest func(r IngridMsg) bool [[ $v := setRequest $req ]] Sets the $req object as current Request. $v contains the new Request
oldFunName? getRequestClass func(msg IngridMsg) string [[ $v := getRequestClass $req ]] $v contains the Class of the Ingrid Request $req
oldFunName? getRequestData func(msg IngridMsg) Data [[ $v := getRequestData $req ]] $v contains the Data from the Ingrid Request $req
oldFunName? getRequestOperation func(msg IngridMsg) string [[ $v := getRequestOperation $req ]] $v contains the Operation of the Ingrid Request $req
oldFunName? setRequestClass func(msg IngridMsg, value string) IngridMsg [[ $v := setRequestClass $req "User" ]] sets the Class of the Request $req to “User”. $v contains the new Request
oldFunName? setRequestData func(msg IngridMsg, value Data) IngridMsg [[ $v := setRequestData $req $data ]] sets the Data on the Request $req to $data. $v contains the new Request
oldFunName? getRequestControl func(msg IngridMsg) Data [[ $v := getRequestControl $req ]] $v contains the Controls of the Request $req
oldFunName? setRequestList func(msg IngridMsg, values []Data) IngridMsg [[ $v := setRequestList $req $list ]] sets the List object to the Data Array $list. $v contains the new Request
oldFunName? setRequestOperation func(msg IngridMsg, value string) IngridMsg [[ $v := setRequestOperation $req "YourOp"]] sets the Operation of $req to “YourOp”. $v contains the new Request
oldFunName? setRequestControl func(msg IngridMsg, value string) IngridMsg [[ $v := setRequestControl $req $controls ]] sets the Control of the Request $req to $controls. $v contains the new Request

To get an overview of the ingrid get/set request function check the cheat sheet.

setTimeout

// TODO

func(seconds int) bool

The setTimeout function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

defaultTimeout

// TODO

func() bool

The defaultTimeout function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

getRequestClass

// TODO

func(msg IngridMsg) string

The getRequestClass function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

getRequestControl

// TODO

func(msg IngridMsg) Data

The getRequestControl function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

getRequestData

// TODO

func(msg IngridMsg) Data

The getRequestData function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

getRequestOperation

// TODO

func(msg IngridMsg) string

The getRequestOperation function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

newRequest

// TODO

func() IngridMsg

The newRequest function …

Application notes / Limits:

Examples

Anpassen Beispiel: ist copy&paste von marshal


_comment create new empty request
[[ $req := newRequest ]]
[[ $result := toString (marshal $req ) ]]
[[ setCurrentResultDataValue "DocuFixValue7" $result ]]

setRequestClass

// TODO

func(msg IngridMsg, value string) IngridMsg

The setRequestClass function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

setRequestControl

// TODO

func(msg IngridMsg, value string) IngridMsg

The setRequestControl function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

setRequestData

// TODO

func(msg IngridMsg, value Data) IngridMsg

The setRequestData function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

setRequestList

// TODO

func(msg IngridMsg, values []Data) IngridMsg

The setRequestList function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"

setRequestOperation

// TODO

func(msg IngridMsg, value string) IngridMsg

The setRequestOperation function …

Application notes / Limits:

  • xx

Examples


[[ $result := getMsg ???? ]]
$result = "????"