Namespace: OpenEdge.DataAdmin
Interface
ITable
Parent classes:
Inherits: OpenEdge.DataAdmin.ISchemaElement

/* Copyright (c) 2011 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.
Purpose:Interface for table (data source _file)
Author(s):hdaniels
Created:Thu Jun 10 00:12:35 EDT 2010
Notes:Currently only for MT
Purpose: is the table multi-tenant. Only updatable before create




Method Summary
Options Name Purpose
LOGICAL Allocate () /** Allocate all delayed partitions for all tenants Does not allocate group partitions @return true if any partition was allocated */
LOGICAL Allocate (character) /** Allocate tenant partitions for table Does not allocate partitions belonging to a tenantgroup @param AllocationState Specify state of partitions to allocate - All, Delayed or None @return true if any partition was allocated */
Attach (IDataAdminContext) /** Attaches the object to the context/model @param context IDataAdminContext that holds the data Call cntxt:Copy(oldcontext) if IsAttached is false and context is valid */
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
LOGICAL CanAttach (IDataAdminContext)
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Export ()
Inherited from OpenEdge.DataAdmin.IDataAdminElement
Export (character)
Inherited from OpenEdge.DataAdmin.IDataAdminElement
ExportAsProcedure (character)
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
ExportAsProcedure (character, character)
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
ExportTree (character)
Inherited from OpenEdge.DataAdmin.IDataAdminElement
ExportTree (character, character)
Inherited from OpenEdge.DataAdmin.IDataAdminElement
JSONObject GetJSONExport (IContextTree) /* optional call back from context tree. return json to export instead of dataset return unknown to use standard dataset. write-json */
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Import (character) /** Import entity data from the specified file (must exist) @param file the file name to imprt from - currently supportes .json only */
Inherited from OpenEdge.DataAdmin.IDataAdminElement
ImportTree (character) /** Import entity data including child collections from the specified file (the top level entity must exist) @param file the file name to imprt from - currently supportes .json only */
Inherited from OpenEdge.DataAdmin.IDataAdminElement
INTEGER Serialize (handle) /* serialize to stream abl standard export format return num rows exported */
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
WriteTree (IContextTree) /** Writetree is a visitor/serialize method that adds this object and its collections to the passed ContextTree @param tree the IContextTree to add the object to */
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
WriteTree (IContextTree, character) /** Writetree is a visitor/serialize method that adds this object and the specified collections to the passed ContextTree. The context tree @param tree the IContextTree to add the object to @collections collections comma spearated list of child collections to add to the tree */
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable

Property Summary
Options Name Purpose
IArea Area
Inherited from OpenEdge.DataAdmin.ISchemaElement
LOGICAL Attached
Inherited from OpenEdge.DataAdmin.IDataAdminElement
CHARACTER CodeExtension
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
CHARACTER ContextId
Inherited from OpenEdge.DataAdmin.IDataAdminElement
CHARACTER Description
Inherited from OpenEdge.DataAdmin.ISchemaElement
OpenEdge.DataAdmin.IFieldSet Fields
OpenEdge.DataAdmin.IIndexSet Indexes
LOGICAL IsMultitenant
LOGICAL IsPartitioned
LOGICAL KeepDefaultArea
OpenEdge.DataAdmin.IFieldSet LOBFields
CHARACTER Name
Inherited from OpenEdge.DataAdmin.ISchemaElement
CHARACTER NonPUBSchemaName
Inherited from OpenEdge.DataAdmin.ISchemaElement
CHARACTER ObjectType
Inherited from OpenEdge.DataAdmin.ISchemaElement
OpenEdge.DataAdmin.IPartitionPolicy PartitionPolicy
ISchemaPartitionMap Partitions
Inherited from OpenEdge.DataAdmin.ISchemaElement
IRequestInfo RequestInfo
Overrides OpenEdge.DataAdmin.IDataAdminElement:RequestInfo
OpenEdge.DataAdmin.ISchema Schema
Inherited from OpenEdge.DataAdmin.ISchemaElement
CHARACTER SerializeName
Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
IDataAdminService Service
Inherited from OpenEdge.DataAdmin.IDataAdminElement


Method Detail
Top

PUBLIC LOGICAL Allocate ()

Purpose: Allocate all delayed partitions for all tenants
Does not allocate group partitions
Returns LOGICAL
true if any partition was allocated
Top

PUBLIC LOGICAL Allocate (character)

Purpose: Allocate tenant partitions for table
Does not allocate partitions belonging to a tenantgroup
Parameters:
pcmode CHARACTER
Returns LOGICAL
true if any partition was allocated
Top

PUBLIC Attach (IDataAdminContext)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Purpose: Attaches the object to the context/model
Call cntxt:Copy(oldcontext) if IsAttached is false and context is valid
Parameters:
context IDataAdminContext
IDataAdminContext that holds the data
Top

