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

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




Method Summary
Options Name Purpose
LOGICAL CanFind (character)
LOGICAL CanFind (character, character)
LOGICAL CanFind (integer)
CHARACTER ColumnSource (character)
CopyTable (IDataAdminModel)
OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (character, FilteredContext)
OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext) /* collection is handled in filteredcollection subclasses and should not reach here */
OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)
OpenEdge.DataAdmin.Binding.Query.FilteredContext CreateFilteredContext (IRow, IRequestInfo)
CreateRow (IDataAdminElement)
DataRefreshed (IFetchResponse) /** DataRefreshed Override to handle requests that have retrieved sequence or tenant data for join. Added in getRequest in FilteredContext query subclass */
LOGICAL Find (character)
LOGICAL Find (character, character)
LOGICAL Find (integer)
CHARACTER GetChildQuery (IRow)
CHARACTER GetJoinFields (character)
HANDLE GetQueryHandles (character) /** Get default buffer handles to use in child query for parent - must match order of GetChildQuery @param serializename of parent */
CHARACTER GetServerChildQuery (IRow)
HANDLE InitDataset () /* temporary until all sub classes are using createDataset */
CHARACTER NotFoundError (character, character, character)
ReadRowForParent (IRow, JSONObject) /* called with tracking-changes */
ReadSequenceRow (character[], JSONObject)
ReadTenantRow (character, JSONObject)

Constructor Summary
Options Name Purpose
SequenceValueContext ()
SequenceValueContext (character, IContextFactory)

Property Summary
Options Name Purpose
INTEGER Count
CHARACTER KeyFields
CHARACTER SchemaName
HANDLE TableHandle


Method Detail
Top

LOGICAL CanFind (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

LOGICAL CanFind (character, character)

Parameters:
pseq CHARACTER
ptenant CHARACTER
Returns LOGICAL
Top

LOGICAL CanFind (integer)

Parameters:
i INTEGER
Returns LOGICAL
Top

CHARACTER ColumnSource (character)

Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

CopyTable (IDataAdminModel)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (character, FilteredContext)

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

OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)

/* collection is handled in filteredcollection subclasses and should not reach here
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 that have retrieved sequence or tenant data for
join. Added in getRequest in FilteredContext query subclass
Parameters:
pResponse OpenEdge.DataAdmin.Message.IFetchResponse
Top

LOGICAL Find (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

LOGICAL Find (character, character)

Parameters:
seq CHARACTER
tenant CHARACTER
Returns LOGICAL
Top

LOGICAL Find (integer)

Parameters:
i INTEGER
Returns LOGICAL
Top

CHARACTER GetChildQuery (IRow)

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

CHARACTER GetJoinFields (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

HANDLE GetQueryHandles (character)

Purpose: Get default buffer handles
to use in child query for parent
- must match order of GetChildQuery
Parameters:
parentid CHARACTER
Returns HANDLE
Top

CHARACTER GetServerChildQuery (IRow)

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

HANDLE InitDataset ()

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

CHARACTER NotFoundError (character, character, character)

Parameters:
pcSchema CHARACTER
pcSeq CHARACTER
pcTnt CHARACTER
Returns CHARACTER
Top

ReadRowForParent (IRow, JSONObject)

/* called with tracking-changes
Parameters:
prow OpenEdge.DataAdmin.Binding.IRow
json Progress.Json.ObjectModel.JsonObject
Top

ReadSequenceRow (character[], JSONObject)

Parameters:
pcVal CHARACTER
json Progress.Json.ObjectModel.JsonObject
Top

ReadTenantRow (character, JSONObject)

Parameters:
pcTenant CHARACTER
json Progress.Json.ObjectModel.JsonObject


Constructor Detail
Top

SequenceValueContext ()

Top

SequenceValueContext (character, IContextFactory)

Parameters:
pschema CHARACTER
pscope OpenEdge.DataAdmin.Binding.Factory.IContextFactory


Property Detail
Top

INTEGER Count

Returns INTEGER
Top

CHARACTER KeyFields

Returns CHARACTER
Top

CHARACTER SchemaName

Returns CHARACTER
Top

HANDLE TableHandle

Returns HANDLE


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15