Namespace: OpenEdge.DataAdmin
Class
PartitionPolicy
Parent classes:
Inherits: OpenEdge.DataAdmin.AbstractPartitionParent
Implements: OpenEdge.DataAdmin.IPartitionPolicy

/* Copyright (c) 2013 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:PartitionPolicy
Author(s):hdaniels
Created:Thu Jul 18 01:46:39 EDT 2013




Method Summary
Options Name Purpose
OpenEdge.DataAdmin.Error.UnsupportedOperationError AddDetailError (character)
LOGICAL AddDetailsFromData () /* populate Details from data */
LOGICAL AddDetailsFromData (character) /* populate Details from data using token string to assign name @param TokenString format XX${<property>}X} where X is any fixed mask char (except "$~{" or "~}" ) example "$~{TableName~}-$~{PartitionPolicyName~}-$~{Values[3]}-$~{Values[2]}". valid properties are TableName PartitionPolicyName Values[i] (i = field number) */
LOGICAL AddDetailsFromData (character, character) /* populate Details from data using substitute string and comma separated list of properties to assign name @param TokenString tokens in &n format as ABL substitute statement (max 9) @param Propertiesg comma separated list of props valid properties are TableName PartitionPolicyName Values[i] (i = field number) */
AssertLoadFromData ()
ConvertTokensToSubstitute (character, character, character)
OpenEdge.DataAdmin.Binding.IDataAdminModel CreateLocalContext ()
CHARACTER GetValidDefaultAllocationList ()

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

Property Summary
Options Name Purpose
CHARACTER DefaultAllocation
OpenEdge.DataAdmin.IArea DefaultDataArea
OpenEdge.DataAdmin.IArea DefaultIndexArea
OpenEdge.DataAdmin.IArea DefaultLobArea
OpenEdge.DataAdmin.IPartitionPolicyDetailSet Details
OpenEdge.DataAdmin.IFieldList Fields
LOGICAL HasComposite /** HasComposite read only */
LOGICAL HasRange
OpenEdge.DataAdmin.IIndexSet Indexes /** The local indexes of the policy shorthand for table:Indexes where islocal editable in new policy (to make indexes local in same trans) must match table and Fields */
LOGICAL IsCompositeReadOnly
LOGICAL IsReadOnly /* mistake 11.4 .. would always give error */
INTEGER NumFields
OpenEdge.DataAdmin.Binding.PartitionPolicyContext PartitionPolicyContext
OpenEdge.DataAdmin.ITable Table
LOGICAL Type /** Type read only List, List-range or Range - */


Method Detail
Top

OpenEdge.DataAdmin.Error.UnsupportedOperationError AddDetailError (character)

Parameters:
preason CHARACTER
Returns OpenEdge.DataAdmin.Error.UnsupportedOperationError
Top

LOGICAL AddDetailsFromData ()

/* populate Details from data
Returns LOGICAL
Top

LOGICAL AddDetailsFromData (character)

/* populate Details from data using token string to assign name
(except "$~{" or "~}" )
example "$~{TableName~}-$~{PartitionPolicyName~}-$~{Values[3]}-$~{Values[2]}".
valid properties are TableName PartitionPolicyName Values[i] (i = field number)
Parameters:
pcTokenString CHARACTER
Returns LOGICAL
Top

LOGICAL AddDetailsFromData (character, character)

/* populate Details from data using substitute string and comma separated list
of properties to assign name
valid properties are TableName PartitionPolicyName Values[i] (i = field number)
Parameters:
pcSubstituteBase CHARACTER
pcSubstituteArgs CHARACTER
Returns LOGICAL
Top

AssertLoadFromData ()

Top

ConvertTokensToSubstitute (character, character, character)

Parameters:
pctemplate CHARACTER
pcresult CHARACTER
pcTokens CHARACTER
Top

OpenEdge.DataAdmin.Binding.IDataAdminModel CreateLocalContext ()

Returns OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

CHARACTER GetValidDefaultAllocationList ()

Returns CHARACTER


Constructor Detail
Top

PartitionPolicy (character)

Parameters:
pname CHARACTER
Top

PartitionPolicy (IDataAdminModel)

Parameters:
cntxt OpenEdge.DataAdmin.Binding.IDataAdminModel
Top

PartitionPolicy (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.IPartitionPolicyDetailSet Details

Returns OpenEdge.DataAdmin.IPartitionPolicyDetailSet
Top

OpenEdge.DataAdmin.IFieldList Fields

Returns OpenEdge.DataAdmin.IFieldList
Top

LOGICAL HasComposite

Purpose: HasComposite read only
Returns LOGICAL
Top

LOGICAL HasRange

Returns LOGICAL
Top

OpenEdge.DataAdmin.IIndexSet Indexes

Purpose: The local indexes of the policy
shorthand for table:Indexes where islocal
editable in new policy (to make indexes local in same trans)
must match table and Fields
Returns OpenEdge.DataAdmin.IIndexSet
Top

LOGICAL IsCompositeReadOnly

Returns LOGICAL
Top

LOGICAL IsReadOnly

/* mistake 11.4 .. would always give error
Returns LOGICAL
Top

INTEGER NumFields

Returns INTEGER
Top

OpenEdge.DataAdmin.Binding.PartitionPolicyContext PartitionPolicyContext

Returns OpenEdge.DataAdmin.Binding.PartitionPolicyContext
Top

OpenEdge.DataAdmin.ITable Table

Returns OpenEdge.DataAdmin.ITable
Top

LOGICAL Type

Purpose: Type read only
List, List-range or Range -
Returns LOGICAL


Copyright © 2017 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7