final List ids = getIds(args);
final List objects = getObjects(args);
validateArguments(args, clazz, ids, objects, options);
return doInCompass(new CompassCallback() {
public Object doInCompass(CompassSession session) throws CompassException {
CompassOperations compassOperations = session;
if (!objects.isEmpty()) {
for (Iterator iter = objects.iterator(); iter.hasNext(); ) {
compassOperations.delete(iter.next());