deleteCollectionEntry()

void deleteCollectionEntry(int key)

This method deletes a custom collection entry.

Parameters

key
Format: integer
Purpose: Specifies the custom collection entry to be deleted.

The key of a custom collection is always returned by addCollectionEntry(), but you can also look up the key using findCollectionEntries() and getCollectionEntryByEntryCode().

Results

This method does not return any output.

Smile emits the CustomCollectionEntryDeleted message when the task is complete.

Faults

NoSuchItemException

This fault is returned when no custom collection entry exists with the given key.

Java client syntax

java -cp build/smilewsv2-client.jar [options]
 com.inomial.smile.client.v2.examples.DeleteCustomCollectionEntry key
key
Purpose: Specifies the custom collection entry to be deleted.
Note: For more information about the Java client and the options it accepts, see Java client syntax.