Package de.sosd.mediaserver.util

Examples of de.sosd.mediaserver.util.DidlXmlCreator$CachedImageSource


    final Integer requestedCount = request.getRequestedCount();
    int fetchSize = Integer.MAX_VALUE;
    if (requestedCount != null && requestedCount.intValue() > 0) {
      fetchSize = requestedCount.intValue();
    }
    final DidlXmlCreator didlLite = this.didlDao.getInfoById(
        objectId,
        request.getStartingIndex(),
        fetchSize,
        filter,
        sort,     
View Full Code Here


    final Integer requestedCount = request.getRequestedCount();
    int fetchSize = Integer.MAX_VALUE;
    if (requestedCount != null && requestedCount.intValue() > 0) {
      fetchSize = requestedCount.intValue();
    }
    final DidlXmlCreator didl = this.didlDao.getContainerContentById(
          objectId,
          request.getStartingIndex(),
          fetchSize,
          filter,
          sort,
View Full Code Here

    int fetchSize = Integer.MAX_VALUE;
    if (requestedCount != null && requestedCount.intValue() > 0) {
      fetchSize = requestedCount.intValue();
    }
   
    final DidlXmlCreator didl = this.didlDao.getSearchItems(
      objectId,
      where,
      searchParameters,
      request.getStartingIndex(),
      fetchSize,
View Full Code Here

    q.setMaxResults(count);
    @SuppressWarnings("unchecked")
    final List<DidlDomain> resultList = q.getResultList();

    final Long totalMatches = getContainerContentChildCountById(containerId, filter);
    final DidlXmlCreator didlLite = new DidlXmlCreator(wlb);
    didlLite.setTotalMatches(totalMatches);
   
    for (final DidlDomain dd : resultList) {
      didlLite.addDidlObject(dd);     
    }

    return didlLite;
  }
View Full Code Here

      q.setFirstResult(startIdx);
      q.setMaxResults(count);
      totalMatches = getSearchItemsCount(searchPath, where, searchParameters, filter);
      resultList = q.getResultList();
    }
    final DidlXmlCreator didlLite = new DidlXmlCreator(wlb);
    didlLite.setTotalMatches(totalMatches);
    for (final DidlDomain dd : resultList) {
      didlLite.addDidlObject(dd);
    }
    return didlLite;
 
View Full Code Here

    @SuppressWarnings("unchecked")
    final
    List<DidlDomain> resultList = q.getResultList();

    final DidlXmlCreator didlLite = new DidlXmlCreator(wlb);
    didlLite.setTotalMatches(resultList.size());
    for (final DidlDomain dd : resultList) {
      didlLite.addDidlObject(dd);
    }

    return didlLite;
  }
View Full Code Here

TOP

Related Classes of de.sosd.mediaserver.util.DidlXmlCreator$CachedImageSource

Copyright © 2018 www.massapicom. 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.