コード例 #1
0
 @Override
 protected QuotaDirectory queryResource(URI id) {
   ArgValidator.checkUri(id);
   QuotaDirectory qd = _permissionsHelper.getObjectById(id, QuotaDirectory.class);
   ArgValidator.checkEntityNotNull(qd, id, isIdEmbeddedInURL(id));
   return qd;
 }
コード例 #2
0
 protected FileShare queryFileShareResource(URI id) {
   ArgValidator.checkUri(id);
   FileShare fs = _permissionsHelper.getObjectById(id, FileShare.class);
   ArgValidator.checkEntityNotNull(fs, id, isIdEmbeddedInURL(id));
   return fs;
 }