|
|
|
Progress.Json.ObjectModel.JsonObject GetDataSourceFields (character)
|
Returns details about a repository data source and its fields
Notes : The result contains the IDataSourceInfo properties and a field map keyed by short field name
@param pcDataSourceName The data source name to inspect
@return JsonObject containing data source details and field metadata
*/
|
|
|
|
Progress.Json.ObjectModel.JsonObject GetRepositoryAttributeDetails ()
|
Returns repository attribute details for all attributes
Notes : Reads all records from the AttributeBusinessEntity
@return JsonObject containing one entry per repository attribute
*/
|
|
|
|
Progress.Json.ObjectModel.JsonObject GetRepositoryInstanceEvents (character, character)
|
Returns the events registered against the object type of an instance
Notes : Events are repository attributes with the PropertyOrEvent flag set to
false. The result is keyed by event name; the value of each entry is the
registered event handler (a string), or null when no handler is registered.
@param pcContainerName The name of the container (form or viewer) holding the instance
@param pcInstanceName The name of the instance inside the container
@return JsonObject keyed by event name with the registered event handler value
*/
|
|
|
|
Progress.Json.ObjectModel.JsonObject GetRepositoryObject (character)
|
Returns details about a repository object master
Notes : Uses ObjectMasterDatasetModel and enriches the result with design-time attributes and events
@param pcObjectName The object name to load
@return JsonObject containing object details
*/
|
|
|
|
CHARACTER SetRepositoryInstanceEvent (character, character, character, character, character)
|
Registers a server-side event handler for an event of an instance
Notes : The event handler value is stored as 'server:<class name>:<method name>`.
When pcHandlerClass is empty the container's ServerSideEventHandler attribute
is used; when pcHandlerClass is provided and the container does not have a
ServerSideEventHandler value yet, it is stored on the container. When
pcMethodName is empty '<Instance Name>@lt;Event Name>Handler' is used.
@param pcContainerName The name of the container (form or viewer) holding the instance
@param pcInstanceName The name of the instance inside the container
@param pcEventName The name of the event to register the handler for
@param pcHandlerClass The name of the server-side event handler class (optional)
@param pcMethodName The name of the event handler method (optional)
@return An informal message describing the registered event handler
*/
|
|
|
|
Progress.Json.ObjectModel.JsonObject UpdateRepositoryObject (JsonObject)
|
Updates or creates a repository object based on an updated JSON structure
Notes : The input JsonObject is expected to match the structure returned by GetRepositoryObject.
@param poObject The updated repository object JSON
@return JsonObject with update result information
*/
|