ValueListAdmin
Object type.
| Full name | MFiles.ValueListAdmin |
|---|---|
| Proto file | mfiles/structs.proto |
Fields
| Field | Type | Number | Description |
|---|---|---|---|
object_type | ValueList | 1 | Basic data. |
database_connection_string | string | 2 | OLE DB connection string to the external database that contains the objects (and their properties) of this object type. |
database_select_all_statement | string | 3 | SQL statement that retrieves the objects from an external database. |
database_select_one_statement | string | 4 | SQL statement that retrieves a specific object from an external database. |
database_insert_statement | string | 5 | SQL statement that inserts a new object to an external database. |
database_select_latest_id_statement | string | 6 | SQL statement that retrieves the ID of the just inserted record in the external database. |
database_update_statement | string | 7 | SQL statement that updates an existing object in an external database. |
database_delete_statement | string | 8 | SQL statement that deletes an object in an external database. |
database_column_mappings | repeated ObjectTypeColumnMapping | 9 | Column mappings. |
automatic_acl_for_objects | AutomaticPermissions | 10 | The default automatic permissions for items and objects. |
aliases | string | 11 | Semicolon-separated list of semantic aliases. |
tags | repeated NamedValueNamespace | 12 | Names value namespaces related to the object type. |
version_number | uint32 | 13 | Object type version number, used for OT modification conflicts tracking. |
Used by methods
- IRPCObjectTypesAdmin.AddObjectType -- Creates a new object type or value list.
- IRPCObjectTypesAdmin.GetObjectTypeDef -- Gets the full administrative definition of one object type or value list.
- IRPCObjectTypesAdmin.GetObjectTypeDefs -- Gets the full administrative definitions of all real object types.
- IRPCObjectTypesAdmin.GetValueListDefs -- Gets the full administrative definitions of all object types and value lists.
- IRPCObjectTypesAdmin.ModifyObjectType -- Saves a changed definition of an object type or value list.
- IRPCObjectTypesAdmin.RefreshExternalObjectTypeColumnMappings -- Re-reads the columns of an external object type's SELECT statement, merges them with the existing column mappings, and saves the object type.
Used in fields
ObjectTypeAndValueListAdminStructureResponse.object_types_and_value_lists-- The object type and value list entries.ObjectTypeDecl.ot_admin-- Object type admin data.GetObjectTypeDefsResponse.object_types-- One ValueListAdmin per object type.GetValueListDefsResponse.object_types-- One ValueListAdmin per object type or value list.AddObjectTypeRequest.obj_type-- The new object type or value list.object_type.is_real_object_typechooses between the two. The ID, GUID and owner property definition are ignored and assigned by the server.AddObjectTypeResponse.obj_type_result-- The new definition with its ID, GUID and owner property definition (object_type.owner_property_def) set.GetObjectTypeDefResponse.obj_type_result-- The definition. See ValueListAdmin.RefreshExternalObjectTypeColumnMappingsRequest.obj_type-- The object type's current definition; its connection string and SELECT statement are used to read the columns.RefreshExternalObjectTypeColumnMappingsResponse.result-- The definition as saved, with refresheddatabase_column_mappings.ModifyObjectTypeRequest.obj_type-- The complete new definition;object_type.ididentifies the object type. Start from GetObjectTypeDef.ModifyObjectTypeResponse.result-- The definition as stored.