@Override protected QuotaDirectory queryResource(URI id) { ArgValidator.checkUri(id); QuotaDirectory qd = _permissionsHelper.getObjectById(id, QuotaDirectory.class); ArgValidator.checkEntityNotNull(qd, id, isIdEmbeddedInURL(id)); return qd; }
@Override protected Bucket queryResource(URI id) { ArgValidator.checkUri(id); Bucket bucket = _permissionsHelper.getObjectById(id, Bucket.class); ArgValidator.checkEntityNotNull(bucket, id, isIdEmbeddedInURL(id)); return bucket; }
protected FileShare queryFileShareResource(URI id) { ArgValidator.checkUri(id); FileShare fs = _permissionsHelper.getObjectById(id, FileShare.class); ArgValidator.checkEntityNotNull(fs, id, isIdEmbeddedInURL(id)); return fs; }