Namespace: OpenEdge.DataAdmin
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 ()

Returns OpenEdge.DataAdmin.Binding.IDataAdminModel
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)

Parameters:
tree OpenEdge.DataAdmin.Binding.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)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
preq OpenEdge.DataAdmin.IRequestInfo


Property Detail
Top

CHARACTER DefaultAllocation

Returns CHARACTER
Top

OpenEdge.DataAdmin.IArea DefaultDataArea

Returns OpenEdge.DataAdmin.IArea
Top

OpenEdge.DataAdmin.IArea DefaultIndexArea

Returns OpenEdge.DataAdmin.IArea
Top

OpenEdge.DataAdmin.IArea DefaultLobArea

Returns OpenEdge.DataAdmin.IArea
Top

OpenEdge.DataAdmin.IDomainSet Domains

Returns OpenEdge.DataAdmin.IDomainSet
Top

CHARACTER ExternalID

Returns CHARACTER
Top

LOGICAL IsDataEnabled

Returns LOGICAL
Top

OpenEdge.DataAdmin.ISequenceValueMap SequenceValues

Returns OpenEdge.DataAdmin.ISequenceValueMap
Top

OpenEdge.DataAdmin.ITenantGroupMemberSet TenantGroupMembers

Returns OpenEdge.DataAdmin.ITenantGroupMemberSet
Top

OpenEdge.DataAdmin.ITenantGroupSet TenantGroups

Returns OpenEdge.DataAdmin.ITenantGroupSet
Top

CHARACTER Type

Returns CHARACTER
Top

OpenEdge.DataAdmin.IUserSet Users

Returns OpenEdge.DataAdmin.IUserSet
Top

CHARACTER ValidTypeList

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15