public void deleteObject(ChunkyObject chunkyObject) {
        if (isLoaded()) {
            query(QueryGen.deleteAllOwnership(chunkyObject));
            query(QueryGen.deleteAllPermissions(chunkyObject));
            query(QueryGen.deleteObject(chunkyObject));
            if (chunkyObject instanceof ChunkyGroup)
                removeGroup((ChunkyGroup)chunkyObject);
        }
    }