protected function delete($uri=null)
    {
        if (is_null($uri)) {
            //$data = $this->service->deleteAll();
            throw new common_exception_BadRequest('Delete method requires an uri parameter');
        }
        if (!($this->getCrudService()->isInScope($uri))) {
            throw new common_exception_PreConditionFailure("The URI must be a valid resource under the root Class");
        }
        return $this->getCrudService()->delete($uri);
    }