Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Program model > Control DataObject


DataTypeControl DataObject

DataTypeControl is used to specify which repository the caller wants to return the supported data type information.

The DataTypeControl DataObject is extended from TypeControl and is used in the input data object of the getSchema method of SchemaService.

The structure of a TypeControl data object consists of:

repositoryId

is used to specify the ID of the repository in the virtual member manager configuration XML file. For example, if an LDAP server is configured in the virtual member manager configuration XML file with the ID LDAP1, you set the repositoryId to LDAP1 in the DataTypeControl. The getSchema method returns the supported data types for the repository LDAP1. If the repositoryId is not specified in the DataTypeControl, the supported data types in the virtual member manager level are returned.


XML schema definition

The following is the XML schema definition for the TypeControl DataObject:

<xsd:complexType name="DataTypeControl">
<xsd:complexContent>
<xsd:extension base="TypeControl">
</xsd:extension>
</xsd:complexContent>
</xsd:complexType> 


Sample data object

The following is a sample DataTypeControl data graph used in the getSchema operation to request the supported data types of the repository LDAP1:

<wim:controls xsi:type="wim:DataTypeControl" repositoryId="LDAP1"/> 

Parent topic: Control DataObject



+

Search Tips   |   Advanced Search