Namespace: OpenEdge.DataAdmin
Type: 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 ()
  ExportTree (character, character) /** override to check for indexes -which will be found, but cause error when building dataset with bad join */
  CHARACTER GetValidDefaultAllocationList ()
  LOGICAL NeedsRefresh () /* if lazy datasource none of the arename fields will have data it is sufficent to check one of them - super does not have area - default may have... */

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
  LOGICAL HasRange
  OpenEdge.DataAdmin.IIndexSet Indexes
  LOGICAL IsCompositeReadOnly
  LOGICAL IsReadOnly
  INTEGER NumFields
  OpenEdge.DataAdmin.Binding.PartitionPolicyContext PartitionPolicyContext
  OpenEdge.DataAdmin.ITable Table
  LOGICAL Type


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

ExportTree (character, character)

Purpose: override to check for indexes -which will be found, but cause error when building dataset with bad join
Parameters:
pcfile CHARACTER
 
pcCollectionlist CHARACTER
 
Top

CHARACTER GetValidDefaultAllocationList ()

Returns CHARACTER
 
Top

LOGICAL NeedsRefresh ()

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


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

Returns LOGICAL
 
Top

LOGICAL HasRange

Returns LOGICAL
 
Top

OpenEdge.DataAdmin.IIndexSet Indexes

Returns OpenEdge.DataAdmin.IIndexSet
 
Top

LOGICAL IsCompositeReadOnly

Returns LOGICAL
 
Top

LOGICAL IsReadOnly

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

Returns LOGICAL