getDefinitionAsXML

Returns information about one definition. (V1-V1.0.3)

Syntax

public String getDefinitionAsXML( String definitionId );

Description

The getDefinitionAsXML message returns an XML string containing information about one definition. You work with definitions using the designers in the administration UI.

For example, if you pass one of the definition identifiers for an entry type listed in the addFolderEntry reference page, Novell Teaming returns information about the definition for that entry.

As an alternative, you can use the getDefinitionConfigAsXML message to obtain all definitions in Novell Teaming and then parse the larger string for the definition information you want.

Parameter and Return Value

definitionId

The identifier of the definition whose information you want. Definitions are maintained using the designers in the administration UI, and define the components of an object in Novell Teaming.

return_value

A string of XML whose elements provide information about the components of an object in Novell Teaming.

Example

call.setOperationName(new QName("getDefinitionAsXML")); Object result = call.invoke(new Object[] {new String("402883b9114739b301114754e8120008")});

This code requests XML-formatted information about the definition for a wiki entry.

See Also