Powered by Zoomin Software. For more details please contactZoomin

OpenEdge ABL API Reference

OpenEdge.DataAdmin.Tenant

  • Last Updated: January 15, 2026
  • 2 minute read
    • OpenEdge
    • Version 12.8
    • Documentation
Namespace: OpenEdge.DataAdmin
Type: Class Tenant
Parent Classes:
Inherits: OpenEdge.DataAdmin.AbstractPartitionOwner
Implements: OpenEdge.DataAdmin.ITenant


/* 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:Tenant
Author(s):hdaniels
Created:Sat Jun 12 21:20:19 EDT 2010
/* implements ITenant, IDataAdminElement, IDataAdminSerializable



Method Summary
  Options Name Purpose
  LOGICAL Allocate ()
  AssertPartitions () /* all valid */
  OpenEdge.DataAdmin.Binding.IDataAdminModel CreateLocalContext ()
  Export ()
  ExportAsProcedure (character, character)
  ExportTree (character, character) /** override to get codewriter if .p and to handle collections for this */
  CHARACTER GetCreateError ()
  LOGICAL NeedsRefresh () /* if lazy datasource none of the arename fields will have data it is sufficient to check one of them - super does not have area - default may have... */
  RemoveData ()
  WriteTree (IContextTree)
  WriteTree (IContextTree, character) /* write specified collections (default all) See override in ExportTree(file,collection) that deals with tenantGroups versus TenantGroupMembers for .p */

Constructor Summary
  Options Name Purpose
  Tenant (character)
  Tenant (IDataAdminModel)
  Tenant (IDataAdminModel, IRequestInfo)

Property Summary
  Options Name Purpose
  CHARACTER DefaultAllocation
  OpenEdge.DataAdmin.IArea DefaultDataArea
  OpenEdge.DataAdmin.IArea DefaultIndexArea
  OpenEdge.DataAdmin.IArea DefaultLobArea
  OpenEdge.DataAdmin.IDomainSet Domains
  CHARACTER ExternalID
  LOGICAL IsDataEnabled
  OpenEdge.DataAdmin.ISequenceValueMap SequenceValues
  OpenEdge.DataAdmin.ITenantGroupMemberSet TenantGroupMembers
  OpenEdge.DataAdmin.ITenantGroupSet TenantGroups
  CHARACTER Type
  OpenEdge.DataAdmin.IUserSet Users
  CHARACTER ValidTypeList


Method Detail
Top

LOGICAL Allocate ()

Returns LOGICAL
 
Top

AssertPartitions ()

/* all valid
Top

OpenEdge.DataAdmin.Binding.IDataAdminModel CreateLocalContext ()

Top

Export ()

Top

ExportAsProcedure (character, character)

Parameters:
pcfile CHARACTER
 
pcCollectionlist CHARACTER
 
Top

ExportTree (character, character)

Purpose: override to get codewriter if .p and to handle collections for this
Parameters:
pcfile CHARACTER
 
pcCollectionlist CHARACTER
 
Top

CHARACTER GetCreateError ()

Returns CHARACTER
 
Top

LOGICAL NeedsRefresh ()

/* if lazy datasource none of the arename fields will have data
it is sufficient to check one of them - super does not have
area - default may have...
Returns LOGICAL
 
Top

RemoveData ()

Top

WriteTree (IContextTree)

Top

WriteTree (IContextTree, character)

/* write specified collections (default all)
See override in ExportTree(file,collection) that deals with tenantGroups versus TenantGroupMembers for .p
Parameters:
tree OpenEdge.DataAdmin.Binding.IContextTree
 
pcCollections CHARACTER
 


Constructor Detail
Top

Tenant (character)

Parameters:
cname CHARACTER
 
Top

Tenant (IDataAdminModel)

Purpose:
Notes:
Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
 
Top

Tenant (IDataAdminModel, IRequestInfo)



Property Detail
Top

CHARACTER DefaultAllocation

Returns CHARACTER
 
Top

OpenEdge.DataAdmin.IArea DefaultDataArea

Top

OpenEdge.DataAdmin.IArea DefaultIndexArea

Top

OpenEdge.DataAdmin.IArea DefaultLobArea

Top

OpenEdge.DataAdmin.IDomainSet Domains

Top

CHARACTER ExternalID

Returns CHARACTER
 
Top

LOGICAL IsDataEnabled

Returns LOGICAL
 
Top

OpenEdge.DataAdmin.ISequenceValueMap SequenceValues

Top

OpenEdge.DataAdmin.ITenantGroupMemberSet TenantGroupMembers

Top

OpenEdge.DataAdmin.ITenantGroupSet TenantGroups

Top

CHARACTER Type

Returns CHARACTER
 
Top

OpenEdge.DataAdmin.IUserSet Users

Top

CHARACTER ValidTypeList

Returns CHARACTER
 


TitleResults for “How to create a CRG?”Also Available inAlert