Namespace: OpenEdge.DataAdmin.Binding
Class
SchemaContext
Parent classes:
Inherits: DataAdminContext
Implements: 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:SchemaContext
Purpose:Schema contains all standard dictionary tables
with the schema as the parent
Author(s):hdaniels
Created:Aug 2010
Notes:The Schema name is part of the unique key for tables
and sequences in Data Dictionary.
- This context is not used/supported in the ABL API,
since the only supported record is PUB and the
DataAdminService GetTable(s) ando GetSequence(s) returns
only data for PUB. This will not change. If other
schemas than PUB is to be supported it will be done with
separate requests i.e. GetSQLTable(s) or GetSysTable(s)
- The context is used for REST to allow a unique key to
lookup table (or a table's index or field) and sequence.




Method Summary
Options Name Purpose
BindFieldChanges (table)
BindIndexChanges (table)
BindTableChanges (table)
LOGICAL CanFind (character)
CopyTable (IDataAdminModel) /* public because it is called from Schema @todo make protected and overide copy() to call this) */
CopyTable (SchemaChanges)
IDataAdminCollection CreateCollection (IDataAdminContext)
IDataAdminElement CreateEntity (IRequestInfo)
CreateRow (IDataAdminElement)
HANDLE CreateSaveDataset () /* end method. */
DataRefreshed (IFetchResponse)
LOGICAL Find (character)
OpenEdge.DataAdmin.Message.IFetchRequest GetChangeRequest ()
CHARACTER GetJoinFields (character)
PartitionQueryContext GetNewPartitionContext ()
IPartitionCollection GetNewPartitions () /* end method. */
initChildren (IContextScope)
initChildren (ISchemaScope)
showtables ()

Constructor Summary
Options Name Purpose
SchemaContext ()
SchemaContext (ISchemaScope)

Property Summary
Options Name Purpose
INTEGER Count
CHARACTER KeyFields
HANDLE TableHandle


Method Detail
Top

BindFieldChanges (table)

Parameters:
ttFieldChange TABLE
Top

BindIndexChanges (table)

Parameters:
ttIndexChange TABLE
Top

BindTableChanges (table)

Parameters:
ttTableChange TABLE
Top

LOGICAL CanFind (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

CopyTable (IDataAdminModel)

/* public because it is called from Schema
@todo make protected and overide copy() to call this)
Parameters:
cntxt IDataAdminModel
Top

CopyTable (SchemaChanges)

Parameters:
cntxt SchemaChanges
Top

IDataAdminCollection CreateCollection (IDataAdminContext)

Parameters:
cntxt IDataAdminContext
Returns IDataAdminCollection
Top

IDataAdminElement CreateEntity (IRequestInfo)

Parameters:
preq IRequestInfo
Returns IDataAdminElement
Top

CreateRow (IDataAdminElement)

Parameters:
entity IDataAdminElement
Top

HANDLE CreateSaveDataset ()

/* end method.
Returns HANDLE
Top

DataRefreshed (IFetchResponse)

Parameters:
pResponse OpenEdge.DataAdmin.Message.IFetchResponse
Top

LOGICAL Find (character)

Parameters:
pname CHARACTER
Returns LOGICAL
Top

OpenEdge.DataAdmin.Message.IFetchRequest GetChangeRequest ()

Returns OpenEdge.DataAdmin.Message.IFetchRequest
Top

CHARACTER GetJoinFields (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

PartitionQueryContext GetNewPartitionContext ()

Returns PartitionQueryContext
Top

IPartitionCollection GetNewPartitions ()

/* end method.
Returns IPartitionCollection
Top

initChildren (IContextScope)

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

initChildren (ISchemaScope)

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

showtables ()



Constructor Detail
Top

SchemaContext ()

Top

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