PUBLIC LOGICAL CanAttach (IDataAdminContext)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Parameters:
context IDataAdminContext
Returns LOGICAL
Top

PUBLIC Export ()

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Top

PUBLIC Export (character)

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Parameters:
cFile CHARACTER
Top

PUBLIC ExportAsProcedure (character)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Parameters:
pcfile CHARACTER
Top

PUBLIC ExportAsProcedure (character, character)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Parameters:
pcfile CHARACTER
pcCollectionlist CHARACTER
Top

PUBLIC ExportTree (character)

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Parameters:
cFile CHARACTER
Top

PUBLIC ExportTree (character, character)

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Parameters:
cFile CHARACTER
pcCollections CHARACTER
Top

PUBLIC JSONObject GetJSONExport (IContextTree)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
/* optional call back from context tree.
return json to export instead of dataset
return unknown to use standard dataset. write-json
Parameters:
tree IContextTree
Returns JSONObject
Top

PUBLIC Import (character)

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Purpose: Import entity data from the specified file (must exist)
Parameters:
cFile CHARACTER
Top

PUBLIC ImportTree (character)

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Purpose: Import entity data including child collections from the specified file (the top level entity must exist)
Parameters:
cFile CHARACTER
Top

PUBLIC INTEGER Serialize (handle)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
/* serialize to stream abl standard export format
return num rows exported
Parameters:
phStream HANDLE
Returns INTEGER
Top

PUBLIC WriteTree (IContextTree)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Purpose: Writetree is a visitor/serialize method that adds this object and its collections to the passed ContextTree
Parameters:
tree IContextTree
the IContextTree to add the object to */
Top

PUBLIC WriteTree (IContextTree, character)

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Purpose: Writetree is a visitor/serialize method that adds this object and the specified collections to the
passed ContextTree. The context tree
@collections collections comma spearated list of child collections to add to the tree
Parameters:
tree IContextTree
the IContextTree to add the object to
pcCollections CHARACTER


Property Detail
Top

PUBLIC IArea Area

Inherited from OpenEdge.DataAdmin.ISchemaElement
Returns IArea
Top

PUBLIC LOGICAL Attached

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Returns LOGICAL
Top

PUBLIC CHARACTER CodeExtension

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Returns CHARACTER
Top

PUBLIC CHARACTER ContextId

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Returns CHARACTER
Top

PUBLIC CHARACTER Description

Inherited from OpenEdge.DataAdmin.ISchemaElement
Returns CHARACTER
Top

PUBLIC OpenEdge.DataAdmin.IFieldSet Fields

Returns OpenEdge.DataAdmin.IFieldSet
Top

PUBLIC OpenEdge.DataAdmin.IIndexSet Indexes

Returns OpenEdge.DataAdmin.IIndexSet
Top

PUBLIC LOGICAL IsMultitenant

Returns LOGICAL
Top

PUBLIC LOGICAL IsPartitioned

Returns LOGICAL
Top

PUBLIC LOGICAL KeepDefaultArea

Returns LOGICAL
Top

PUBLIC OpenEdge.DataAdmin.IFieldSet LOBFields

Returns OpenEdge.DataAdmin.IFieldSet
Top

PUBLIC CHARACTER Name

Inherited from OpenEdge.DataAdmin.ISchemaElement
Returns CHARACTER
Top

PUBLIC CHARACTER NonPUBSchemaName

Inherited from OpenEdge.DataAdmin.ISchemaElement
Returns CHARACTER
Top

PUBLIC CHARACTER ObjectType

Inherited from OpenEdge.DataAdmin.ISchemaElement
Returns CHARACTER
Top

PUBLIC OpenEdge.DataAdmin.IPartitionPolicy PartitionPolicy

Returns OpenEdge.DataAdmin.IPartitionPolicy
Top

PUBLIC ISchemaPartitionMap Partitions

Inherited from OpenEdge.DataAdmin.ISchemaElement
Returns ISchemaPartitionMap
Top

PUBLIC IRequestInfo RequestInfo

Overrides OpenEdge.DataAdmin.IDataAdminElement:RequestInfo
Returns IRequestInfo
Top

PUBLIC OpenEdge.DataAdmin.ISchema Schema

Inherited from OpenEdge.DataAdmin.ISchemaElement
Returns OpenEdge.DataAdmin.ISchema
Top

PUBLIC CHARACTER SerializeName

Inherited from OpenEdge.DataAdmin.IDataAdminSerializable
Returns CHARACTER
Top

PUBLIC IDataAdminService Service

Inherited from OpenEdge.DataAdmin.IDataAdminElement
Returns IDataAdminService


Copyright © 2020 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.2.0