void delete(boolean childrenOnly, boolean writeTombstones) throws ServiceException { if (childrenOnly) {
void delete(DeleteScope scope, boolean writeTombstones) throws ServiceException { if (scope == DeleteScope.CONTENTS_ONLY) {
    void delete(boolean childrenOnly, boolean writeTombstones) throws ServiceException {        if (childrenOnly) {            deleteSingleFolder(writeTombstones);        } else {            List<Folder> subfolders = getSubfolderHierarchy();            for (int i = subfolders.size() - 1; i >= 0; i--) {                Folder subfolder = subfolders.get(i);                subfolder.deleteSingleFolder(writeTombstones);            }        }    }