Namespace: OpenEdge.DataAdmin.Binding.Query
Class
AbstractFilteredContext
Parent classes:
Inherits: OpenEdge.DataAdmin.Binding.Query.DataAdminQuery
Implements: OpenEdge.DataAdmin.Binding.IFilteredContext, OpenEdge.DataAdmin.Binding.IDataAdminContext

/* Copyright (c) 2010-2013 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:AbstractFilteredContext
Purpose:Provide filtered access to another context
Author(s):hdaniels
Created:Aug 2010
Notes:FilteredContext is a buffer and query used to
control and limit access to the Model DataAdminContext,
which really is a temp-table.
It has the same interface so that the collection
that uses it doesn't need to know the difference.




Method Summary
Options Name Purpose
AddChildrenTo (IContextTree, character, IRequestInfo)
AddChildrenTo (IContextTree, IRequestInfo)
LOGICAL AddEntity (IDataAdminElement)
AddFilterTo (IContextTree, IRequestInfo)
AddRowTo (IContextTree, rowid)
AddTableTo (IContextTree)
AddTableTo (IContextTree, IRequestInfo)
AddTreeTo (IContextTree)
AddTreeTo (IContextTree, character)
AddTreeTo (IContextTree, character, IRequestInfo)
AddTreeTo (IContextTree, IDataAdminContext, character, IRequestInfo)
AddTreeTo (IContextTree, IDataAdminContext, IRequestInfo)
AddTreeTo (IContextTree, IRequestInfo)
LOGICAL CanCopy (IDataAdminContext) /* subclasses with many to many must override this to check update context NOTE: this should not check if parent is matching. It should only tell if passed context can be transferred into my context based on TT and context state (islocal) */
LOGICAL CanFind (character)
LOGICAL CanFind (integer) /* end method. */
LOGICAL CanFindCurrentModel ()
LOGICAL CanFindCurrentModel (IDataAdminModel)
CHARACTER ColumnExpression (character, character, character) /** convert expression for QueryString - unknown = keep as is */
CHARACTER ColumnSortSource (character)
CHARACTER ColumnSource (character) /* qualify columns for QueryString parsing */
Copy (IDataAdminContext) /* subclasses with relational parent overrides this to call CopyFoParent in their context parent*/
HANDLE CreateAfterQuery (handle)
createAndOpenQuery ()
HANDLE CreateBeforeNavQuery (handle, handle)
HANDLE CreateBeforeUpdQuery (handle)
OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity ()
OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity (character)
OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity (integer)
OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity (IRequestInfo)
CreateRootRow ()
CreateRootRow (character)
CreateRootRow (integer)
CreateRootRow (IRequestInfo)
CreateRow (IDataAdminElement)
DataRefreshed (IFetchResponse)
LOGICAL Delete (character)
LOGICAL Delete (character[])
LOGICAL Delete (integer)
LOGICAL DeleteCurrent ()
INTEGER Deserialize (handle, integer, character)
Destroy ()
Export (character, character) /* method protected void ExportQuery(pcfile as char): define variable hOrigBuffer as handle no-undo. define variable hExpBuffer as handle no-undo. define variable hTbl as handle no-undo. hOrigBuffer = QueryHandle:get-buffer-handle (1). create temp-table htbl. /* hidden fields are inherited */ htbl:create-like(hOrigBuffer). htbl:temp-table-prepare (hOrigBuffer:name). htbl:default-buffer-handle:serialize-name = SerializeName. QueryHandle:get-first (). do while hOrigBuffer:avail: htbl:default-buffer-handle:buffer-create(). htbl:default-buffer-handle:buffer-copy (hOrigBuffer). QueryHandle:get-next (). end. htbl:default-buffer-handle:write-json ("File",pcfile,yes). finally: delete object htbl. end finally. end method. */
ExportJSON (character)
ExportLastSaved (character)
ExportLastSavedTree (character)
ExportNormalized (character)
LOGICAL Find (character)
LOGICAL Find (character[])
LOGICAL Find (integer)
LOGICAL Find (IRequestInfo)
OpenEdge.DataAdmin.IDataAdminElement FindEntity (character)
OpenEdge.DataAdmin.IDataAdminElement FindEntity (character[])
OpenEdge.DataAdmin.IDataAdminElement FindEntity (handle) /** find the entity (factory method ) Is considered internal. @param handle query or buffer that is positioned to the record to be found */
OpenEdge.DataAdmin.IDataAdminElement FindEntity (integer)
OpenEdge.DataAdmin.IDataAdminElement FindEntity (IRequestInfo) /** find in current data (no service request) NOTE: The RequestInfo is only for support of find on alternate values it is not stored in the instance and not used for collection filters */
OpenEdge.DataAdmin.IDataAdminElement FindEntityAtRow (integer) /** find the entity at row position (factory method ) @param number */
LOGICAL FindOrigin (rowid) /** FindOrigin - find row from origin rowid in row extracted with getchanges @param rOriginid rowid from row in change dataset */
ForeignKeyChanged (IRowChange)
HANDLE GetBufferHandles ()
CHARACTER GetChildJoinFields (character)
OpenEdge.DataAdmin.IDataAdminElement GetEntity (character)
OpenEdge.DataAdmin.IDataAdminElement GetEntity (integer)
OpenEdge.DataAdmin.IDataAdminElement GetEntity (IRequestInfo)
CHARACTER GetJoinExpression (character)
CHARACTER GetJoinFields (character)
CHARACTER GetJoinFieldsReversed (character)
Progress.Json.ObjectModel.JsonArray GetJsonArray ()
Progress.Json.ObjectModel.JsonObject GetJSONExport (IContextTree) /* optional call back from context tree. called when parse is complete return json to export instead of dataset return unknown to use standard dataset. write-json */
Progress.Json.ObjectModel.JsonArray GetJsonFieldArray (handle)
CHARACTER GetKeyValues (handle)
CHARACTER GetKeyWhere (character[]) /** get a where expression from the passed extent using Keyfields */
CHARACTER GetParentJoinFields (character)
ROWID GetQueryRowids (handle) /** query rowids (may not be ordered by tables) */
OpenEdge.DataAdmin.Message.IFetchRequest GetRequest ()
OpenEdge.DataAdmin.Message.ISaveRequest GetSaveRequest () /* @todo */
HandleParseError (Error, character)
LOGICAL HasChanges () /* @TODO implement logic for query */
Import (character, character)
Import (JsonObject, character) /** @TODO move to IDataAdminModel or make unsupported need to enure that all instances are realized from IDataAdminModel first. v11.0.0 some may still use query context */
ImportDelete (character)
ImportRow (character, character) /* single row import of the entity (flat no tree) */
ImportRow (character, character[]) /* single row import of the entity (flat no tree) */
ImportRow (character, integer) /* single row import of the entity (flat no tree) */
ImportRowTree (character, character) /** */
ImportRowTree (character, character[])
ImportRowTree (character, integer) /** */
ImportTree (character, character)
ImportTree (JsonObject, character)
INTEGER IndexOf (character)
Progress.Json.ObjectModel.JsonObject JSONRow (handle)
MergeChanges (handle)
MergeChanges (ISaveRequest)
NewContext (IDataAdminModel)
OnRowCreated ()
OnRowDeleted ()
LOGICAL OpenQuery ()
LOGICAL PositionToHandle (handle)
LOGICAL PositionToRow (integer)
ReadChild (IRow, JSONObject)
Progress.Json.ObjectModel.JsonObject ReadJsonRoot (character)
RefreshRow (character, character[])
LOGICAL Remove (handle)
RemoveUpdateBuffer (handle)
Reopen ()
RowCreated () /* method protected abstract void TableRefreshed().*/
RowDeleted ()
SaveCollection (IDataAdminCollection)
SaveRow (IDataAdminElement)
SearchContent (character, IDataAdminContext)
SearchRequest (IRequestInfo, character, character[], IDataAdminContext) /** override in child filtered queries*/
INTEGER Serialize (handle)
LOGICAL SetProperty (rowid, character, character) /** set a property @param rowid the rowid of the tt @param name property name @param value value */
LOGICAL SynchWithModel ()
LOGICAL SynchWithModel (IDataAdminModel) /** position the query to the row corresponding to the passed model The Model must define the same table as the first table in the query */
TableRefreshed (ITableResponse)
TransferMatchingRequests (IRequestInfo, IFetchRequest) /* cannot use Model - need BaseQuery here */
TransferMatchingRequests (IRequestInfo[], IFetchRequest)
CHARACTER TransformQuery (character)
ValidateChanges (handle)
ValidateDeletes (handle, handle)
ValidateQueryChanges (handle)

