Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference

> ## insertClass

> This procedure adds a class to the Repository or modifies an existing class.

> Location: ry\app\rydesmngrp.p

> Parameters:

> `INPUT pcClassName AS CHARACTER`

> The unique class name. This is a mandatory parameter. Blanks are not allowed. If the class passed in is not found, it is created in the Repository.

> `INPUT pcClassDescription AS CHARACTER`

> A description of the class. Blanks are not allowed.

> `INPUT pcExtendsClassName AS CHARACTER`

> The name of the class extended by the class given in pcClassName. Blank clears the value. The class specified must already exist in the Repository.

> `INPUT pcCustomClassName AS CHARACTER`

> The name of the class that customizes the class given in pcClassName. The custom class cannot inherit from the same class that `pcClassName` does. Blank clears the value. The class specified must already exist in the Repository.

> `INPUT plClassDisabled AS LOGICAL`

> Whether or not the class is disabled.

> `INPUT plLayoutSupported AS LOGICAL`

> Whether or not layouts are supported for this class.

> `INPUT pcDeploymentType AS CHARACTER`

> The default deployment types for objects of this class. Can be one or more of the following: “Cli” for client, “Srv” for server, “Web,” or blank.

> `INPUT plStaticObject AS LOGICAL`

> Whether or not the class contains static objects.

> `INPUT plCacheOnClient AS LOGICAL`

> Whether or not procedure code can be generated and deployed onto a client.

> `INPUT pcClassObjectName AS CHARACTER`

> This parameter is not used.

> `OUTPUT pdClassObj AS DECIMAL`

> The `obj` field of the class being maintained.

> Notes:

> - Unless otherwise specified in the parameter description, all parameters are nonmandatory, blank values are allowed, and an Unknown value(?) keeps the existing value in the Repository.
> - This procedure does not update attributes, UI events, and supported links for a class. They are updated through other APIs.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095