Namespace: Consultingwerk.RollbaseAdapter
Interface 
IRollbaseAdapter Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implemented by: Consultingwerk.RollbaseAdapter.RollbaseAdapter

File:IRollbaseAdapter
Purpose:Provides methods to communicate with Progress Rollbase
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Nov 03 09:51:55 CET 2013



Top Method Summary
Options Name Purpose
+ CHARACTER Create2 (character, ListNameValuePair) Performs an create2 request to create a record with given field values for a new Rollbase object instance
+ DATETIME DateTimeValue (character) Returns a DATETIME from a Rollbase Returned DateTime String
+ DATE DateValue (character) Returns a DATE from a Rollbase Returned Date String
+ LOGICAL Delete (int64) Deletes a record
+ GetObjectDef (character, dataset) Retrieves Rollbase Object Definition at a dsObjectDef Dataset
+ CHARACTER GetObjectDefNames (PermissionEnum) Returns an Character Array of available object definitions
+ Login () Authenticates with Rollbase
+ Logoff () Closes a Rollbase session
+ CHARACTER RollbaseDataTypeToAbl (character) Returns the ABL Data Type Name for a Rollbase Field Type
+ SelectToTempTable (character, character, integer, integer, table-handle) Performs an selectQuery Request and populates the results to an ABL temp-table
+ CHARACTER Update2 (int64, ListNameValuePair) Performs an update2 request to update field values of a Rollbase object instance

Top Property Summary
Options Name Purpose
+ Consultingwerk.RollbaseAdapter.IRollbaseCredentials Credentials


Method Detail
Top

PUBLIC CHARACTER Create2 (character, ListNameValuePair)

Purpose: Performs an create2 request to create a record with given field
values for a new Rollbase object instance
Notes:

Parameters:
pcObjectName CHARACTER
The Integration Name of the obejct to create
poValues Consultingwerk.ListNameValuePair
The List of Name Value Pairs for of field names and values
Returns CHARACTER
The Character reponse from Rollbase
Top

PUBLIC DATETIME DateTimeValue (character)

Purpose: Returns a DATETIME from a Rollbase Returned DateTime String
Notes:

Parameters:
pcDateTimeString CHARACTER
The String containing a DATE
Returns DATETIME
The DATETIME value
Top

PUBLIC DATE DateValue (character)

Purpose: Returns a DATE from a Rollbase Returned Date String
Notes:

Parameters:
pcDateString CHARACTER
The String containing a DATE
Returns DATE
The DATE value
Top

PUBLIC LOGICAL Delete (int64)

Purpose: Deletes a record
Notes:

Parameters:
piId INT64
The Id of the record to delete
Returns LOGICAL
Logical value indicating if the record was deleted
Top

PUBLIC GetObjectDef (character, dataset)

Purpose: Retrieves Rollbase Object Definition at a dsObjectDef Dataset
Notes:

Parameters:
pcObjectName CHARACTER
The name of the object (class) to retrieve the definition for
dsObjectDef DATASET dsObjectDef
OUTPUT Dataset The dataset with the object defintion
Top

PUBLIC CHARACTER GetObjectDefNames (PermissionEnum)

Purpose: Returns an Character Array of available object definitions
Notes:

Parameters:
poPermission Consultingwerk.RollbaseAdapter.PermissionEnum
The optional PermissionEnum value controlling if the output should be limited to certain objects
Returns CHARACTER
The Character Array of available object definitions
Top

PUBLIC Login ()

Purpose: Authenticates with Rollbase
Notes:

Top

PUBLIC Logoff ()

Purpose: Closes a Rollbase session
Notes:

Top

PUBLIC CHARACTER RollbaseDataTypeToAbl (character)

Purpose: Returns the ABL Data Type Name for a Rollbase Field Type
Notes: Returns ? for unknown/unmappable field types

Parameters:
pcRollbaseType CHARACTER
The Rollbase DataType
Returns CHARACTER
The ABL Data Type
Top

PUBLIC SelectToTempTable (character, character, integer, integer, table-handle)

Purpose: Performs an selectQuery Request and populates the results to an
ABL temp-table
Notes:

Parameters:
pcObjectName CHARACTER
The name of the object to retrieve data from
pcQuery CHARACTER
The rollbase QueryString to use
piStartRow INTEGER
The number of the row to start output with (0 by default)
piNumRows INTEGER
The number of rows to return
phTable TABLE-HANDLE
INPUT-OUTPUT TABLE-HANLDLE The name of the temp-table to select into
Top

PUBLIC CHARACTER Update2 (int64, ListNameValuePair)

Purpose: Performs an update2 request to update field values of a Rollbase
object instance
Notes:

Parameters:
piObjectId INT64
The Id of the object to update
poValues Consultingwerk.ListNameValuePair
The List of Name Value Pairs for of field names and values
Returns CHARACTER
The Character reponse from Rollbase


Property Detail
Top

PUBLIC Consultingwerk.RollbaseAdapter.IRollbaseCredentials Credentials


Returns Consultingwerk.RollbaseAdapter.IRollbaseCredentials


ProDataset Detail

ProDataset dsObjectDef

Member tables: DataObjectDef, DataFieldDefs, DataFieldDef, ListItems, ListItem, RelationshipDefs, RelationshipDef


Temp-Table Detail

Temp-Table DataFieldDef

Defined in:

Temp-Table DataFieldDefs

Defined in:

Temp-Table DataObjectDef

Defined in:

Temp-Table ListItem

Defined in:

Temp-Table ListItems

Defined in:

Temp-Table RelationshipDef

Defined in:

Temp-Table RelationshipDefs

Defined in:


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       12.04.2023 12:04:49