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

/* Copyright (c) 2011,2012,2015 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:UserDataSource
Author(s):hdaniels
Created:nov 2010




Method Summary
Options Name Purpose
AfterUserRow (dataset-handle)
CHARACTER ColumnExpression (character, character, character)
CHARACTER ColumnSortSource (character)
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 FindTableJoinValues (character, character)
CHARACTER FindTenantJoin (character)
PrepareBuffer (handle)
LOGICAL PrepareQueryString (QueryString)
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 */
SaveUser (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 */
SplitId (character, character, character)

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

Property Summary
Options Name Purpose
CHARACTER TenantURL


Method Detail
Top

AfterUserRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
Top

CHARACTER ColumnExpression (character, character, character)

Parameters:
pcColumn CHARACTER
pcOperator CHARACTER
pcValue CHARACTER
Returns CHARACTER
Top

CHARACTER ColumnSortSource (character)

Parameters:
pcColumn CHARACTER
Returns CHARACTER
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 FindTableJoinValues (character, character)

Parameters:
pTable CHARACTER
pFind CHARACTER
Returns CHARACTER
Top

CHARACTER FindTenantJoin (character)

Parameters:
pFind CHARACTER
Returns CHARACTER
Top

PrepareBuffer (handle)

Parameters:
phBuffer HANDLE
Top

LOGICAL PrepareQueryString (QueryString)

Parameters:
poQueryString OpenEdge.DataAdmin.Lang.QueryString
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
? = all
Parameters:
bufferHandle HANDLE
piState INTEGER
Returns LOGICAL
Top

SaveUser (handle, integer)

Purpose: SaveUser changes of specified state
? = all
Parameters:
phbuffer HANDLE
pistate INTEGER
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
Top

SplitId (character, character, character)

Parameters:
id CHARACTER
puser CHARACTER
pdomain CHARACTER


Constructor Detail
Top

UserDataSource ()

Top

UserDataSource (character)

Parameters:
pcMapping CHARACTER
Top

UserDataSource (character, character)

Parameters:
cParent CHARACTER
cWhere CHARACTER
Top

UserDataSource (character, character, character)

Parameters:
pcJoinTables CHARACTER
pcPhysicalJoinTables CHARACTER
pcQuery CHARACTER


Property Detail
Top

CHARACTER TenantURL

Returns CHARACTER


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15