Constructor Summary
Options Name Purpose
AbstractFilteredContext (IDataAdminModel) /*** constructors ****************************************/
AbstractFilteredContext (IDataAdminModel, IRequestInfo)

Event Summary
Options Name Purpose
AddedToContext (IDataAdminModel)
ContextDeleted ()
ContextRefreshed (ITableResponse)
RowCreated () /*** events ****************************************/
RowDeleted ()

Property Summary
Options Name Purpose
LOGICAL CanGenerateCode
CHARACTER ContentId
INTEGER Count
HANDLE DatasetHandle
CHARACTER EntityFieldName
LOGICAL ExportWithRoot
CHARACTER Filter
CHARACTER Id
LOGICAL IsLocal
HANDLE IteratorHandle
OpenEdge.DataAdmin.Binding.DataAdminJsonUtil JsonUtil
HANDLE LastSavedDataset
LOGICAL Lazy
OpenEdge.DataAdmin.Binding.IDataAdminModel Model
CHARACTER Name
LOGICAL ReadOnly
OpenEdge.DataAdmin.IRequestInfo RequestInfo
ROWID RootId
CHARACTER SerializeName
OpenEdge.DataAdmin.IDataAdminService Service
HANDLE TableHandle
CHARACTER Tables
OpenEdge.DataAdmin.IDataAdminService TargetService
INT64 Total


