Package nl.vpro.io.prepr
Class PreprContentImpl
- java.lang.Object
-
- nl.vpro.io.prepr.PreprContentImpl
-
- All Implemented Interfaces:
PreprContent
public class PreprContentImpl extends Object implements PreprContent
- Since:
- 0.1
- Author:
- Michiel Meeuwissen
-
-
Field Summary
Fields Modifier and Type Field Description static Fields
PUBLICATION_FIELDS
-
Constructor Summary
Constructors Constructor Description PreprContentImpl(PreprRepositoryClient impl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreprItems<?>
getChannels(Paging paging)
<T extends AbstractPreprContent>
TgetContainer(UUID id)
PreprItems<?>
getContainers(Paging paging)
<T extends AbstractPreprContent>
TgetPublication(@NonNull UUID id)
PreprItems<?>
getPublicationsForChannel(Paging paging, @NonNull UUID channel, LocalDateTime event_from, LocalDateTime event_until)
-
-
-
Field Detail
-
PUBLICATION_FIELDS
public static final Fields PUBLICATION_FIELDS
-
-
Constructor Detail
-
PreprContentImpl
public PreprContentImpl(PreprRepositoryClient impl)
-
-
Method Detail
-
getPublicationsForChannel
public PreprItems<?> getPublicationsForChannel(Paging paging, @NonNull UUID channel, LocalDateTime event_from, LocalDateTime event_until)
- Specified by:
getPublicationsForChannel
in interfacePreprContent
-
getPublication
public <T extends AbstractPreprContent> T getPublication(@NonNull UUID id)
- Specified by:
getPublication
in interfacePreprContent
-
getChannels
public PreprItems<?> getChannels(Paging paging)
- Specified by:
getChannels
in interfacePreprContent
-
getContainers
public PreprItems<?> getContainers(Paging paging)
- Specified by:
getContainers
in interfacePreprContent
-
getContainer
public <T extends AbstractPreprContent> T getContainer(UUID id)
- Specified by:
getContainer
in interfacePreprContent
-
-