Adaptive Framework 0.9.0

retrieve_objects_to_response

The following is a list of properties for the function retrieve_objects_to_response:

PropertyValue
briefRetrieve adaptive objects to a response
categoryadaptor
descriptionThis function retrieves adaptive objects from an adaptor, specified by adaptorId, which match the type specified by objectType. This function is only allowed when called during a request with content type "application/x-afw". An "_AdaptiveResponse_" object is written to the request's response as each object is retrieved. This "_AdaptiveResponse_" object has a "result" property containing the retrieved object and a "intermediate" property set to true. The optional queryCriteria is used to filter the adaptive objects returned. Use the objectOptions parameter to influence how the objects are viewed. Options, specific to the adaptorId, can be optionally supplied.
functionIdretrieve_objects_to_response
functionLabelretrieve_objects_to_response
parameters[ { "brief": "Id of adaptor", "dataType": "string", "description": "Id of adaptor containing objects to retrieve.", "name": "adaptorId" }, { "brief": "Id of object type", "dataType": "string", "description": "Id of adaptive object type of objects to retrieve.", "name": "objectType" }, { "brief": "Query criteria", "dataType": "object", "dataTypeParameter": "_AdaptiveQueryCriteria_", "description": "This is the query criteria for objects to be retrieved. If not specified, all objects will be retrieved.", "name": "queryCriteria", "optional": true }, { "brief": "Object options", "dataType": "object", "dataTypeParameter": "_AdaptiveObjectOptions_", "description": "Object view options. See /afw/_AdaptiveObjectType_/_AdaptiveObjectOptions_ for more information.", "name": "options", "optional": true }, { "brief": "Adaptor specific", "dataType": "object", "description": "This is an optional object parameter with an objectType determined by the adaptorType associated with the adaptorId parameter. If the adaptorType supports this parameter, adaptor afw will have an adaptive object type with an id of:\n\n_AdaptiveAdaptorTypeSpecific_${adaptorType}_retrieve_objects\n\nWhere ${adaptorType} is the adaptor type id.", "name": "adaptorTypeSpecific", "optional": true } ]
returns{ "dataType": "null" }