nl.vpro.domain.api.subtitles.SubtitlesSearchResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-domain Show documentation
Show all versions of api-domain Show documentation
Contains the objects used by the Frontend API, like forms and result objects
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 extends StandaloneCue> sr) {
super(sr);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy