|
|
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
LOGICAL AddJoinTable (IDataAdminContext) |
/** add join buffer - called from columnSource overrides when parent columns
are added to query
not very robust - assumes BaseQuery and Tables is set
*/ |
|||||
|
LOGICAL CanFind (character) |
|
|||||
|
CHARACTER ColumnSortSource (character) |
|
|||||
|
CHARACTER ColumnSource (character) |
/* qualify columns for QueryString parsing */ |
|||||
|
LOGICAL CompareValues (character[], character[]) |
|
|||||
|
Copy (IDataAdminContext) |
/*** methods ****************************************/ |
|||||
|
HANDLE CreateBeforeNavQuery (character, handle, handle) |
|
|||||
|
HANDLE CreateBeforeUpdQuery (character, handle) |
|
|||||
|
CreateRow (IDataAdminElement) |
|
|||||
|
LOGICAL Delete (character) |
|
|||||
|
LOGICAL Find (character) |
|
|||||
|
ForeignKeyChanged (IRowChange) |
|
|||||
|
CHARACTER GetBeforeQueryString (character, handle) |
|
|||||
|
HANDLE GetBufferHandles () |
|
|||||
|
CHARACTER GetJoinFields () |
|
|||||
|
CHARACTER GetKeyValues (character) |
/* convert collection single key to parent context multiple key values using parent query join info */ |
|||||
|
OpenEdge.DataAdmin.Binding.IRow GetParentRow () |
|
|||||
|
OpenEdge.DataAdmin.Message.IFetchRequest GetQueryRequest () |
/* override if message needs to override to add additional/different tables for join */ |
|||||
|
OpenEdge.DataAdmin.Message.IFetchRequest GetRequest () |
|
|||||
|
Import (character, character) |
/* single table import of the entity (flat - no tree)
NOTE: not generic - must have overrides for readForParent and readNewForParent
with foreign key not in json all records will be imported with
blank foreign key and seen as new records. We cannot copy these
as-is to the existing since all values may not be present */ |
|||||
|
Import (JsonObject, character) |
/* single table import of the entity (flat - no tree)
NOTE: not generic - must have overrides for readForParent and readNewForParent
with foreign key not in json all records will be imported with
blank foreign key and seen as new records. We cannot copy these
as-is to the existing since all values may not be present
- The parentserializeName cases would also find root and read children if present - same as importTree
There seems to be no reason to keep import and importTree behavior different
*/ |
|||||
|
ImportForParent (character) |
|
|||||
|
ImportForParent (JsonObject) |
|
|||||
|
ImportNewForParent (character) |
|
|||||
|
ImportNewForParent (JsonObject) |
|
|||||
|
ImportRow (character, character) |
/* single row import of the entity (flat no tree) */ |
|||||
|
ImportRow (character, integer) |
/* single row import of the entity (flat no tree) */ |
|||||
|
ImportTree (character, character) |
/* single table import of the entity (flat - no tree)
NOTE: not generic - must have overrides for readForParent and readNewForParent
with foreign key not in json all records will be imported with
blank foreign key and seen as new records. We cannot copy these
as-is to the existing since all values may not be present */ |
|||||
|
ImportTree (JsonObject, character) |
/* import of the entity in a tree (will )
NOTE: not generic - must have overrides for readForParent and readNewForParent
with foreign key not in json all records will be imported with
blank foreign key and seen as new records. We cannot copy these
as-is to the existing since all values may not be present
- This handles all cases import() handles (the only diference is that this would not
give error if root exists - seems unimportant)
*/ |
|||||
|
InitFilter (character) |
/**
sets Filter and LocalFilter from an external filter )
*/ |
|||||
|
InitParent (character, character) |
/**
sets ParentSerializeName, ParentUrl, ParentValue, Filter and LocalFilter
uses TableHandle Parent
*/ |
|||||
|
InitParent (character, character[]) |
/**
sets ParentSerializeName, ParentUrl, ParentValues, Filter and LocalFilter
uses TableHandle Parent
*/ |
|||||
|
InitParent (IRow) |
/* allow override for cases that need more info than keyfields
sets ParentSerializeName, ParentUrl, ParentValue or ParentValues, Filter and LocalFilter
uses TableHandle Parent
*/ |
|||||
|
InitParentFilter (IRow) |
|
|||||
|
InitRequest (IRequestInfo) |
/** init filter from the passed request if necessary
(batch criteria is handled in getRequest() */ |
|||||
|
LOGICAL InvokeInParent (character, character) |
/* converts a single key operation to multiple key call based on KeyFields and
the filter parentjoin */ |
|||||
|
ReadChild (IRow, JSONObject) |
/*
method public override void ImportTree(pcfile as char).
Parent:ImportTree(pcfile).
end method.
*/ |
|||||
|
RowCreated () |
/*** protected methods ****************************************/ |
|||||
|
RowDeleted () |
|
|||||
|
SearchRequest (IRequestInfo, character, character[], IDataAdminContext) |
|
|||||
|
TableRefreshed (ITableResponse) |
/** TableRefreshed
**/ |
|||||
|
UpdateParentKey () |
/*
/* qualify columns for QueryString parsing */
method public override character ColumnSource(pcColumn as char):
/* define variable cntxt as IDataAdminContext no-undo.*/
/* define variable cCollection as character no-undo. */
/* define variable cColumn as character no-undo. */
/* */
/*
@TODO inner join of parent
if num-entries(pcColumn,".") > 1 then
do:
ccollection = entry(1,pccolumn,".").
cntxt = Parent:GetChild(ccollection).
ccolumn = entry(2,pccolumn,".").
return cntxt:ColumnSource(ccolumn).
end.
*/
return super:ColumnSource(pccolumn).
end method.
*/ |
|||||
|
ValidateChanges (handle) |
|
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
FilteredContext (IDataAdminModel) |
/*** constructors ****************************************/ |
|||||
|
FilteredContext (IDataAdminModel, character) |
/** The filter is an expression of properties and values and operators.
It can also be a parent url of form serializename/key or
a serializename.property/value expression.
Note that this context have no information about the parent and CANNOT transform
an external key to an internal key. The context must be able to use the value as is
**/ |
|||||
|
FilteredContext (IDataAdminModel, character, character) |
|
|||||
|
FilteredContext (IDataAdminModel, character, character, IRequestInfo) |
|
|||||
|
FilteredContext (IDataAdminModel, character, character[], IRequestInfo) |
|
|||||
|
FilteredContext (IDataAdminModel, IRequestInfo) |
|
|||||
|
FilteredContext (IDataAdminModel, IRow, IRequestInfo) |
|
|||||
|
FilteredContext (IDataAdminModel, IRow, IRequestInfo, log) |
|
Options | Name | Purpose | |||||
---|---|---|---|---|---|---|---|
|
CHARACTER LocalFilter |
|
|||||
|
OpenEdge.DataAdmin.Binding.IRow ParentRow |
|
|||||
|
CHARACTER ParentSerializeName |
|
|||||
|
CHARACTER ParentUrl |
|
|||||
|
CHARACTER ParentValue |
|
|||||
|
CHARACTER ParentValues |
|
Top
LOGICAL AddJoinTable (IDataAdminContext)
|
||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LOGICAL CanFind (character)
|
||||||||||||||||||||||||||||||||||||||||
CHARACTER ColumnSortSource (character)
|
||||||||||||||||||||||||||||||||||||||||
CHARACTER ColumnSource (character)
|
||||||||||||||||||||||||||||||||||||||||
LOGICAL CompareValues (character[], character[])
|
||||||||||||||||||||||||||||||||||||||||
Copy (IDataAdminContext)
|
||||||||||||||||||||||||||||||||||||||||
HANDLE CreateBeforeNavQuery (character, handle, handle)
|
||||||||||||||||||||||||||||||||||||||||
HANDLE CreateBeforeUpdQuery (character, handle)
|
||||||||||||||||||||||||||||||||||||||||
CreateRow (IDataAdminElement)
|
||||||||||||||||||||||||||||||||||||||||
LOGICAL Delete (character)
|
||||||||||||||||||||||||||||||||||||||||
LOGICAL Find (character)
|
||||||||||||||||||||||||||||||||||||||||
ForeignKeyChanged (IRowChange)
|
||||||||||||||||||||||||||||||||||||||||
CHARACTER GetBeforeQueryString (character, handle)
|
||||||||||||||||||||||||||||||||||||||||
HANDLE GetBufferHandles ()
|
||||||||||||||||||||||||||||||||||||||||
CHARACTER GetJoinFields ()
|
||||||||||||||||||||||||||||||||||||||||
CHARACTER GetKeyValues (character)
|
||||||||||||||||||||||||||||||||||||||||
OpenEdge.DataAdmin.Binding.IRow GetParentRow ()
|
||||||||||||||||||||||||||||||||||||||||
OpenEdge.DataAdmin.Message.IFetchRequest GetQueryRequest ()
|
||||||||||||||||||||||||||||||||||||||||
OpenEdge.DataAdmin.Message.IFetchRequest GetRequest ()
|
||||||||||||||||||||||||||||||||||||||||
Import (character, character)
|
||||||||||||||||||||||||||||||||||||||||
Import (JsonObject, character)
|
||||||||||||||||||||||||||||||||||||||||
ImportForParent (character)
|
||||||||||||||||||||||||||||||||||||||||
ImportForParent (JsonObject)
|
||||||||||||||||||||||||||||||||||||||||
ImportNewForParent (character)
|
||||||||||||||||||||||||||||||||||||||||
ImportNewForParent (JsonObject)
|
||||||||||||||||||||||||||||||||||||||||
ImportRow (character, character)
|
||||||||||||||||||||||||||||||||||||||||
ImportRow (character, integer)
|
||||||||||||||||||||||||||||||||||||||||
ImportTree (character, character)
|
||||||||||||||||||||||||||||||||||||||||
ImportTree (JsonObject, character)
|
||||||||||||||||||||||||||||||||||||||||
InitFilter (character)
|
||||||||||||||||||||||||||||||||||||||||
InitParent (character, character)
|
||||||||||||||||||||||||||||||||||||||||
InitParent (character, character[])
|
||||||||||||||||||||||||||||||||||||||||
InitParent (IRow)
|
||||||||||||||||||||||||||||||||||||||||
InitParentFilter (IRow)
|
||||||||||||||||||||||||||||||||||||||||
InitRequest (IRequestInfo)
|
||||||||||||||||||||||||||||||||||||||||
LOGICAL InvokeInParent (character, character)
|
||||||||||||||||||||||||||||||||||||||||
ReadChild (IRow, JSONObject)
|
||||||||||||||||||||||||||||||||||||||||
RowCreated ()
|
||||||||||||||||||||||||||||||||||||||||
RowDeleted ()
|
||||||||||||||||||||||||||||||||||||||||
SearchRequest (IRequestInfo, character, character[], IDataAdminContext)
|
||||||||||||||||||||||||||||||||||||||||
TableRefreshed (ITableResponse)
|
||||||||||||||||||||||||||||||||||||||||
UpdateParentKey ()
|
||||||||||||||||||||||||||||||||||||||||
ValidateChanges (handle)
|
CHARACTER LocalFilter
|
|||||||||
---|---|---|---|---|---|---|---|---|---|
OpenEdge.DataAdmin.Binding.IRow ParentRow
|
|||||||||
CHARACTER ParentSerializeName
|
|||||||||
CHARACTER ParentUrl
|
|||||||||
CHARACTER ParentValue
|
|||||||||
CHARACTER ParentValues
|
Progress® OpenEdge® Release 11.7.15