Namespace: OpenEdge.DataAdmin.DataSource
Type: Interface IDataSource
Parent Classes:
Inherits: OpenEdge.DataAdmin.Lang.IQueryMap


/* Copyright (c) 2011 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.
File:IDataSource
Author(s):hdaniels
Created:Thu Sep 03 20:25:34 EDT 2009



Method Summary
  Options Name Purpose
  LOGICAL Attach (handle)
  LOGICAL Fill ()
  LOGICAL Prepare (handle)
  LOGICAL Prepare (handle, character, character) /* prepare the query with a client query expression @DEPRECATED - The DataAccess should now use Prepare (handle,ITableRequest) The IFetchMessage has a GetTableRequest that always returns a an object also for blank query Parameters @param buffer - client temp-table buffer in dataset @param clientquery - query from client expressed on the temp-table buffer must in principle be passed if active parent relation or builtquery is empty, but an empty query is valid when requesting all data @param pcjoin - optional join to a parent */
  LOGICAL Prepare (handle, ITableRequest) /* prepare the query with cliionet request infor for the table Parameters @param buffer - client temp-table buffer in dataset @param tableRequest - ITableRequest with query and batching info */
  LOGICAL Refresh (handle) /** refresh row-state 0 data */
  LOGICAL Refreshbuffers (handle) /** this method refresh the CDC create input buffer */
  LOGICAL Save (handle) /** save all changes */
  LOGICAL Save (handle, handle, integer)
  LOGICAL Save (handle, integer) /** save changes of the specified state @param state use compiler constants row-created, row-modified or row-deleted */

Property Summary
  Options Name Purpose
  INTEGER BatchSize
  OpenEdge.DataAdmin.DataAccess.IDataAccess DataAccess
  Progress.Lang.Error FillError
  CHARACTER FillMode
  INTEGER NumRecords
  CHARACTER PhysicalTables
  CHARACTER SaveChildNames
  CHARACTER Table
  CHARACTER Tables
  CHARACTER Url


Method Detail
Top

LOGICAL Attach (handle)

Parameters:
bufferHandle HANDLE
 
Returns LOGICAL
 
Top

LOGICAL Fill ()

Returns LOGICAL
 
Top

LOGICAL Prepare (handle)

Parameters:
bufferHandle HANDLE
 
Returns LOGICAL
 
Top

LOGICAL Prepare (handle, character, character)

/* prepare the query with a client query expression
@DEPRECATED - The DataAccess should now use Prepare (handle,ITableRequest)
The IFetchMessage has a GetTableRequest that always returns a
an object also for blank query
Parameters
must in principle be passed if active parent relation or builtquery is empty,
but an empty query is valid when requesting all data
Parameters:
bufferHandle HANDLE
 
queryString CHARACTER
 
parentJoin CHARACTER
 
Returns LOGICAL
 
Top

LOGICAL Prepare (handle, ITableRequest)

/* prepare the query with cliionet request infor for the table
Parameters
Parameters:
phBuffer HANDLE
 
req OpenEdge.DataAdmin.Message.ITableRequest
 
Returns LOGICAL
 
Top

LOGICAL Refresh (handle)

Purpose: refresh row-state 0 data
Parameters:
bufferHandle HANDLE
 
Returns LOGICAL
 
Top

LOGICAL Refreshbuffers (handle)

Purpose: this method refresh the CDC create input buffer
Parameters:
bufferHandle HANDLE
 
Returns LOGICAL
 
Top

LOGICAL Save (handle)

Purpose: save all changes
Parameters:
bufferHandle HANDLE
 
Returns LOGICAL
 
Top

LOGICAL Save (handle, handle, integer)

Parameters:
phparentbuffer HANDLE
 
bufferHandle HANDLE
 
piState INTEGER
 
Returns LOGICAL
 
Top

LOGICAL Save (handle, integer)

Purpose: save changes of the specified state
Parameters:
bufferHandle HANDLE
 
piState INTEGER
 
Returns LOGICAL
 


Property Detail
Top

INTEGER BatchSize

Returns INTEGER
 
Top

OpenEdge.DataAdmin.DataAccess.IDataAccess DataAccess

Returns OpenEdge.DataAdmin.DataAccess.IDataAccess
 
Top

Progress.Lang.Error FillError

Returns Progress.Lang.Error
 
Top

CHARACTER FillMode

Returns CHARACTER
 
Top

INTEGER NumRecords

Returns INTEGER
 
Top

CHARACTER PhysicalTables

Returns CHARACTER
 
Top

CHARACTER SaveChildNames

Returns CHARACTER
 
Top

CHARACTER Table

Returns CHARACTER
 
Top

CHARACTER Tables

Returns CHARACTER
 
Top

CHARACTER Url

Returns CHARACTER