|
Options |
Name |
Purpose |
|
|
|
HANDLE CloneServiceDataset (IBusinessService)
|
Returns a copy of the ProDataset of the given server-side event
handler service
Notes : SCL-6379. Invokes the GetDataset method of the service
@param poService The server-side event handler service
@return The handle of the copy of the ProDataset
*/
|
|
|
|
Consultingwerk.CommonUi.EventHandlerParameter DeserializeEventHandlerParameter (JsonObject)
|
Deserializes the EventHandlerParameter from the input JSON object
Notes : Returns an initialized EventHandlerParameter instance
@param poJson The JSON request
@return The EventHandlerParameter instance
*/
|
|
|
|
Consultingwerk.CommonUi.ListFieldValueList DeserializeFieldValueLists (JsonArray)
|
Deserializes the value lists of the combo box and multiselect
fields
|
|
|
|
Consultingwerk.Framework.MessageInteraction.ListInputPrompt DeserializeInputPrompts (JsonArray)
|
Deserializes the input prompts
|
|
|
|
Consultingwerk.Framework.MessageInteraction.ListQuestion DeserializeQuestions (JsonArray)
|
Deserializes the questions
|
|
|
|
Consultingwerk.CommonUi.ListTabFolderStatus DeserializeTabFolderStatuses (JsonArray)
|
Deserializes the tab folder statuses
|
|
|
|
INTEGER GetCount (JsonObject, character)
|
Returns a count (a non-negative integer) from a numeric JSON
property
|
|
|
|
HANDLE GetEventDataset (character, IBusinessService, logical)
|
Returns the ProDataset for an event of the given server-side
event handler service
Notes : SCL-6379. GetDataset of the service returns its dataset by value,
so every call creates a dynamic copy of all its temp-tables. The
copy is kept per service name and reused for the following events,
until the ServiceManager returns another instance of the service
(stopped and restarted service, new r-code). An event of a service
whose cached dataset is in use by another event further up the call
stack gets a copy of its own (plCached = false), which the caller
deletes - this happens only for event handlers that receive the
dataset as a DATASET-HANDLE parameter, a static dataset parameter
cannot be bound twice (12763). The returned dataset is empty and
has no change-state (SCL-5342)
@param pcServiceName The name of the server-side event handler service
@param poService The server-side event handler service
@param plCached OUTPUT logical value indicating whether the dataset is the cached dataset of the service
@return The handle of the ProDataset
*/
|
|
|
|
CHARACTER GetMultiRowTableNames (handle, JsonObject)
|
Returns the names of the tables the screen values carry with more
than one row
Notes : SCL-6180. The response returns these tables as an array of all
their rows (the selected rows of a grid, SCL-6087); a table received
with a single row (as an object or as a one-element array) is
returned as a single row object, as before
@param phDataset The handle of the ProDataset of the server-side event handler
@param poScreenValues The screen values JsonObject of the request
@return The comma-delimited list of the table names
*/
|
|
|
|
CHARACTER GetStringMember (JsonObject, character)
|
Returns the value of a string member of a JSON object
|
|
|
|
Progress.Json.ObjectModel.JsonObject HandleEvent (JsonObject)
|
Handles the given event by dispatching into an Application Service
|
|
|
|
LOGICAL IsPascalCase (character)
|
Returns if the given JSON member name starts with an upper case
character
|
|
|
|
ReadScreenValuesWithBeforeImage (handle, JsonObject)
|
Reads screen values that carry a before-image ("prods:before") into
the given ProDataset
Notes : Wraps the screen values in a dataset envelope and reads them into the
dataset in one operation (same pattern as the JsdoGenericService
SubmitData). READ-JSON populates the after- and before-tables from
the JSDO-style before-image data, so that event handlers can use
BUFFER-COMPARE between before- and after-values
@param phDataset The handle of the ProDataset to read the screen values into
@param poScreenValues The screen values JsonObject including the "prods:before" property
*/
|
|
|
|
ReleaseEventDataset (character, handle, logical)
|
Releases the ProDataset of an event of a server-side event
handler service
Notes : SCL-6379. The cached dataset of the service is emptied, so that it
does not keep the rows of the event until the next event of the
service. A dataset that is not cached is deleted
@param pcServiceName The name of the server-side event handler service
@param phDataset The handle of the ProDataset returned by GetEventDataset
@param plCached Logical value indicating whether the dataset is the cached dataset of the service
*/
|
|
|
|
RenderLookupGridLayouts (ListUiAction)
|
Assigns the grid layout of the lookup dialog to the
UpdateLookupDefinitionUiActions of an SSEH response
Notes : SCL-6166. Rendered from the lookup definition (LookupDescriptor)
the same way SmartBusinessEntityLookupWebRendering renders the
gridLayout of a lookup in the JSON layout, including the
filterable columns of the LookupDialogFilterFields (SCL-6178).
A grid layout assigned
by the server-side event handler is kept
@param poUiActions The list of UI actions of the UiControl
*/
|
|
|
|
ResetDatasetChangeState (handle)
|
Resets the change-state (before-image records, row-states) of the
given ProDataset
Notes : The dataset of the event handler service may still carry
change-state from a previous event on the same session (SCL-5342,
the cached dataset of SCL-6379). Change-tracking is turned off and
pending changes are accepted, so that only the current request
populates the before-buffers
@param phDataset The handle of the ProDataset to reset
*/
|