|
Options |
Name |
Purpose |
|
|
|
ActivateDefaultRelations ()
|
Enables the given ProDataset relations. Disables all other
parent-relations of the relation's child buffer
*/
|
|
|
|
ActivateRelations (character)
|
Enables the given ProDataset relations. Disables all other
parent-relations of the relation's child buffer
|
|
|
|
AssignKeyFieldValues (handle)
|
Invoked by DataAccess:CommitChanges within the database transaction
to optionally assign key field values for new records
|
|
|
|
AssignKeyValue (handle, INameValuesPair, integer)
|
Assigns the value at index piIndex of a Name...ValuesPair instance
to the corresponding field in the temp-table buffer
|
|
|
|
LOGICAL AttachDataSource (handle, handle, character)
|
Attaches a data-source object to a temp-table buffer in a ProDataSet
object
|
|
|
|
LOGICAL AttachDataSource (handle, handle, character, character)
|
Attaches a data-source object to a temp-table buffer in a ProDataSet
object
|
|
|
|
LOGICAL AttachDataSource (handle, handle, character, character, character)
|
Attaches a data-source object to a temp-table buffer in a ProDataSet
object
|
|
|
|
LOGICAL AttachDataSource (handle, IBufferDataSource)
|
Attaches a data-source object generated by an BufferDataSource
instance to a temp-table buffer in a ProDataSet object
|
|
|
|
LOGICAL AttachDataSource (handle, IBufferDataSource, character)
|
Attaches a data-source object generated by an BufferDataSource
instance to a temp-table buffer in a ProDataSet object
|
|
|
|
LOGICAL AttachDataSource (handle, IBufferDataSource, character, character)
|
Attaches a data-source object generated by an BufferDataSource
instance to a temp-table buffer in a ProDataSet object
|
|
|
|
LOGICAL AttachDataSource (handle, IBufferDataSource, character, character, character)
|
Attaches a data-source object generated by an BufferDataSource
instance to a temp-table buffer in a ProDataSet object
|
|
|
A
|
AttachDataSources ()
|
Attaches the DATA-SOURCE objects to the ProDataset Buffers
|
|
|
|
CHARACTER BuildDataSourceQueryString (handle, IFetchDataRequest, character)
|
Returns the Query String to be used for the DATA-SOURCE of a ProDataset
member buffer
|
|
|
|
CHARACTER BuildDataSourceQueryString (handle, IFetchDataRequest, IQueryExpressionWithSort)
|
Returns the Query String to be used for the DATA-SOURCE of a ProDataset
member buffer
|
|
|
|
Consultingwerk.OERA.BufferDataSource BuildInnerJoinDataSource (integer, integer, character)
|
Builds and returns an initialized BufferDataSource carrying the
source buffers needed by a single inner-join level fill (SCL-2351).
|
|
|
|
CHARACTER BuildInnerJoinLevelQuery (integer, integer, character, character, character, character, character)
|
Builds the QUERY-PREPARE string for an inner-join level fill
(SCL-2351).
|
|
|
|
CanFind (CanFindParameter)
|
Returns a TRUE value if a record is found that meets the specified
FIND criteria; otherwise it returns FALSE. CAN-FIND does not make
the record available to the Business Entity or it's caller.
|
|
|
|
CaptureInnerJoinLevelMetadata (handle, integer, character, character, character, character)
|
Captures per-level metadata required by the inner-join FetchData
path (SCL-2351) before the static data-sources are detached.
|
|
|
|
CheckForRecursiveRelationWithQuery ()
|
Checks if the ProDataset contains recursive relations and
the top-level-buffer is using a query with the DATA-SOURCE
|
|
|
|
CHARACTER CombineWhereAnd (character, character)
|
Returns the logical AND of two WHERE expressions, each
parenthesized; either side may be empty.
|
|
|
|
CommitChanges (handle)
|
This method is called from SaveChanges in the DA
to do the actual database commit and any transaction-related
validation logic for a buffer.
|
|
|
|
INTEGER ComputeLevelVisitOrder (integer, integer, character)
|
Computes the level visit order for the inner-join data-source
query of a single level fill (SCL-2351).
|
|
|
|
INTEGER ComputeMaxFilteredLevel (IFetchDataRequest, integer)
|
Returns the deepest level index (1-based) that carries a non-
empty user filter in the IFetchDataRequest:Queries CHR(1)
delimited list.
|
|
|
|
CountResultRecords (ICountRecordsRequest)
|
Counts the number of result records in the data source query
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character, character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character, character, character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character, character, character, character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character, character, character, character, character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (character, character, character, character, character, character, character, character, character, character)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
Consultingwerk.OERA.IBufferDataSource CreateBufferDataSource (IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec, IBufferSpec)
|
Creates a BufferDataSource
|
|
|
|
CustomizeFetchDataRequest (IFetchDataRequest)
|
Hook method to support customization the IFetchDataRequest or ICountRecordsRequest
|
|
|
|
LOGICAL DatasetBufferFill (handle, IFetchDataRequest)
|
Invokes the FILL method of a ProDataset member buffer
|
|
|
|
LOGICAL DatasetFill (handle, IFetchDataRequest)
|
Invokes the ProDataset FILL method
|
|
|
A
|
DefineReadEvents ()
|
TO-DO: Subscribe to ProDataset Event Handlers using SET-CALLBACK
as needed
|
|
|
A
|
DetachDataSources ()
|
Detaches the DATA-SOURCE objects to the ProDataset Buffers
|
|
|
|
EnableDataAccessQueryLogging ()
|
Enables DataAccessLogging
|
|
|
|
CHARACTER ExpandTables (character)
|
Expands the FetchDataRequest:Tables parameter, in case it contains
the * wild-card character
|
|
|
|
FetchData (IFetchDataRequest)
|
Fetch data from the data source
|
|
|
|
FetchDataByKeyTable (IFetchDataByKeyTableParameter)
|
Allows retrieve multiple DB records from a Business Entity based on
a temp-table with key values
|
|
|
|
FetchDataByKeyValues (FetchDataByKeysParameter)
|
Allows retrieve multiple DB records from a Business Entity based on
extents of key values for one or more fields
|
|
|
|
FetchDataByStaticQuery (IFetchDataByStaticQueryRequest)
|
Fetches data for single table, using a static query
|
|
|
|
FetchDataByTempTable (table-handle, IFetchDataByTempTableParameter)
|
Supports retrieve multiple DB records from a Business Entity based on
a join to an (external) temp-table
|
|
|
|
FetchDataEmptyDataset (IFetchDataRequest)
|
Empties the Dataset before the request
|
|
|
|
FetchDataFill (IFetchDataRequest, character, handle)
|
Invokes FILL on the Dataset or the given Dataset Buffer
|
|
|
|
FetchDataFillFindRowWhereBatch (IFetchDataRequest, handle, integer, character[])
|
Verify that a FindRowWhere on the server does always return
a full batch of records
|
|
|
|
FetchDataFillRepositionTables (IFetchDataRequest, character)
|
FILL's buffers with REPOSITION parent-relations
|
|
|
|
FetchDataHandleErrorStatus ()
|
Handles ERROR-STATUS after the FetchData's FILL
|
|
|
|
FetchDataInnerJoins (IFetchDataRequest)
|
Implements the inner-join variant of FetchData (SCL-2351).
|
|
|
|
FetchDataInnerJoinsCleanup ()
|
Releases the dynamic BufferDataSource instances built for the
UseInnerJoins variant of FetchData.
|
|
|
|
FetchDataInnerJoinsValidate (IFetchDataRequest)
|
Validates the applicability of the UseInnerJoins flag on the
current request.
|
|
|
|
FetchDataInternal (IFetchDataRequest, logical)
|
Fetch data from the data source
|
|
|
|
FetchDataLogNextRowid (handle)
|
Logs the NEXT-ROWID and LAST-BATCH property of the fill-buffer
|
|
|
|
FetchDataLogRestartRowid (handle)
|
Logs the RESTART-ROWID of the fill-buffer
|
|
|
|
FetchDataPrepareChildTableQuery (IFetchDataRequest, handle, integer, character)
|
Prepares the query for a child table
|
|
|
|
FetchDataPrepareParentTableQuery (IFetchDataRequest, handle, integer, integer, character, IQueryRowIdentifier, character, FindRecordResult, handle)
|
Prepares the query for a parent table
|
|
|
|
FetchDataRestoreBatchSizes (integer[])
|
Restores the Batch-Size of the ProDataset buffers
|
|
|
|
FetchDataSetBatchContext (handle, character)
|
Updates the batch context with the next-rowids
|
|
|
|
FetchDataSetFillMode (IFetchDataRequest, handle)
|
Sets the FILL-MODE for a Temp-Table Buffer in preparation for
a FILL() method call
|
|
|
|
FetchDataUpdateRequestContext (IFetchDataRequest, integer, character, IQueryRowIdentifier, character, FindRecordResult)
|
Updates the NextContext, PrevContext and BatchContext properties
of the IFetchDataInstance
|
|
|
|
INTEGER FindFirstTopLevelComma (character, integer)
|
Returns the position of the first top-level comma in a query
fragment, skipping commas inside parentheses or string literals.
|
|
|
|
CHARACTER FindIndexByLeadingFields (handle, character)
|
Finds the first index of a buffer's table whose leading fields
match the given comma-separated list of field names.
|
|
|
|
ROWID FindRecord (character, handle, character, integer, integer)
|
Finds a record in the data source query and returns the ROWID ARRAY
(used as RESTART-ROWID in FetchData)
|
|
|
|
Consultingwerk.OERA.FindRecordResult FindRecord2 (character, handle, character, integer, integer)
|
Finds a record in the data source query and returns the ROWID ARRAY
(used as RESTART-ROWID in FetchData)
|
|
|
|
Consultingwerk.OERA.FindRecordResult FindRecord2 (character, handle, character, integer, integer, logical)
|
Finds a record in the data source query and returns the ROWID ARRAY
(used as RESTART-ROWID in FetchData)
|
|
|
|
Consultingwerk.OERA.FindRecordResult FindRecord2 (character, handle, IQueryExpressionWithSort, integer, integer, logical)
|
Finds a record in the data source query and returns the ROWID ARRAY
(used as RESTART-ROWID in FetchData)
|
|
|
|
FindSourceBuffer (handle, logical)
|
Locates the matching record in the first source buffer of the given
Dataset Buffer
|
|
|
|
CHARACTER ForeignKeyIndexForLevel (handle)
|
Returns the name of the database index on the level's primary
source buffer whose leading fields match the parent-relation
foreign-key fields.
|
|
|
|
CHARACTER GetDefinedBufferName (character)
|
Finds a matching buffer name in the current dataset, and returns the defined buffer name
|
|
|
|
CHARACTER GetDefinedBufferName (integer)
|
Finds a matching buffer name in the current dataset, and returns the defined buffer name
|
|
|
|
CHARACTER GetKeyDataType (INameValuesPair)
|
Returns the ABL primitive data type for a Name...ValuesPair instance
|
|
|
|
INTEGER GetKeyValuesExtent (INameValuesPair)
|
Returns the extent of the Values property of a Name...ValuesPair
instance based on its concrete type
|
|
|
|
HandleKnownCommitErrors (SysError, character, handle)
|
Handles known commit errors and adds error messages to the before buffer
Notes : Extracted from CommitChanges (SysError catch block)
@param poSysErr The SysError thrown by SAVE-ROW-CHANGES
@param pcReturnValue The RETURN-VALUE after SAVE-ROW-CHANGES
@param phBeforeBuff The handle of the before buffer
*/
|
|
|
|
HandleRecordLockedError (handle, SysError)
|
Handles a record locked error invoked during the SAVE-ROW-CHANGES
method
|
|
|
|
InitializeDataAccessQueryLogging ()
|
Initializes DataAccessLogging
|
|
|
|
CHARACTER InnerJoinSourceRelationExpression (handle)
|
Builds the inner-join WHERE expression that relates a child
temp-table's source buffer(s) to its parent temp-table's source
buffer(s), based on the dataset's data-relation foreign-fields.
|
|
|
|
HANDLE InsertToDataSourceQuery (handle, IFetchDataRequest, character)
|
Creates a new Query to be used as a DATA-SOURCE for a ProDataset
member buffer
|
|
|
|
HANDLE InsertToDataSourceQuery (handle, IFetchDataRequest, IQueryExpressionWithSort)
|
Creates a new Query to be used as a DATA-SOURCE for a ProDataset
member buffer
|
|
|
|
InvokeCommitChangesCallback (CommitCallbackTypeEnum, handle)
|
Invokes a CommitChangesCallback
|
|
|
|
LOGICAL IsQueryFlagPresent (character, character)
|
Returns if the passed in field (prefixed with the temp-table)
is referenced in a list of query flag fields and is contained in the
FetchDataRequest's QueryExpression
|
|
|
|
LogCurrentRowModifiedIssue (handle)
|
Logs details about "current row has been modified
by another user to the current logfile
|
|
|
|
LogInnerJoinEffectiveQuery (integer, character, character, character)
|
Writes a log line that shows the effective inner-join query
for a level - the QUERY-PREPARE string with the parent-temp-
table relation join spliced into the first WHERE clause.
|
|
|
|
LogUnableToFindDbBufferIssue (handle, Error)
|
Logs details about "Unable to find record for db buffer "name" during
SAVE-ROW-CHANGES" to the current logfile
|
|
|
|
Consultingwerk.OERA.IDSQueryString NewDSQueryString (character, character)
|
Factory method for the DSQueryString objects
|
|
|
|
Consultingwerk.OERA.IDSQueryString NewDSQueryString (character, character, logical)
|
Factory method for the DSQueryString objects
|
|
|
|
Consultingwerk.OERA.IDSQueryString NewDSQueryString (IQueryExpressionWithSort, character, logical)
|
Factory method for the DSQueryString objects
|
|
|
|
Consultingwerk.OERA.IDSQueryString NewDSQueryStringForKeyValueTable (character, character, logical, IFetchDataByKeyTableParameter, character)
|
Factory method for the DSQueryStringForKeyValueTable objects
|
|
|
|
Consultingwerk.OERA.IDSQueryString NewDSQueryStringForTempTable (character, character, logical, IFetchDataByTempTableParameter)
|
Factory method for the DSQueryStringForTempTable objects
|
|
|
|
Consultingwerk.IQueryRowIdentifier NewQueryRowIdentifier ()
|
Overridable factory method to create an instance of the IQueryRowIdentifier
class
|
|
|
|
OnAfterSaveChanges (EventArgs)
|
Raises the AfterSaveChanges
|
|
|
|
OnAfterSavingRowChanges (SaveRowChangesEventArgs)
|
Raises the AfterSavingRowChanges event
|
|
|
|
OnBeforeSaveChanges (EventArgs)
|
Raises the BeforeSaveChanges
|
|
|
|
OnBeforeSavingRowChanges (SaveRowChangesEventArgs)
|
Raises the BeforeSavingRowChanges event
|
|
|
|
OnHandleCommitError (HandleCommitErrorEventArgs)
|
Raises the HandleCommitError
|
|
|
|
OnHandleCommitSysError (HandleCommitErrorEventArgs)
|
Raises the HandleCommitSysError
|
|
|
|
CHARACTER ParentRelationSourceQueryString (handle)
|
Returns the query string matching the DATA-RELATION field pairs
referencing the source fields on the parent table
|
|
|
|
Consultingwerk.IQueryExpression ParseTopBufferRequestQuery (IFetchDataRequest)
|
Parses the Query of the top-buffer from the current request
|
|
|
|
ProcessFetchDataRequestVariables (IFetchDataRequest)
|
Expands variables in the FetchDataRequest:Queries
|
|
|
|
RepositionBackwards (handle, integer)
|
Reposition the given query backwards by the given number of records
|
|
|
|
ROWID RepositionBackwards (handle, rowid[], integer)
|
Evaluates the ROWID from which the ProDataset FILL operation
needs to start on a backwards fill operation
|
|
|
|
SaveBuffer (handle)
|
Called from saveChanges to process changes
for a single DataSet temp-table buffer.
|
|
|
|
SaveChanges ()
|
Save changes to physical storage
|
|
|
|
SaveRowChanges (handle)
|
Overridable method that executes SAVE-ROW-CHANGES on the before buffer
|
|
|
|
SetDatasetBufferCallback (handle, character, character)
|
Sets's a ProDataset Buffer Callback-Method (BEFORE-FILL, AFTER-FILL, BEFORE-ROW-FILL, ...)
|
|
|
|
SetDatasetBufferCallback (handle, character, character, Object)
|
Sets's a ProDataset Buffer Callback-Method (BEFORE-FILL, AFTER-FILL, BEFORE-ROW-FILL, ...)
|
|
|
|
SetDatasetCallback (character, character)
|
Sets's a ProDataset Callback-Method (BEFORE-FILL, AFTER-FILL)
|
|
|
|
SetDatasetCallback (character, character, Object)
|
Sets's a ProDataset Callback-Method (BEFORE-FILL, AFTER-FILL)
|
|
|
|
Consultingwerk.IQueryRowIdentifier SkipRecords (integer, handle)
|
Returns the Query Row Identifier (ROWID) to be used when navigating
that DATA-SOURCE query based on the Skip argument of the FetchDataRequest
|
|
|
|
Consultingwerk.IQueryRowIdentifier SkipRecords (integer, handle, logical)
|
Returns the Query Row Identifier (ROWID) to be used when navigating
that DATA-SOURCE query based on the Skip argument of the FetchDataRequest
|
|
|
A
|
CHARACTER SourceColumn (character, character)
|
Returns the database field name matching a temp-table field name
contained in a consumers query string (query string vs. temp-table
definition)
|
|
|
|
CHARACTER SourceColumn2 (character, character)
|
Wrapper to the SourceColumn method - ensures that Data-Sources are attached
|
|
|
A
|
CHARACTER SourceDefaultQuery (character)
|
Returns the base query string used to retrieve data for the temp
tables. This query string will be appended by the query provided by
the consumer (FetchDataRequest object).
|
|
|
|
SplitInnerJoinLevelFragment (character, character, character, character)
|
Splits the base query string returned by SourceDefaultQuery for
a single temp-table into the primary source buffer name, the
primary buffer's WHERE expression (without the leading WHERE
keyword), and the auxiliary-join remainder.
|
|
|
|
CHARACTER StripQueryEnvelope (character)
|
Strips the leading "for [each] " envelope and trailing
" indexed-reposition" from a query string.
|
|
|
|
SuggestDataSourceIndex (handle, character)
|
Method allows enforcing specific indexes when populating child record
of a data-relation. When the parent buffer and the child buffer are
FILL'ed during the ProDataset:FILL() operation, we ensure the given index
|
|
|
|
VerifyRequestTables (character, IFetchDataRequest)
|
Verifies tables from the current FetchDataRequest
|