Package org.socialmusicdiscovery.server.business.service.browse

Examples of org.socialmusicdiscovery.server.business.service.browse.LibraryBrowseService.findChildren()


      smdMaxItems = null;
    } else { // items to return is limited
      smdMaxItems = new Integer((int)maxResults);
    }
   
    Result<Object> browsedContent = browseService.findChildren("upnp", smdObjectID, (int)firstResult, smdMaxItems, false);
   
    // Memo: DIDL object mandatory elements:
    // id, parentID, title, class, restricted (for 'object' base class)
   
    Container upnpContainer = null;
View Full Code Here


        ResultItem<ClassificationEntity> classificationItem = (ResultItem<ClassificationEntity>) browsedItem;
        upnpContainer = new org.teleal.cling.support.model.container.MusicArtist();
        upnpContainer.setId(objectID+"/"+classificationItem.getId())
          .setClazz(new org.teleal.cling.support.model.DIDLObject.Class("object.container.genre.musicGenre"))
          .setTitle(classificationItem.getItem().getName());
        upnpContainer.setChildCount(browseService.findChildren("upnp", classificationItem.getId(), null, null, false).getCount().intValue());
       
      } else if (browsedItem.getType().equals("Track") ) {
       
        upnpItem = getUpnpMusicTrackFromSmdTrackEntity((ResultItem<TrackEntity>)browsedItem, objectID, filters);
       
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.