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);
   }
 }
 boolean isFileSystemGroupLocalAccessable(String fsgrpid) {
   return fsmgt.isFileSystemGroupLocalAccessable(fsgrpid);
 }
 public String getFileSystemMgtServiceNamePrefix() {
   return fsmgt.getFileSystemMgtServiceNamePrefix();
 }
 public void setFileSystemMgtServiceNamePrefix(String prefix) {
   fsmgt.setFileSystemMgtServiceNamePrefix(prefix);
 }
Ejemplo n.º 5
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));
 }