Namespace: OpenEdge.DataAdmin.Binding
Class
IndexContext
Parent classes:
Inherits: OpenEdge.DataAdmin.Binding.DataAdminContext
Implements: OpenEdge.DataAdmin.Binding.IDataAdminContext

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




Method Summary
Options Name Purpose
AddTreeTo (IContextTree, IRequestInfo) /* override default tree to not include child (partitions) */
LOGICAL CanFind (character, character) /** CanFind with unique key @param TableName @param IndexName */
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)
LOGICAL Find (character, character) /** Find with unique key @param TableName @param IndexName */
CHARACTER GetChildQuery (IRow)
CHARACTER GetJoinFields (character)
OpenEdge.DataAdmin.Binding.IDataAdminModel GetNamedChild (character) /* support many-to-many to fields (fields as child) */
HANDLE GetQueryHandles (character)
CHARACTER GetServerChildQuery (IRow)
HANDLE InitDataset () /* temporary until all sub classes are using createDataset */

Constructor Summary
Options Name Purpose
IndexContext ()
IndexContext (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, character)

Purpose: CanFind with 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:
pparent OpenEdge.DataAdmin.Binding.IRow
pReq OpenEdge.DataAdmin.IRequestInfo
Returns OpenEdge.DataAdmin.Binding.Query.FilteredContext
Top

CreateRow (IDataAdminElement)

Parameters:
entity OpenEdge.DataAdmin.IDataAdminElement
Top

LOGICAL Find (character, character)

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

CHARACTER GetChildQuery (IRow)

Parameters:
pParentrow 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 fields (fields as child)
Parameters:
pname CHARACTER
Returns OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

HANDLE GetQueryHandles (character)

Parameters:
pcParent CHARACTER
Returns HANDLE
Top

CHARACTER GetServerChildQuery (IRow)

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

HANDLE InitDataset ()

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


Constructor Detail
Top

IndexContext ()

Top

IndexContext (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