|
Options |
Name |
Purpose |
|
|
AddRelations (handle, JsonArray)
|
/* Adds relations between TTs in a dataset
@param handle The dataset
@param JsonArray An array of relations */
|
|
|
OpenEdge.Web.DataObject.OperationOptions CreateOperationOptions (JsonObject)
|
/* Creates an Operations Options object from the JSON config. This method will always return an instance,
even if an invalid object is passed in.
@param JsonObject The JSON defining the options
@return OperationOptions A usable options object. */
|
|
|
HANDLE CreateTempTable (character, JsonObject)
|
/* Creates a temp-table from the JSON config in the mapping file
@param character The temp-table name
@param JsonObject The JSON containing the table definition
@return handle A prepared table-handle */
|
|
|
LOGICAL LoadFromFile (character, character, handle)
|
/* Loads a named service from a file
@param character The service name to load
@param character A version to load
@param handle The FILE-INFO handle for the file
@return logical TRUE if the named service was found */
|
|
|
LoadFromFile (handle)
|
/* Loads all services from the file
@param handle The FILE-INFO handle for the file. */
|
|
|
INTEGER LoadOperations (DataObjectService, JsonObject)
|
/* Converts a JSON map into internal structures
@param DataObjectService The service
@param JsonObject The operation map
@return integer The number of operations loaded */
|
|
|
LoadSchemaOptions (SchemaOption, JsonObject)
|
/* Loads schema options for a given schema and its children
@param SchemaOption The current option to populate
@param JsonObject The config data from the MAP/GEN file */
|
|
|
INTEGER LoadSchemas (DataObjectService, JsonObject)
|
/* Converts a JSON map into internal structures
@param DataObjectService The service
@param JsonObject The set of schema
@return integer The number of schemas loaded */
|
|
|
LoadService (character, character, JsonObject)
|
/* Loads and registers a single service name/version service from JSON
@param character The service name
@param JsonObject The service definition */
|
|
|
LoadServiceOptions (DataObjectService, JsonObject)
|
/** Loads service options from JSON.
@param DataObjectService The service
@param JsonObject The service options */
|
|
|
LoadServiceWriters (DataObjectService, JsonArray)
|
/** Loads service writers from JSON.
@param DataObjectService The service
@param JsonObject The service options */
|
|
|
RegisterAllFromFolder (character)
|
/* Registers all services found in a given folder. Can be used at agent startup
@param character An extant folder */
|
|
|
RegisterFromFile (character)
|
/* Registers all services found in a given file. Can be used at agent startup
@param character An extant file */
|
|
|
RegisterFromFile (character, character)
|
/* Registers a named service found in a given file. Can be used at agent startup
@param character A service name
@param character An extant file */
|
|
|
OpenEdge.Web.DataObject.DataObjectService RegisterService (character, character, JsonObject, JsonObject, JsonObject)
|
/* Register a service in this handler.
@param character (mandatory) The service name.
@param JsonObject (recommended) An operation map for the service.
@param JsonObject (optional) A catalog for the service. Optional since it may exist on disk */
|
|
|
LOGICAL TryFindService (character, character)
|
/* Indicates whether a named service is available. Will attempt to
locate a service map if it is not yet registered, and will register
it if one can be found. The search path for finding the service mapping
files is
1. Look in the webapp's WEB-INF/openedge folder first
2. Look in the instance's /openedge folder next
3. Look in the rest of PROPATH
@param character The name of the mapped service
@param character The name of the webapp currently executed
@return logical TRUE if the service exists */
|
|
|
LOGICAL TryFindService (character, character, character)
|
/* Indicates whether a named service is available. Will attempt to
locate a service map if it is not yet registered, and will register
it if one can be found. The search path for finding the service mapping
files is
1. Look in the webapp's WEB-INF/openedge folder first
2. Look in the instance's /openedge folder next
3. Look in the rest of PROPATH
@param character The name of the mapped service
@param character The version of the service
@param character The name of the webapp currently executed
@return logical TRUE if the service exists */
|