public FileSystemDTO selectStorageFileSystem(String fsgrpID) throws DcmServiceException {
   try {
     FileSystemDTO fsDTO = fsmgt.selectStorageFileSystem(fsgrpID);
     if (fsDTO == null) throw new DcmServiceException(Status.OutOfResources);
     return fsDTO;
   } catch (Exception e) {
     throw new DcmServiceException(Status.ProcessingFailure, e);
   }
 }
Exemple #2
0
 private FileSystemDTO getDestinationFilesystem(FileSystemMgt2 mgt) throws Exception {
   if (destFsGroup == null) return null;
   int pos = destFsGroup.indexOf('@');
   if (pos == -1) return fsmgt.selectStorageFileSystem(destFsGroup);
   return mgt.getFileSystemOfGroup(destFsGroup.substring(pos + 1), destFsGroup.substring(0, pos));
 }