Namespace: OpenEdge.DataAdmin.DataSource
Class
PartitionPolicyFieldDataSource
Parent classes:
Inherits: OpenEdge.DataAdmin.DataSource.DataSource

/* Copyright (c) 2013-2014 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.
Author(s):hdaniels
Created:Jul 2013
Notes:Mapped to the partitionpolicy buffer and uses Beforefill
to fill the partitionpolicyfields




Method Summary
Options Name Purpose
AfterFill (dataset-handle) /* delete auto created detail if no fields. There could be a better way to do this. tried return error in before fill and it stops the entire fill also note that policy with no fields probably will not be supported (was allowed when this was added) */
BeforeFill (dataset-handle)
LOGICAL Fill ()
FillFields (handle, character, character, recid, character[])
MakeIndexLocal (recid, character[])
PrepareBuffer (handle)
LOGICAL PrepareQueryString (QueryString)
LOGICAL Save (handle, handle, integer) /** Save changes of specified state @param buffer the temp-table buffer handle with data @param state the row-state to save (row-created, row-deleted or row-modified) ? = all */
LOGICAL SetCallBack (handle) /* allow subclasses to override to not set call back even if we have call back here */

Constructor Summary
Options Name Purpose
PartitionPolicyFieldDataSource ()

Property Summary
Options Name Purpose
OpenEdge.DataAdmin.DataSource.DataSourceUtil DataSourceUtil
CHARACTER TenantURL


Method Detail
Top

AfterFill (dataset-handle)

/* delete auto created detail if no fields. There could be a better way to do this.
tried return error in before fill and it stops the entire fill
also note that policy with no fields probably will not be supported (was allowed when this was added)
Parameters:
hds DATASET-HANDLE
Top

BeforeFill (dataset-handle)

Parameters:
hds DATASET-HANDLE
Top

LOGICAL Fill ()

Returns LOGICAL
Top

FillFields (handle, character, character, recid, character[])

Parameters:
phField HANDLE
pcPolicy CHARACTER
pcTable CHARACTER
pfilerecid RECID
pcFields CHARACTER
Top

MakeIndexLocal (recid, character[])

Parameters:
pfilerecid RECID
cfields CHARACTER
Top

PrepareBuffer (handle)

Parameters:
phBuffer HANDLE
Top

LOGICAL PrepareQueryString (QueryString)

Parameters:
poQueryString OpenEdge.DataAdmin.Lang.QueryString
Returns LOGICAL
Top

LOGICAL Save (handle, handle, integer)

Purpose: Save changes of specified state
? = all
Parameters:
parentbufferHandle HANDLE
phBuffer HANDLE
piState INTEGER
Returns LOGICAL
Top

LOGICAL SetCallBack (handle)

/* allow subclasses to override to not set call back even if we have call back here
Parameters:
phBuffer HANDLE
Returns LOGICAL


Constructor Detail
Top

PartitionPolicyFieldDataSource ()



Property Detail
Top

OpenEdge.DataAdmin.DataSource.DataSourceUtil DataSourceUtil

Returns OpenEdge.DataAdmin.DataSource.DataSourceUtil
Top

CHARACTER TenantURL

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15