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

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




Method Summary
Options Name Purpose
LOGICAL CanFind (character)
LOGICAL CanFindTenantDomain (character, character)
CHARACTER ColumnSource (character) /* end. */
CopyNewForTenant (character, table)
CopyNewTableForParent (IRow, handle) /* called with tracking-changes */
CopyTable (IDataAdminModel)
CopyTable (table)
CopyTable (table, integer, character)
CopyTableForParent (IRow, IDataAdminModel)
OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)
OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)
OpenEdge.DataAdmin.Binding.Query.FilteredContext CreateFilteredContext (IRow, IRequestInfo)
CreateRow (IDataAdminElement) /* method public override character GetClientJoinFields(parentid as char): case parentid: when "tenants" then return "Name,TenantName". end. return super:GetClientJoinFields(parentid). end. /* override to use Name in JSON import */ method protected override character GetClientKeyFields(): return "Name". end method. */
CreateRow (IDomain)
LOGICAL Find (character)
LOGICAL FindTenantDomain (character, character)
CHARACTER GetCreateError (IDomain)
CHARACTER GetJoinFields (character)
InitChildren ()
InitChildren (IContextScope)
InitChildren (IIdentityScope)
HANDLE InitDataset () /* temporary until all sub classes are using createDataset */
ValidateBuffer (handle)
ValidateDomain (IDomain)

Constructor Summary
Options Name Purpose
DomainContext ()
DomainContext (IIdentityScope)
DomainContext (UserContext)

Property Summary
Options Name Purpose
INTEGER Count
CHARACTER KeyFields
HANDLE TableHandle


Method Detail
Top

LOGICAL CanFind (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

LOGICAL CanFindTenantDomain (character, character)

Parameters:
ptenant CHARACTER
name CHARACTER
Returns LOGICAL
Top

CHARACTER ColumnSource (character)

/* end.
Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

CopyNewForTenant (character, table)

Parameters:
pcVal CHARACTER
copytable TABLE
Top

CopyNewTableForParent (IRow, handle)

/* called with tracking-changes
Parameters:
pRow OpenEdge.DataAdmin.Binding.IRow
phTbl HANDLE
Top

CopyTable (IDataAdminModel)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

CopyTable (table)

Parameters:
copytable TABLE
Top

CopyTable (table, integer, character)

Parameters:
copytable TABLE
pcTenantId INTEGER
pcTenantName CHARACTER
Top

CopyTableForParent (IRow, IDataAdminModel)

Parameters:
pRow OpenEdge.DataAdmin.Binding.IRow
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

OpenEdge.DataAdmin.IDataAdminCollection CreateCollection (IDataAdminContext)

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

OpenEdge.DataAdmin.IDataAdminElement CreateEntity (IRequestInfo)

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

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

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

CreateRow (IDataAdminElement)

/*
method public override character GetClientJoinFields(parentid as char):
case parentid:
when "tenants" then
return "Name,TenantName".
end.
return super:GetClientJoinFields(parentid).
end.
/* override to use Name in JSON import
method protected override character GetClientKeyFields():
return "Name".
end method.
Parameters:
entity OpenEdge.DataAdmin.IDataAdminElement
Top

CreateRow (IDomain)

Parameters:
domain OpenEdge.DataAdmin.IDomain
Top

LOGICAL Find (character)

Parameters:
name CHARACTER
Returns LOGICAL
Top

LOGICAL FindTenantDomain (character, character)

Parameters:
ptenant CHARACTER
name CHARACTER
Returns LOGICAL
Top

CHARACTER GetCreateError (IDomain)

Parameters:
domain OpenEdge.DataAdmin.IDomain
Returns CHARACTER
Top

CHARACTER GetJoinFields (character)

Parameters:
parentid CHARACTER
Returns CHARACTER
Top

InitChildren ()

Top

InitChildren (IContextScope)

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

InitChildren (IIdentityScope)

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

HANDLE InitDataset ()

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

ValidateBuffer (handle)

Parameters:
phDomain HANDLE
Top

ValidateDomain (IDomain)

Parameters:
domain OpenEdge.DataAdmin.IDomain


Constructor Detail
Top

DomainContext ()

Top

DomainContext (IIdentityScope)

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

DomainContext (UserContext)

Parameters:
users OpenEdge.DataAdmin.Binding.UserContext


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