All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.api.subtitles.SubtitlesSearchResult Maven / Gradle / Ivy

Go to download

Contains the objects used by the Frontend API, like forms and result objects

There is a newer version: 8.3.3
Show newest version
package nl.vpro.domain.api.subtitles;

import java.util.Collections;
import java.util.List;

import javax.xml.bind.annotation.*;

import nl.vpro.domain.api.SearchResult;
import nl.vpro.domain.api.SearchResultItem;
import nl.vpro.domain.subtitles.StandaloneCue;


/**
 *
 * @author Michiel Meeuwissen
 * @since 4.8
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "subtitlesSearchResult")
@XmlType(name = "subtitlesSearchResultType")
@XmlSeeAlso({StandaloneCue.class})
public class SubtitlesSearchResult extends SearchResult {

    public SubtitlesSearchResult() {
    }

    public static SubtitlesSearchResult emptyResult(Long offset, Integer max) {
        return new SubtitlesSearchResult(Collections.>emptyList(), offset, max, Total.EMPTY);
    }

    public SubtitlesSearchResult(List> list, Long offset, Integer max, Total total) {
        super(list, offset, max, total);
    }


    public SubtitlesSearchResult(SearchResult sr) {
        super(sr);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy