code: public static <R> R sudo(Function<ODatabaseDocument, R> func) {
  		return new DBClosure<R>() {
  			@Override
  			protected R execute(ODatabaseDocument db) {
  				return func.apply(db);
  			}
  		}.execute();
  	}
docs: Simplified function to execute under admin
  @param func function to be executed
  @param <R> type of returned value
  @return result of a function