If an annotationName isn't provided, an error is returned, which seems right. However, the error ("Must provide the UUID (or list of UUIDs) to group") implies that a list of UUIDs is acceptable, and it mentions a group. From what I can tell in the Commands Dialog help and the function documentation, this should be either an annotation name or a UUID, and there is no list or group involved. What's the real situation, and is the error text in this function correct?
The same comment applies to other update functions.
There is a check to make sure the text string is non-Null ... Is it really necessary that the caller set the text string when updating? I think this may be necessary only when adding?
If an annotationName isn't provided, an error is returned, which seems right. However, the error ("Must provide the UUID (or list of UUIDs) to group") implies that a list of UUIDs is acceptable, and it mentions a group. From what I can tell in the Commands Dialog help and the function documentation, this should be either an annotation name or a UUID, and there is no list or group involved. What's the real situation, and is the error text in this function correct?
The same comment applies to other update functions.
There is a check to make sure the text string is non-Null ... Is it really necessary that the caller set the text string when updating? I think this may be necessary only when adding?