Namespace: OpenEdge.DataAdmin.Server
Class
DataService
Parent classes:
Inherits: Progress.Lang.Object

/* Copyright (c) 2011,2012 by progress Software Corporation
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
Purpose:Handle data requests for a single service/database
This is the server side adapter
Syntax:new ServiceAdapter("sports2000").
Author(s):hdaniels
Created:Fri Aug 06 09:10:06 EDT 2010
Notes:Currently the name of the service is the name
of the database.
This is currently called directly from the client side ServiceAdapter
It could be run from a .p if the client is on a separate session




Method Summary
Options Name Purpose
OpenEdge.DataAdmin.Message.IUtilityResponse ExecuteUtility (IUtilityRequest)
FetchData (IFetchRequest)
FetchRow (character, character, character, handle, character, character, logical) /* short circuit and go straight to datasource request for single row in single table dataset */
IDataAccess GetDataAccess (character)
RetrieveData (IFetchRequest) /* 1 dummy compiler bug workaround e 2 garbage collection bug workaround */
OpenEdge.DataAdmin.Message.ISaveRequest SaveData (ISaveRequest)
ValidateConnection ()

Constructor Summary
Options Name Purpose
DataService ()
DataService (character)
DataService (character, character)

Event Summary
Options Name Purpose
RequestComplete (character, character)
RequestCompleted (character)

Property Summary
Options Name Purpose
OpenEdge.DataAdmin.Binding.IConnection Connection
OpenEdge.DataAdmin.DataAccess.DataAccessFactory DataAccessFactory
OpenEdge.DataAdmin.ServerCommand.ServerCommandFactory ServerCommandFactory
CHARACTER ServiceName


Method Detail
Top

OpenEdge.DataAdmin.Message.IUtilityResponse ExecuteUtility (IUtilityRequest)

Parameters:
msg OpenEdge.DataAdmin.Message.IUtilityRequest
Returns OpenEdge.DataAdmin.Message.IUtilityResponse
Top

FetchData (IFetchRequest)

Parameters:
msg OpenEdge.DataAdmin.Message.IFetchRequest
Top

FetchRow (character, character, character, handle, character, character, logical)

/* short circuit and go straight to datasource request for single row in single table dataset
Parameters:
pEntity CHARACTER
pId CHARACTER
pUrl CHARACTER
pDataset HANDLE
pField CHARACTER
pvalue CHARACTER
plazy LOGICAL
Top

IDataAccess GetDataAccess (character)

Parameters:
name CHARACTER
Returns IDataAccess
Top

RetrieveData (IFetchRequest)

/* 1 dummy compiler bug workaround e
2 garbage collection bug workaround
Parameters:
msg OpenEdge.DataAdmin.Message.IFetchRequest
Top

OpenEdge.DataAdmin.Message.ISaveRequest SaveData (ISaveRequest)

Parameters:
msg OpenEdge.DataAdmin.Message.ISaveRequest
Returns OpenEdge.DataAdmin.Message.ISaveRequest
Top

ValidateConnection ()



Constructor Detail
Top

DataService ()

Top

DataService (character)

Parameters:
pname CHARACTER
Top

DataService (character, character)

Parameters:
path CHARACTER
name CHARACTER


Event Detail
Top

RequestComplete (character, character)

Parameters:
contextid CHARACTER
serializename CHARACTER
Top

RequestCompleted (character)

Parameters:
name CHARACTER


Property Detail
Top

OpenEdge.DataAdmin.Binding.IConnection Connection

Returns OpenEdge.DataAdmin.Binding.IConnection
Top

OpenEdge.DataAdmin.DataAccess.DataAccessFactory DataAccessFactory

Returns OpenEdge.DataAdmin.DataAccess.DataAccessFactory
Top

OpenEdge.DataAdmin.ServerCommand.ServerCommandFactory ServerCommandFactory

Returns OpenEdge.DataAdmin.ServerCommand.ServerCommandFactory
Top

CHARACTER ServiceName

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15