getFolderEntryAsXML

Returns information about one entry in a folder. (V1—V1.0.3)

Syntax

public String getFolderEntryAsXML( long folderId, long entryId, boolean includeAttachments );

Description

The getFolderEntryAsXML operation returns XML whose elements provide information about one entry in a folder.

Parameters and Return Value

folderId

The binder identifier of the folder containing the entry whose information you want.

entryId

The identifier of the entry whose information you want.

includeAttachments

A boolean value that indicates whether you want Teaming to return the entry’s attachments. The client program is responsible for placement of attachment files on its local system.

return_value

A string containing XML elements for the requested entry.

Example

call.setOperationName(new QName(“getFolderEntryAsXML”)); Object result = call.invoke(new Object[] {new Long(21), new Long(34), new Boolean.FALSE});

This code returns XML that includes information contained in entry number 34 in the folder whose identifier is 21. Because of the value of the last parameter, Teaming does not place the entry’s file attachments in the client program’s source directory.

See Also