Namespace: Consultingwerk.Framework.RepositoryServices
Class 
RepositoryServiceClient Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.RepositoryServices.IRepositoryService

File:RepositoryServiceClient
Purpose:Simple client class for the Repository Service
Description:Accesses the serverside Repository service though a proxy
task class
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Jan 27 22:11:29 CET 2012
Notes:Accesses the server side IRepositoryService implementation
through the RepositoryServiceTask class.
The AppServer needs to start an IRepositoryService implementation
during the start of the AppServer process.



Top Method Summary
Options Name Purpose
+ CHARACTER ClassChildren (character) Returns a list of class names that extend the given base class (including the given class)
+ GetEmptyObjectStructure (character, dataset-handle) Returns the repository structure for objects of the given type
+ GetObjectByName (character, dataset-handle) Returns the repository data for the named object
+ StoreObject (logical, dataset-handle) Stores the repository data for the named object


Method Detail
Top

PUBLIC CHARACTER ClassChildren (character)

Purpose: Returns a list of class names that extend the given base class
(including the given class)
Notes:

Parameters:
pcObjectType CHARACTER
The base class name
Returns CHARACTER
Comma-delimited list of class names inheriting from the base class
Top

PUBLIC GetEmptyObjectStructure (character, dataset-handle)

Purpose: Returns the repository structure for objects of the given type
Notes:

Parameters:
pcObjectType CHARACTER
The object type to return the object structure for
phObjectDataset DATASET-HANDLE
OUTPUT DATASET-HANDLE containing the an empty temp-table with a single field per object attribute
Top

PUBLIC GetObjectByName (character, dataset-handle)

Purpose: Returns the repository data for the named object
Notes:

Parameters:
pcObjectName CHARACTER
The object to return the repository definition for
phObjectDataset DATASET-HANDLE
OUTPUT DATASET-HANDLE containing the repository definition of the given object
Top

PUBLIC StoreObject (logical, dataset-handle)

Purpose: Stores the repository data for the named object
Notes:

Parameters:
plNew LOGICAL
True for new objects, false for existing objects
phObjectDataset DATASET-HANDLE
DATASET-HANDLE containing the repository definition of the given object


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:28:58