Namespace: OpenEdge.DataAdmin.Binding
Type: Class RoleContext
Parent Classes:
Inherits: OpenEdge.DataAdmin.Binding.DataAdminContext


Copyright (c) 2016,2023 by Progress Software Corporation. All rights reserved.
File:RoleContext
Author(s):pjudge
Created:2016-04-25
Notes:2023-07-13 - Restoring ability to delete roles, which
will be supported by the AVM as part of
DDM enablement (sanity checks will exist
as part of the final deletion process).
File:role.i



Method Summary
  Options Name Purpose
  LOGICAL CanFind (character)
  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) /* the default syserror has all info */
  CreateRow (IRole)
  LOGICAL Find (character)
  CHARACTER GetCreateError (IRole)
  CHARACTER GetJoinFields (character)
  OpenEdge.DataAdmin.Binding.IDataAdminModel GetNamedChild (character)
  initChildren (IContextScope)
  HANDLE InitDataset () /* temporary until all sub classes are using createDataset */
  InitRow ()
  InitRow (character)
  InitRow (integer)
  InitRowValues ()
  ValidateRole (IRole)

Constructor Summary
  Options Name Purpose
  RoleContext ()
  RoleContext (GrantedRoleContext)
  RoleContext (IContextScope)

Property Summary
  Options Name Purpose
  INTEGER Count
  CHARACTER KeyFields
  HANDLE TableHandle


Method Detail
Top

LOGICAL CanFind (character)

Parameters:
pcName CHARACTER
 
Returns LOGICAL
 
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)

/* the default syserror has all info
Parameters:
entity OpenEdge.DataAdmin.IDataAdminElement
 
Top

CreateRow (IRole)

Parameters:
poRole OpenEdge.DataAdmin.IRole
 
Top

LOGICAL Find (character)

Parameters:
pcName CHARACTER
 
Returns LOGICAL
 
Top

CHARACTER GetCreateError (IRole)

Parameters:
poRole OpenEdge.DataAdmin.IRole
 
Returns CHARACTER
 
Top

CHARACTER GetJoinFields (character)

Parameters:
parentid CHARACTER
 
Returns CHARACTER
 
Top

OpenEdge.DataAdmin.Binding.IDataAdminModel GetNamedChild (character)

Parameters:
pqname CHARACTER
 
Returns OpenEdge.DataAdmin.Binding.IDataAdminModel
 
Top

initChildren (IContextScope)

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

HANDLE InitDataset ()

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

InitRow ()

Top

InitRow (character)

Parameters:
pName CHARACTER
 
Top

InitRow (integer)

Parameters:
pId INTEGER
 
Top

InitRowValues ()

Top

ValidateRole (IRole)

Parameters:
poRole OpenEdge.DataAdmin.IRole
 


Constructor Detail
Top

RoleContext ()

Top

RoleContext (GrantedRoleContext)

Parameters:
grants OpenEdge.DataAdmin.Binding.GrantedRoleContext
 
Top

RoleContext (IContextScope)

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


Property Detail
Top

INTEGER Count

Returns INTEGER
 
Top

CHARACTER KeyFields

Returns CHARACTER
 
Top

HANDLE TableHandle

Returns HANDLE