Namespace: OpenEdge.DataAdmin.DataSource
Class
SequenceValueDataSource
Parent classes:
Inherits: OpenEdge.DataAdmin.DataSource.TenantDataSource

/* Copyright (c) 2011 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:SequenceValuesDataSource
Author(s):hdaniels
Created:Sat Sep 04 02:01:56 EDT 2010
/* these could have been properties with getters that just returned data based on URl,
but they are used in rowafter event and while the getters are very fast, overrided getters
are still 20 times slower than variables/props with no overrides. We're talking milliseconds, but
enough to substantially reduce throughput for this datasource, which may need to read a lot of records




Method Summary
Options Name Purpose
AfterRow (dataset-handle)
AfterSetUrl ()
LOGICAL Attach (handle) /* TenantDataSource overrides this to set permission from FieldMapArea so we override it here to keep our setting (could need improvement...) */
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) ? - save all */
SaveValues (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) ? - save all */

Constructor Summary
Options Name Purpose
SequenceValueDataSource ()
SequenceValueDataSource (character, character)

Property Summary
Options Name Purpose
Progress.Database.DBConfig DBConfig
CHARACTER mMap
CHARACTER SequenceExpression
CHARACTER TenantExpression


Method Detail
Top

AfterRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
Top

AfterSetUrl ()

Top

LOGICAL Attach (handle)

/* TenantDataSource overrides this to set permission from FieldMapArea
so we override it here to keep our setting (could need improvement...)
Parameters:
bufferHandle HANDLE
Returns LOGICAL
Top

LOGICAL Save (handle)

Purpose: Save all
Parameters:
bufferHandle HANDLE
Returns LOGICAL
Top

LOGICAL Save (handle, integer)

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

SaveValues (handle, integer)

Purpose: Save changes of specified state
? - save all
Parameters:
phbuffer HANDLE
piState INTEGER


Constructor Detail
Top

SequenceValueDataSource ()

Top

SequenceValueDataSource (character, character)

Parameters:
pcTable CHARACTER
pBaseQuery CHARACTER


Property Detail
Top

Progress.Database.DBConfig DBConfig

Returns Progress.Database.DBConfig
Top

CHARACTER mMap

Returns CHARACTER
Top

CHARACTER SequenceExpression

Returns CHARACTER
Top

CHARACTER TenantExpression

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15