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

/* 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:ExtentDataSource
Author(s):hdaniels
Created:Oct 2010
Notes:This currently handles Area updates also. New areas are created when the extent
is created, so it happens at the same time, but some code, in particular
refresh after save should use the AreaDataSource if we want to support
PUT (extents) and POST new areas, since we need the URLs that we currently add
there on read.




Method Summary
Options Name Purpose
AfterRow (dataset-handle)
CHARACTER ColumnExpression (character, character, character)
CHARACTER ColumnSource (character)
ExecuteProstruct (character)
FillFiles () /* vst tables have only one index - so we fill it in a tt for faster lookup (assumed to be faster when filling many (not well tested) may not be faster in all cases...) */
CHARACTER GetDLC ()
CHARACTER GetPath (character)
CHARACTER GetProstructFileType (character)
CHARACTER GetProstructFileType (integer)
INTEGER GetRecordsPerBlock (integer) /* records per block from dictdb._area._area-recbits */
PrepareBuffer (handle)
LOGICAL RefreshAreas (handle)
Save (handle, handle)
LOGICAL WriteChildExtents (handle, handle)
WriteExtent (character, character, integer, integer, integer, character, log, integer)
LOGICAL WriteExtents (handle, handle)
LOGICAL WriteNewAreas (handle, handle)

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

Property Summary
Options Name Purpose
OpenEdge.DataAdmin.ServerCommand.ProstrctAddOnlineCommand ProStructureCommand


Method Detail
Top

AfterRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
Top

CHARACTER ColumnExpression (character, character, character)

Parameters:
pcColumn CHARACTER
pcoperator CHARACTER
pcValue CHARACTER
Returns CHARACTER
Top

CHARACTER ColumnSource (character)

Parameters:
pcColumn CHARACTER
Returns CHARACTER
Top

ExecuteProstruct (character)

Parameters:
pcfile CHARACTER
Top

FillFiles ()

/* vst tables have only one index - so we fill it in a tt for faster
lookup (assumed to be faster when filling many (not well tested)
may not be faster in all cases...)
Top

CHARACTER GetDLC ()

Returns CHARACTER
Top

CHARACTER GetPath (character)

Parameters:
cFile CHARACTER
Returns CHARACTER
Top

CHARACTER GetProstructFileType (character)

Parameters:
cType CHARACTER
Returns CHARACTER
Top

CHARACTER GetProstructFileType (integer)

Parameters:
iType INTEGER
Returns CHARACTER
Top

INTEGER GetRecordsPerBlock (integer)

/* records per block from dictdb._area._area-recbits
Parameters:
i INTEGER
Returns INTEGER
Top

PrepareBuffer (handle)

Parameters:
phBuffer HANDLE
Top

LOGICAL RefreshAreas (handle)

Parameters:
phArea HANDLE
Returns LOGICAL
Top

Save (handle, handle)

Parameters:
pArea HANDLE
pExtent HANDLE
Top

LOGICAL WriteChildExtents (handle, handle)

Parameters:
phArea HANDLE
phExtent HANDLE
Returns LOGICAL
Top

WriteExtent (character, character, integer, integer, integer, character, log, integer)

Parameters:
cArea CHARACTER
cType CHARACTER
id INTEGER
rpb INTEGER
clust INTEGER
cpath CHARACTER
fixed LOGICAL
sz INTEGER
Top

LOGICAL WriteExtents (handle, handle)

Parameters:
phArea HANDLE
phExtent HANDLE
Returns LOGICAL
Top

LOGICAL WriteNewAreas (handle, handle)

Parameters:
phArea HANDLE
phExtent HANDLE
Returns LOGICAL


Constructor Detail
Top

ExtentDataSource ()

Top

ExtentDataSource (character)

Parameters:
pcurl CHARACTER


Property Detail
Top

OpenEdge.DataAdmin.ServerCommand.ProstrctAddOnlineCommand ProStructureCommand

Returns OpenEdge.DataAdmin.ServerCommand.ProstrctAddOnlineCommand


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15