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

/* Copyright (c) 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.
File:PartitionPolicyDataSource
Author(s):hdaniels




Method Summary
Options Name Purpose
AfterRow (dataset-handle)
AfterSetUrl ()
LOGICAL Attach (handle)
CHARACTER ColumnExpression (character, character, character) /* convert type char value in query to the integer value in the db */
CHARACTER ColumnSource (character) /* override to rename Type, which is not mapped and default areas if not mapped */
DefineSource ()
CHARACTER IndexFields (recid, character, integer)
CHARACTER IndexFields (recid, integer)
PrepareBuffer (handle)
LOGICAL PrepareQueryString (QueryString)
LOGICAL Refresh (handle) /** refresh row-state 0 isallocated */
RefreshPartitionState (character, handle) /* set allocated in partitions that were changed . The Tenantcontext will do a new request, but it does this before the changes are merged so partitions with pending updates will not be refreshed due to the protection in dataRefreshed */
LOGICAL Save (handle) /** tenant requires control of order , so this is not supported */
LOGICAL Save (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 */

Constructor Summary
Options Name Purpose
PartitionPolicyDataSource ()
PartitionPolicyDataSource (character)

Property Summary
Options Name Purpose
CHARACTER AreaURL
CHARACTER BaseFieldMap
Progress.Database.DBConfig DBConfig
CHARACTER FieldMap
CHARACTER FieldMapNoArea
CHARACTER mAreaQuery
CHARACTER PolicyURL
CHARACTER QueryString


Method Detail
Top

AfterRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
Top

AfterSetUrl ()

Top

LOGICAL Attach (handle)

Parameters:
bufferHandle HANDLE
Returns LOGICAL
Top

CHARACTER ColumnExpression (character, character, character)

/* convert type char value in query to the integer value in the db
Parameters:
pcColumn CHARACTER
pcOperator CHARACTER
pcValue CHARACTER
Returns CHARACTER
Top

CHARACTER ColumnSource (character)

/* override to rename Type, which is not mapped
and default areas if not mapped
Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

DefineSource ()

Top

CHARACTER IndexFields (recid, character, integer)

Parameters:
pfilerecid RECID
cidx CHARACTER
pnum INTEGER
Returns CHARACTER
Top

CHARACTER IndexFields (recid, integer)

Parameters:
pfilerecid RECID
pnum INTEGER
Returns CHARACTER
Top

PrepareBuffer (handle)

Parameters:
phBuffer HANDLE
Top

LOGICAL PrepareQueryString (QueryString)

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

LOGICAL Refresh (handle)

Purpose: refresh row-state 0 isallocated
Parameters:
phbuffer HANDLE
Returns LOGICAL
Top

RefreshPartitionState (character, handle)

/* set allocated in partitions that were changed . The Tenantcontext
will do a new request, but it does this before the changes are merged so
partitions with pending updates will not be refreshed due to the
protection in dataRefreshed
Parameters:
pcTenant CHARACTER
hds HANDLE
Top

LOGICAL Save (handle)

Purpose: tenant requires control of order , so this is not supported
Parameters:
phbuffer HANDLE
Returns LOGICAL
Top

LOGICAL Save (handle, integer)

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


Constructor Detail
Top

PartitionPolicyDataSource ()

Top

PartitionPolicyDataSource (character)

Parameters:
pfieldmap CHARACTER


Property Detail
Top

CHARACTER AreaURL

Returns CHARACTER
Top

CHARACTER BaseFieldMap

Returns CHARACTER
Top

Progress.Database.DBConfig DBConfig

Returns Progress.Database.DBConfig
Top

CHARACTER FieldMap

Returns CHARACTER
Top

CHARACTER FieldMapNoArea

Returns CHARACTER
Top

CHARACTER mAreaQuery

Returns CHARACTER
Top

CHARACTER PolicyURL

Returns CHARACTER
Top

CHARACTER QueryString

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15