Namespace: OpenEdge.DataAdmin.Binding
Class
FieldContext
Parent classes:
Inherits: OpenEdge.DataAdmin.Binding.DataAdminContext

/* Copyright (c) 2010-2016 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:FieldContext
Author(s):hdaniels
Created:2010




Method Summary
Options Name Purpose
AddTreeTo (IContextTree, IRequestInfo) /* override default tree to not include child (partitions) */
LOGICAL CanFind (character)
LOGICAL CanFind (character, character) /** CanFind on unique key @param TableName @param FieldName */
CopyTable (IDataAdminModel)
OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (character, FilteredContext)
OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)
OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)
OpenEdge.DataAdmin.Binding.Query.FilteredContext CreateFilteredContext (IRow, IRequestInfo)
CreateRow (IDataAdminElement)
DataRefreshed (IFetchResponse) /** DataRefreshed Override to handle requests for indexfields */
LOGICAL Find (character)
LOGICAL Find (character, character) /** Find with unique key @param TableName @param FieldName */
CHARACTER GetChildQuery (IRow)
CHARACTER GetJoinFields (character)
OpenEdge.DataAdmin.Binding.IDataAdminModel GetNamedChild (character) /* support many-to-many to indexes (fields as child) */
CHARACTER GetNamedQuery (character) /* support lobFields as named query for collection */
CHARACTER GetNamedQueryName (character) /* support lobFields as named query for collection */
HANDLE GetQueryHandles (character)
CHARACTER GetServerChildQuery (IRow)
InitChildren (IContextScope)
InitChildren (ISchemaScope)
HANDLE InitDataset () /* temporary until all sub classes are using createDataset */

Constructor Summary
Options Name Purpose
FieldContext ()
FieldContext (character)
FieldContext (character, ISchemaScope)
FieldContext (ISchemaScope)

Property Summary
Options Name Purpose
INTEGER Count
CHARACTER KeyFields
HANDLE TableHandle


Method Detail
Top

AddTreeTo (IContextTree, IRequestInfo)

/* override default tree to not include child (partitions)
Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
preq OpenEdge.DataAdmin.IRequestInfo
Top

LOGICAL CanFind (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

LOGICAL CanFind (character, character)

Purpose: CanFind on unique key
Parameters:
ptablename CHARACTER
pname CHARACTER
Returns LOGICAL
Top

CopyTable (IDataAdminModel)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (character, FilteredContext)

Parameters:
pparent CHARACTER
pcntxt OpenEdge.DataAdmin.Binding.Query.FilteredContext
Returns OpenEdge.DataAdmin.IDataAdminCollection
Top

OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminContext
Returns OpenEdge.DataAdmin.IDataAdminCollection
Top

OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)

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

OpenEdge.DataAdmin.Binding.Query.FilteredContext CreateFilteredContext (IRow, IRequestInfo)

Parameters:
pParentRow OpenEdge.DataAdmin.Binding.IRow
pReq OpenEdge.DataAdmin.IRequestInfo
Returns OpenEdge.DataAdmin.Binding.Query.FilteredContext
Top

CreateRow (IDataAdminElement)

Parameters:
entity OpenEdge.DataAdmin.IDataAdminElement
Top

DataRefreshed (IFetchResponse)

Purpose: DataRefreshed Override to handle requests for indexfields
Parameters:
pResponse OpenEdge.DataAdmin.Message.IFetchResponse
Top

LOGICAL Find (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

LOGICAL Find (character, character)

Purpose: Find with unique key
Parameters:
ptablename CHARACTER
pname CHARACTER
Returns LOGICAL
Top

CHARACTER GetChildQuery (IRow)

Parameters:
pparent OpenEdge.DataAdmin.Binding.IRow
Returns CHARACTER
Top

CHARACTER GetJoinFields (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

OpenEdge.DataAdmin.Binding.IDataAdminModel GetNamedChild (character)

/* support many-to-many to indexes (fields as child)
Parameters:
pname CHARACTER
Returns OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

CHARACTER GetNamedQuery (character)

/* support lobFields as named query for collection
Parameters:
pqname CHARACTER
Returns CHARACTER
Top

CHARACTER GetNamedQueryName (character)

/* support lobFields as named query for collection
Parameters:
pqname CHARACTER
Returns CHARACTER
Top

HANDLE GetQueryHandles (character)

Parameters:
pcParent CHARACTER
Returns HANDLE
Top

CHARACTER GetServerChildQuery (IRow)

Parameters:
pparent OpenEdge.DataAdmin.Binding.IRow
Returns CHARACTER
Top

InitChildren (IContextScope)

Parameters:
pscope OpenEdge.DataAdmin.Binding.Factory.IContextScope
Top

InitChildren (ISchemaScope)

Parameters:
pscope OpenEdge.DataAdmin.Binding.Factory.ISchemaScope
Top

HANDLE InitDataset ()

/* temporary until all sub classes are using createDataset
Returns HANDLE


Constructor Detail
Top

FieldContext ()

Top

FieldContext (character)

Parameters:
pname CHARACTER
Top

FieldContext (character, ISchemaScope)

Parameters:
pname CHARACTER
pScope OpenEdge.DataAdmin.Binding.Factory.ISchemaScope
Top

FieldContext (ISchemaScope)

Parameters:
pscope OpenEdge.DataAdmin.Binding.Factory.ISchemaScope


Property Detail
Top

INTEGER Count

Returns INTEGER
Top

CHARACTER KeyFields

Returns CHARACTER
Top

HANDLE TableHandle

Returns HANDLE


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15