Namespace: OpenEdge.DataAdmin.DataSource
Type: Class DomainDataSource
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:DomainDataSource
Author(s):hdaniels
Created:nov 2010



Method Summary
  Options Name Purpose
  AfterDomainRow (dataset-handle)
  CHARACTER ColumnExpression (character, character, character) /* convert values in query to the expression required in the db */
  CHARACTER ColumnSortSource (character)
  CHARACTER ColumnSource (character) /* rename table to match to right table when building */
  CHARACTER IsBuiltInExpression (log)
  PrepareBuffer (handle)
  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 */

Constructor Summary
  Options Name Purpose
  DomainDataSource ()
  DomainDataSource (character) /* Names decided in discussions for 11.1 changes Note: Consider removing Domain from the name. Seems a bit weird to have IDomain:DomainActions. DomainControl,_PAM-control~ SystemPath,_PAM-library-path" */

Method Detail
Top

AfterDomainRow (dataset-handle)

Parameters:
hds DATASET-HANDLE
 
Top

CHARACTER ColumnExpression (character, character, character)

/* convert values in query to the expression required in the db
Parameters:
pcColumn CHARACTER
 
pcOperator CHARACTER
 
pcValue CHARACTER
 
Returns CHARACTER
 
Top

CHARACTER ColumnSortSource (character)

Parameters:
pcColumn CHARACTER
 
Returns CHARACTER
 
Top

CHARACTER ColumnSource (character)

/* rename table to match to right table when building
Parameters:
pcColumn CHARACTER
 
Returns CHARACTER
 
Top

CHARACTER IsBuiltInExpression (log)

Parameters:
istrue LOGICAL
 
Returns CHARACTER
 
Top

PrepareBuffer (handle)

Parameters:
phBuffer 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:
phBuffer HANDLE
 
piState INTEGER
 
Returns LOGICAL
 


Constructor Detail
Top

DomainDataSource ()

Top

DomainDataSource (character)

/* Names decided in discussions for 11.1 changes
Note: Consider removing Domain from the name.
Seems a bit weird to have IDomain:DomainActions.
DomainControl,_PAM-control~
SystemPath,_PAM-library-path"
Parameters:
pcurl CHARACTER