Examples of DidlDomain


Examples of de.sosd.mediaserver.domain.db.DidlDomain

  }
 
  public DidlDomain createDidlContainer(final ScanFolderDomain folder, final DidlDomain systemRoot) {
     for (final DidlDomain parent : systemRoot.getContainerContent()) {
       if (ClassNameWcType.OBJECT_CONTAINER_STORAGE_VOLUME.equals(parent.getClassType())) {
         return new DidlDomain(folder, parent);
       }
     }
    
     return null;
  }
View Full Code Here

Examples of de.sosd.mediaserver.domain.db.DidlDomain

    final String extension = getExtension(fd);
    final ClassNameWcType classType = extensionClassTypeMap.get(extension);
    final String contentProtocol = extensionProtocolInfoMap.get(extension);
   
    if (evaluate(fd, extension, classType, contentProtocol)) {
      DidlDomain parent = createDidlContainerTree(f.getParent(), touchedDidlMap, sfd);
      DidlDomain didl = new DidlDomain(getTitle(fd),  fd, classType, fd.getId() + "." + extension,  contentProtocol, parent);
      touchedDidlMap.addDidl(didl.getId(), didl);
     
      updateParentClassType(didl, parent);
      dao.store(didl);
      return true;
    }
View Full Code Here

Examples of de.sosd.mediaserver.domain.db.DidlDomain

    String id = scanFolder.getId();
    if (touchedDidlMap.hasDidl(id)) {
      // don't create anything   
      return touchedDidlMap.getDidl(id);
    } else {
      final DidlDomain parent = createDidlContainerTree(scanFolder.getParent(), touchedDidlMap, sfd);   
      DidlDomain didl = new DidlDomain(id, scanFolder.getFile().getName(), scanFolder.getFile().getPath(), ClassNameWcType.OBJECT_CONTAINER_STORAGE_FOLDER, parent);     
      sfd.addFolder(didl);
      dao.store(didl);
      return touchedDidlMap.addDidl(id, didl);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.