nl.vpro.domain.media.MediaProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-domain Show documentation
Show all versions of media-domain Show documentation
The basic domain classes for 'media', the core of POMS. Also, the 'update' XML bindings for it.
It also contains some closely related domain classes like the enum to contain NICAM kijkwijzer settings.
package nl.vpro.domain.media;
import org.checkerframework.checker.nullness.qual.Nullable;
/**
* @author Michiel Meeuwissen
* @since 3.0
*/
public interface MediaProvider {
/**
* Defaulting version of {@link #findByMid(boolean, String)} with first argument {@code true}
*/
@Nullable
default T findByMid(String mid) {
return findByMid(true, mid);
}
@Nullable
T findByMid(boolean loadDeleted, String mid);
}