/** Cancel collection, using storage if real, or the ContentHostingHandler if present. */ public void cancelCollection(ContentCollectionEdit edit) { ContentHostingHandler chh = edit.getContentHandler(); if (chh != null) { chh.cancel(edit); } else { storage.cancelCollection(edit); } }