Namespace: OpenEdge.Web.DataObject
Class
ClassOperationHandler
Parent classes:
Inherits: OpenEdge.Web.DataObject.OperationHandler

/* *************************************************************************************************************************
Copyright (c) 2016-2019 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:ClassOperationHandler
Purpose:Delegate for mapped file operations for the DOH
Author(s):pjudge
Created:Fri May 20 12:15:00 EDT 2016




Method Summary
Options Name Purpose
INTEGER Execute (IWebRequest, Object, IHttpResponse, DataObjectService, MappedOperation, Object) /* Executes the operation. This is a big, big, huge ugly method because we have to keep the variables used by the ParameterList object in scope - particularly for output values - and so cannot create the param list anywhere but in the same method in which we invoke the method. @param IWebRequest The request that resulting in the exception @param P.L.Object The message body of the incoming request. Typically will be transformed from bytes into something useful; may also have an envelope removed. @param IHttpResponse The current response object, if any @param DataObjectService The service being operated on @param MappedOperation The mapped operation @param P.L.Object The business entity (business logic service) @return integer A non-null status code use to deal with errors */
Progress.Reflect.Method GetEntityMethod (Object, character, ParameterList) /* Attempts to find a method by reflection, using the name and # parameters. Methods must be public and instance-based @param P.L.Object The business logic code @param character The name of the method @param ParameterList The list of parameters for this operation @return Method A matching method, or NULL if none can be found. */

Constructor Summary
Options Name Purpose
ClassOperationHandler ()


Method Detail
Top

INTEGER Execute (IWebRequest, Object, IHttpResponse, DataObjectService, MappedOperation, Object)

/* Executes the operation.
This is a big, big, huge ugly method because we have to keep the variables used
by the ParameterList object in scope - particularly for output values -
and so cannot create the param list anywhere but in the same method in
which we invoke the method.
will be transformed from bytes into something useful; may also have an envelope removed.
Parameters:
poRequest OpenEdge.Web.IWebRequest
poMessageBody Progress.Lang.Object
poResponse OpenEdge.Net.HTTP.IHttpResponse
pService OpenEdge.Web.DataObject.DataObjectService
poOperation OpenEdge.Web.DataObject.MappedOperation
poEntity Progress.Lang.Object
Returns INTEGER
integer A non-null status code use to deal with errors
Top

Progress.Reflect.Method GetEntityMethod (Object, character, ParameterList)

/* Attempts to find a method by reflection, using the name and # parameters.
Methods must be public and instance-based
Parameters:
pEntity Progress.Lang.Object
pMethodName CHARACTER
pParams Progress.Lang.ParameterList
Returns Progress.Reflect.Method
Method A matching method, or NULL if none can be found.


Constructor Detail
Top

ClassOperationHandler ()



Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15