Namespace: OpenEdge.DataAdmin.DataSource
Class
PartitionPolicyDetailDataSource
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:PartitionPolicyDetailDataSource.cls
Author(s):hdaniels
Created:Jul 2013




Method Summary
Options Name Purpose
AfterRow (dataset-handle)
CHARACTER ColumnSource (character) /* This is the call back for the QueryString parsing. There is currently no mapping, but we override it in order to return the ttPartition's parent keys to the Query. This allows us to extract the expression later. Because it is added as parent (i.e _tenant) we can also extract the actual query fields without these. */
CHARACTER FindPartitionPolicyJoin (character) /* throw standard progress error if non found */
CHARACTER FindTableJoinValues (character, character)
PrepareBuffer (handle)
LOGICAL PrepareQueryString (QueryString) /** override to sort on the internal value that defines the true order of the partitions */
RefreshPartitionState (character, handle) /* set allocated in partitions that were changed . The context 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) /** Save all @param buffer the temp-table buffer handle with data */
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 */
LOGICAL SaveDetail (handle, integer) /** SaveUser 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
PartitionPolicyDetailDataSource () /* field DefaultAllocation as character serialize-name "defaultAllocation" */

Property Summary
Options Name Purpose
Progress.Database.DBConfig DBConfig
CHARACTER FieldMap
CHARACTER mAreaQuery


Method Detail
Top

AfterRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
Top

CHARACTER ColumnSource (character)

/* This is the call back for the QueryString parsing. There is currently no mapping, but we override it in
order to return the ttPartition's parent keys to the Query. This allows us to extract the expression later.
Because it is added as parent (i.e _tenant) we can also extract the actual query fields without these.
Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

CHARACTER FindPartitionPolicyJoin (character)

/* throw standard progress error if non found
Parameters:
pFind CHARACTER
Returns CHARACTER
Top

CHARACTER FindTableJoinValues (character, character)

Parameters:
pTable CHARACTER
pFind CHARACTER
Returns CHARACTER
Top

PrepareBuffer (handle)

Parameters:
phBuffer HANDLE
Top

LOGICAL PrepareQueryString (QueryString)

Purpose: override to sort on the internal value that defines the true order of the partitions
Parameters:
poQueryString OpenEdge.DataAdmin.Lang.QueryString
Returns LOGICAL
Top

RefreshPartitionState (character, handle)

/* set allocated in partitions that were changed . The context
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:
pcDetail CHARACTER
hds HANDLE
Top

LOGICAL Save (handle)

Purpose: Save all
Parameters:
bufferHandle HANDLE
Returns LOGICAL
Top

LOGICAL Save (handle, integer)

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

LOGICAL SaveDetail (handle, integer)

Purpose: SaveUser changes of specified state
? = all
Parameters:
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

PartitionPolicyDetailDataSource ()

/* field DefaultAllocation as character serialize-name "defaultAllocation"


Property Detail
Top

Progress.Database.DBConfig DBConfig

Returns Progress.Database.DBConfig
Top

CHARACTER FieldMap

Returns CHARACTER
Top

CHARACTER mAreaQuery

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15