Method Detail
Top

AddChildrenTo (IContextTree, character, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
pcCollections CHARACTER
pReq OpenEdge.DataAdmin.IRequestInfo
Top

AddChildrenTo (IContextTree, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
pReq OpenEdge.DataAdmin.IRequestInfo
Top

LOGICAL AddEntity (IDataAdminElement)

Parameters:
pentity OpenEdge.DataAdmin.IDataAdminElement
Returns LOGICAL
Top

AddFilterTo (IContextTree, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
pReq OpenEdge.DataAdmin.IRequestInfo
Top

AddRowTo (IContextTree, rowid)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
prid ROWID
Top

AddTableTo (IContextTree)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
Top

AddTableTo (IContextTree, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
pReq OpenEdge.DataAdmin.IRequestInfo
Top

AddTreeTo (IContextTree)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
Top

AddTreeTo (IContextTree, character)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
pcCollections CHARACTER
Top

AddTreeTo (IContextTree, character, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
pcCollections CHARACTER
pReq OpenEdge.DataAdmin.IRequestInfo
Top

AddTreeTo (IContextTree, IDataAdminContext, character, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
parentcntxt OpenEdge.DataAdmin.Binding.IDataAdminContext
pcCollections CHARACTER
pReq OpenEdge.DataAdmin.IRequestInfo
Top

AddTreeTo (IContextTree, IDataAdminContext, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
parentcntxt OpenEdge.DataAdmin.Binding.IDataAdminContext
pReq OpenEdge.DataAdmin.IRequestInfo
Top

AddTreeTo (IContextTree, IRequestInfo)

Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
pReq OpenEdge.DataAdmin.IRequestInfo
Top

LOGICAL CanCopy (IDataAdminContext)

/* subclasses with many to many must override this to check update context
NOTE: this should not check if parent is matching. It should only tell if
passed context can be transferred into my context based on TT and context state (islocal)
Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminContext
Returns LOGICAL
Top

LOGICAL CanFind (character)

Parameters:
c CHARACTER
Returns LOGICAL
Top

LOGICAL CanFind (integer)

/* end method.
Parameters:
i INTEGER
Returns LOGICAL
Top

LOGICAL CanFindCurrentModel ()

Returns LOGICAL
Top

LOGICAL CanFindCurrentModel (IDataAdminModel)

Parameters:
pModel OpenEdge.DataAdmin.Binding.IDataAdminModel
Returns LOGICAL
Top

CHARACTER ColumnExpression (character, character, character)

Purpose: convert expression for QueryString - unknown = keep as is
Parameters:
pcColumn CHARACTER
pcOperator CHARACTER
pcValue CHARACTER
Returns CHARACTER
Top

CHARACTER ColumnSortSource (character)

Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

CHARACTER ColumnSource (character)

/* qualify columns for QueryString parsing
Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

Copy (IDataAdminContext)

/* subclasses with relational parent overrides this to call CopyFoParent in their context parent
Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminContext
Top

HANDLE CreateAfterQuery (handle)

Parameters:
phAfterBuffer HANDLE
Returns HANDLE
Top

createAndOpenQuery ()

Top

HANDLE CreateBeforeNavQuery (handle, handle)

Parameters:
phBefore HANDLE
phOrigQuery HANDLE
Returns HANDLE
Top

HANDLE CreateBeforeUpdQuery (handle)

Parameters:
phBefore HANDLE
Returns HANDLE
Top

OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity ()

Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity (character)

Parameters:
c CHARACTER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity (integer)

Parameters:
i INTEGER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement CreateRootEntity (IRequestInfo)

Parameters:
pReq OpenEdge.DataAdmin.IRequestInfo
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

CreateRootRow ()

Top

CreateRootRow (character)

Parameters:
c CHARACTER
Top

CreateRootRow (integer)

Parameters:
i INTEGER
Top

CreateRootRow (IRequestInfo)

Parameters:
pReq OpenEdge.DataAdmin.IRequestInfo
Top

CreateRow (IDataAdminElement)

Parameters:
pentity OpenEdge.DataAdmin.IDataAdminElement
Top

DataRefreshed (IFetchResponse)

Parameters:
pResponse OpenEdge.DataAdmin.Message.IFetchResponse
Top

LOGICAL Delete (character)

Parameters:
pName CHARACTER
Returns LOGICAL
Top

LOGICAL Delete (character[])

Parameters:
name CHARACTER
Returns LOGICAL
Top

LOGICAL Delete (integer)

Parameters:
pid INTEGER
Returns LOGICAL
Top

LOGICAL DeleteCurrent ()

Returns LOGICAL
Top

INTEGER Deserialize (handle, integer, character)

Parameters:
phStream HANDLE
pimax INTEGER
pcMode CHARACTER
Returns INTEGER
Top

Destroy ()

Top

Export (character, character)

/*
method protected void ExportQuery(pcfile as char):
define variable hOrigBuffer as handle no-undo.
define variable hExpBuffer as handle no-undo.
define variable hTbl as handle no-undo.
hOrigBuffer = QueryHandle:get-buffer-handle (1).
create temp-table htbl.
/* hidden fields are inherited
htbl:create-like(hOrigBuffer). create-like(hOrigBuffer).
htbl:temp-table-prepare temp-table-prepare (hOrigBuffer:name).
htbl:default-buffer-handle:serialize-name default-buffer-handle:serialize-name = SerializeName.
QueryHandle:get-first get-first ().
do while hOrigBuffer:avail:
htbl:default-buffer-handle:buffer-create(). default-buffer-handle:buffer-create().
htbl:default-buffer-handle:buffer-copy default-buffer-handle:buffer-copy (hOrigBuffer).
QueryHandle:get-next get-next ().
end.
htbl:default-buffer-handle:write-json default-buffer-handle:write-json ("File",pcfile,yes).
finally:
delete object htbl.
end finally.
end method.
Parameters:
pcfile CHARACTER
pcHidefields CHARACTER
Top

ExportJSON (character)

Parameters:
pcfile CHARACTER
Top

ExportLastSaved (character)

Parameters:
pcfile CHARACTER
Top

ExportLastSavedTree (character)

Parameters:
pcfile CHARACTER
Top

ExportNormalized (character)

Parameters:
pcfilename CHARACTER
Top

LOGICAL Find (character)

Parameters:
c CHARACTER
Returns LOGICAL
Top

LOGICAL Find (character[])

Parameters:
c CHARACTER
Returns LOGICAL
Top

LOGICAL Find (integer)

Parameters:
i INTEGER
Returns LOGICAL
Top

LOGICAL Find (IRequestInfo)

Parameters:
pReq OpenEdge.DataAdmin.IRequestInfo
Returns LOGICAL
Top

OpenEdge.DataAdmin.IDataAdminElement FindEntity (character)

Parameters:
c CHARACTER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement FindEntity (character[])

Parameters:
c CHARACTER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement FindEntity (handle)

Purpose: find the entity (factory method )
Is considered internal.
Parameters:
phdl HANDLE
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement FindEntity (integer)

Parameters:
i INTEGER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement FindEntity (IRequestInfo)

Purpose: find in current data (no service request)
NOTE: The RequestInfo is only for support of find on alternate values
it is not stored in the instance and not used for collection filters
Parameters:
req OpenEdge.DataAdmin.IRequestInfo
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement FindEntityAtRow (integer)

Purpose: find the entity at row position (factory method )
Parameters:
piRow INTEGER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

LOGICAL FindOrigin (rowid)

Purpose: FindOrigin - find row from origin rowid in row extracted with getchanges
Parameters:
rOriginid ROWID
rowid from row in change dataset */
Returns LOGICAL
Top

ForeignKeyChanged (IRowChange)

Parameters:
pparentChange OpenEdge.DataAdmin.Binding.IRowChange
Top

HANDLE GetBufferHandles ()

Returns HANDLE
Top

CHARACTER GetChildJoinFields (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

OpenEdge.DataAdmin.IDataAdminElement GetEntity (character)

Parameters:
c CHARACTER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement GetEntity (integer)

Parameters:
i INTEGER
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

OpenEdge.DataAdmin.IDataAdminElement GetEntity (IRequestInfo)

Parameters:
preq OpenEdge.DataAdmin.IRequestInfo
Returns OpenEdge.DataAdmin.IDataAdminElement
Top

CHARACTER GetJoinExpression (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

CHARACTER GetJoinFields (character)

Parameters:
parenturl CHARACTER
Returns CHARACTER
Top

CHARACTER GetJoinFieldsReversed (character)

Parameters:
parenturl CHARACTER
Returns CHARACTER
Top

Progress.Json.ObjectModel.JsonArray GetJsonArray ()

Returns Progress.Json.ObjectModel.JsonArray
Top

Progress.Json.ObjectModel.JsonObject GetJSONExport (IContextTree)

/* optional call back from context tree.
called when parse is complete
return json to export instead of dataset
return unknown to use standard dataset. write-json
Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
Returns Progress.Json.ObjectModel.JsonObject
Top

Progress.Json.ObjectModel.JsonArray GetJsonFieldArray (handle)

Parameters:
hfld HANDLE
Returns Progress.Json.ObjectModel.JsonArray
Top

CHARACTER GetKeyValues (handle)

Parameters:
pBuffer HANDLE
Returns CHARACTER
Top

CHARACTER GetKeyWhere (character[])

Purpose: get a where expression from the passed extent using Keyfields
Parameters:
pcValues CHARACTER
Returns CHARACTER
Top

CHARACTER GetParentJoinFields (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

ROWID GetQueryRowids (handle)

Purpose: query rowids (may not be ordered by tables)
Parameters:
hquery HANDLE
Returns ROWID
Top

OpenEdge.DataAdmin.Message.IFetchRequest GetRequest ()

Returns OpenEdge.DataAdmin.Message.IFetchRequest
Top

OpenEdge.DataAdmin.Message.ISaveRequest GetSaveRequest ()

/* @todo
Returns OpenEdge.DataAdmin.Message.ISaveRequest
Top

HandleParseError (Error, character)

Parameters:
e Progress.Lang.Error
filter CHARACTER
Top

LOGICAL HasChanges ()

/* @TODO implement logic for query
Returns LOGICAL
Top

Import (character, character)

Parameters:
pcfile CHARACTER
pcMode CHARACTER
Top

Import (JsonObject, character)

Purpose: @TODO move to IDataAdminModel or make unsupported
need to enure that all instances are realized from IDataAdminModel first.
v11.0.0 some may still use query context
Parameters:
pJson Progress.Json.ObjectModel.JsonObject
pcMode CHARACTER
Top

ImportDelete (character)

Parameters:
pcfile CHARACTER
Top

ImportRow (character, character)

/* single row import of the entity (flat no tree)
Parameters:
pcfile CHARACTER
c CHARACTER
Top

ImportRow (character, character[])

/* single row import of the entity (flat no tree)
Parameters:
pcfile CHARACTER
c CHARACTER
Top

ImportRow (character, integer)

/* single row import of the entity (flat no tree)
Parameters:
pcfile CHARACTER
i INTEGER
Top

ImportRowTree (character, character)

Purpose:
Parameters:
pcfile CHARACTER
c CHARACTER
Top

ImportRowTree (character, character[])

Parameters:
pcfile CHARACTER
pc CHARACTER
Top

ImportRowTree (character, integer)

Purpose:
Parameters:
pcfile CHARACTER
i INTEGER
Top

ImportTree (character, character)

Parameters:
pcfile CHARACTER
c CHARACTER
Top

ImportTree (JsonObject, character)

Parameters:
pJson Progress.Json.ObjectModel.JsonObject
c CHARACTER
Top

INTEGER IndexOf (character)

Parameters:
c CHARACTER
Returns INTEGER
Top

Progress.Json.ObjectModel.JsonObject JSONRow (handle)

Parameters:
hBuffer HANDLE
Returns Progress.Json.ObjectModel.JsonObject
Top

MergeChanges (handle)

Parameters:
phChangeDataset HANDLE
Top

MergeChanges (ISaveRequest)

Parameters:
pResponse OpenEdge.DataAdmin.Message.ISaveRequest
Top

NewContext (IDataAdminModel)

Parameters:
sourcecntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

OnRowCreated ()

Top

OnRowDeleted ()

Top

LOGICAL OpenQuery ()

Returns LOGICAL
Top

LOGICAL PositionToHandle (handle)

Parameters:
phdl HANDLE
Returns LOGICAL
Top

LOGICAL PositionToRow (integer)

Parameters:
piRow INTEGER
Returns LOGICAL
Top

ReadChild (IRow, JSONObject)

Parameters:
parentRow OpenEdge.DataAdmin.Binding.IRow
json Progress.Json.ObjectModel.JsonObject
Top

Progress.Json.ObjectModel.JsonObject ReadJsonRoot (character)

Parameters:
pcFile CHARACTER
Returns Progress.Json.ObjectModel.JsonObject
Top

RefreshRow (character, character[])

Parameters:
pFields CHARACTER
pValues CHARACTER
Top

LOGICAL Remove (handle)

Parameters:
phdl HANDLE
Returns LOGICAL
Top

RemoveUpdateBuffer (handle)

Parameters:
phBuffer HANDLE
Top

Reopen ()

Top

RowCreated ()

/* method protected abstract void TableRefreshed().
Top

RowDeleted ()

Top

SaveCollection (IDataAdminCollection)

Parameters:
entity OpenEdge.DataAdmin.IDataAdminCollection
Top

SaveRow (IDataAdminElement)

Parameters:
entity OpenEdge.DataAdmin.IDataAdminElement
Top

SearchContent (character, IDataAdminContext)

Parameters:
pid CHARACTER
pqueryContext OpenEdge.DataAdmin.Binding.IDataAdminContext
Top

SearchRequest (IRequestInfo, character, character[], IDataAdminContext)

Purpose: override in child filtered queries
Parameters:
pRequestInfo OpenEdge.DataAdmin.IRequestInfo
pcParent CHARACTER
pcKeys CHARACTER
pqueryContext OpenEdge.DataAdmin.Binding.IDataAdminContext
Top

INTEGER Serialize (handle)

Parameters:
phStream HANDLE
Returns INTEGER
Top

LOGICAL SetProperty (rowid, character, character)

Purpose: set a property
Parameters:
pid ROWID
pname CHARACTER
pvalue CHARACTER
Returns LOGICAL
Top

LOGICAL SynchWithModel ()

Returns LOGICAL
Top

LOGICAL SynchWithModel (IDataAdminModel)

Purpose: position the query to the row corresponding to the passed model
The Model must define the same table as the first table in the query
Parameters:
pModel OpenEdge.DataAdmin.Binding.IDataAdminModel
Returns LOGICAL
Top

TableRefreshed (ITableResponse)

Parameters:
pResponse OpenEdge.DataAdmin.Message.ITableResponse
Top

TransferMatchingRequests (IRequestInfo, IFetchRequest)

/* cannot use Model - need BaseQuery here
Parameters:
pReq OpenEdge.DataAdmin.IRequestInfo
pMsg OpenEdge.DataAdmin.Message.IFetchRequest
Top

TransferMatchingRequests (IRequestInfo[], IFetchRequest)

Parameters:
pReq OpenEdge.DataAdmin.IRequestInfo
pMsg OpenEdge.DataAdmin.Message.IFetchRequest
Top

CHARACTER TransformQuery (character)

Parameters:
pKeyWhere CHARACTER
Returns CHARACTER
Top

ValidateChanges (handle)

Parameters:
phDs HANDLE
Top

ValidateDeletes (handle, handle)

Parameters:
phNavQuery HANDLE
phOrigQuery HANDLE
Top

ValidateQueryChanges (handle)

Parameters:
phQuery HANDLE


Constructor Detail
Top

AbstractFilteredContext (IDataAdminModel)

Parameters:
pModel OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

AbstractFilteredContext (IDataAdminModel, IRequestInfo)

Parameters:
pModel OpenEdge.DataAdmin.Binding.IDataAdminModel
pReq OpenEdge.DataAdmin.IRequestInfo


Event Detail
Top

AddedToContext (IDataAdminModel)

Parameters:
newContext OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

ContextDeleted ()

Top

ContextRefreshed (ITableResponse)

Parameters:
tblResponse OpenEdge.DataAdmin.Message.ITableResponse
Top

RowCreated ()

Top

RowDeleted ()



Property Detail
Top

LOGICAL CanGenerateCode

Returns LOGICAL
Top

CHARACTER ContentId

Returns CHARACTER
Top

INTEGER Count

Returns INTEGER
Top

HANDLE DatasetHandle

Returns HANDLE
Top

CHARACTER EntityFieldName

Returns CHARACTER
Top

LOGICAL ExportWithRoot

Returns LOGICAL
Top

CHARACTER Filter

Returns CHARACTER
Top

CHARACTER Id

Returns CHARACTER
Top

LOGICAL IsLocal

Returns LOGICAL
Top

HANDLE IteratorHandle

Returns HANDLE
Top

OpenEdge.DataAdmin.Binding.DataAdminJsonUtil JsonUtil

Returns OpenEdge.DataAdmin.Binding.DataAdminJsonUtil
Top

HANDLE LastSavedDataset

Returns HANDLE
Top

LOGICAL Lazy

Returns LOGICAL
Top

OpenEdge.DataAdmin.Binding.IDataAdminModel Model

Returns OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

CHARACTER Name

Returns CHARACTER
Top

LOGICAL ReadOnly

Returns LOGICAL
Top

OpenEdge.DataAdmin.IRequestInfo RequestInfo

Returns OpenEdge.DataAdmin.IRequestInfo
Top

ROWID RootId

Returns ROWID
Top

CHARACTER SerializeName

Returns CHARACTER
Top

OpenEdge.DataAdmin.IDataAdminService Service

Returns OpenEdge.DataAdmin.IDataAdminService
Top

HANDLE TableHandle

Returns HANDLE
Top

CHARACTER Tables

Returns CHARACTER
Top

OpenEdge.DataAdmin.IDataAdminService TargetService

Returns OpenEdge.DataAdmin.IDataAdminService
Top

INT64 Total

Returns INT64


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15