Uses of Class
nl.vpro.domain.media.MediaObject
Package
Description
This package basically contains the full media domain objects.
The update objects are data transfer objects, and represent versions of the objects in
nl.vpro.domain.media
that are simplified, and contain in principal no redundant information, or data that is not updatable or settable at all.-
Uses of MediaObject in nl.vpro.domain.media
Modifier and TypeInterfaceDescriptioninterface
MediaBuilder<B extends MediaBuilder<B,
M>, M extends MediaObject> static class
MediaBuilder.AbstractBuilder<T extends MediaBuilder.AbstractBuilder<T,
M>, M extends MediaObject> Modifier and TypeClassDescriptionfinal class
A group represents a collection of otherMediaObject
s.final class
The main feature that distinguishes a Program from a generic media entity is its ability to become an episode of other media entities.final class
A segment is a view on a program, representing a part of if starting at a givenSegment.getStart()
after the beginning of the program (and with a shortergetDuration()
.Modifier and TypeFieldDescriptionprotected MediaObject
MemberRef.group
protected MediaObject
AbstractScheduleEvent.mediaObject
protected MediaObject
Credits.mediaObject
protected MediaObject
Location.mediaObject
protected MediaObject
Prediction.mediaObject
protected MediaObject
MemberRef.member
Modifier and TypeFieldDescriptionstatic javax.persistence.metamodel.SingularAttribute<MediaObject,
AgeRating> MediaObject_.ageRating
static javax.persistence.metamodel.ListAttribute<MediaObject,
AvailableSubtitles> MediaObject_.availableSubtitles
static javax.persistence.metamodel.SingularAttribute<MediaObject,
AVAttributes> MediaObject_.avAttributes
static javax.persistence.metamodel.SingularAttribute<MediaObject,
AVType> MediaObject_.avType
static javax.persistence.metamodel.ListAttribute<MediaObject,
String> MediaObject_.awards
static javax.persistence.metamodel.ListAttribute<MediaObject,
Broadcaster> MediaObject_.broadcasters
static javax.persistence.metamodel.ListAttribute<MediaObject,
ContentRating> MediaObject_.contentRatings
static javax.persistence.metamodel.SingularAttribute<MediaObject,
String> MediaObject_.correlationId
static javax.persistence.metamodel.ListAttribute<MediaObject,
org.meeuw.i18n.regions.Region> MediaObject_.countries
static javax.persistence.metamodel.ListAttribute<MediaObject,
Credits> MediaObject_.credits
static javax.persistence.metamodel.ListAttribute<MediaObject,
String> MediaObject_.crids
static javax.persistence.metamodel.SetAttribute<MediaObject,
Description> MediaObject_.descriptions
static javax.persistence.metamodel.SingularAttribute<MediaObject,
AuthorizedDuration> MediaObject_.duration
static javax.persistence.metamodel.ListAttribute<MediaObject,
Email> MediaObject_.email
static javax.persistence.metamodel.SetAttribute<MediaObject,
Genre> MediaObject_.genres
static javax.persistence.metamodel.SetAttribute<MediaObject,
GeoLocations> MediaObject_.geoLocations
static javax.persistence.metamodel.SetAttribute<MediaObject,
GeoRestriction> MediaObject_.geoRestrictions
static javax.persistence.metamodel.SingularAttribute<MemberRef,
MediaObject> MemberRef_.group
static javax.persistence.metamodel.ListAttribute<MediaObject,
Image> MediaObject_.images
static javax.persistence.metamodel.SetAttribute<MediaObject,
Intentions> MediaObject_.intentions
static javax.persistence.metamodel.SingularAttribute<MediaObject,
Boolean> MediaObject_.isDubbed
static javax.persistence.metamodel.SingularAttribute<MediaObject,
Boolean> MediaObject_.isEmbeddable
static javax.persistence.metamodel.ListAttribute<MediaObject,
Locale> MediaObject_.languages
static javax.persistence.metamodel.SingularAttribute<MediaObject,
Boolean> MediaObject_.locationAuthorityUpdate
static javax.persistence.metamodel.SetAttribute<MediaObject,
Location> MediaObject_.locations
static javax.persistence.metamodel.SingularAttribute<Credits,
MediaObject> Credits_.mediaObject
static javax.persistence.metamodel.SingularAttribute<Location,
MediaObject> Location_.mediaObject
static javax.persistence.metamodel.SingularAttribute<Prediction,
MediaObject> Prediction_.mediaObject
static javax.persistence.metamodel.SingularAttribute<MemberRef,
MediaObject> MemberRef_.member
static javax.persistence.metamodel.SetAttribute<MediaObject,
MemberRef> MediaObject_.memberOf
static javax.persistence.metamodel.SingularAttribute<MediaObject,
MediaObject> MediaObject_.mergedTo
static javax.persistence.metamodel.SingularAttribute<MediaObject,
MediaObject> MediaObject_.mergedTo
static javax.persistence.metamodel.SingularAttribute<MediaObject,
String> MediaObject_.mid
static javax.persistence.metamodel.ListAttribute<MediaObject,
PortalRestriction> MediaObject_.portalRestrictions
static javax.persistence.metamodel.ListAttribute<MediaObject,
Portal> MediaObject_.portals
static javax.persistence.metamodel.SetAttribute<MediaObject,
Prediction> MediaObject_.predictions
static javax.persistence.metamodel.SetAttribute<MediaObject,
Relation> MediaObject_.relations
static javax.persistence.metamodel.SingularAttribute<MediaObject,
Short> MediaObject_.releaseYear
static javax.persistence.metamodel.SingularAttribute<MediaObject,
Instant> MediaObject_.repubDate
static javax.persistence.metamodel.SingularAttribute<MediaObject,
String> MediaObject_.repubDestinations
static javax.persistence.metamodel.SingularAttribute<MediaObject,
String> MediaObject_.repubReason
static javax.persistence.metamodel.SingularAttribute<MediaObject,
Instant> MediaObject_.sortInstant
static javax.persistence.metamodel.SingularAttribute<MediaObject,
String> MediaObject_.source
static javax.persistence.metamodel.SingularAttribute<MediaObject,
StreamingStatusImpl> MediaObject_.streamingPlatformStatus
static javax.persistence.metamodel.SingularAttribute<MediaObject,
AvailableSubtitlesWorkflow> MediaObject_.subtitlesWorkflow
static javax.persistence.metamodel.SetAttribute<MediaObject,
Tag> MediaObject_.tags
static javax.persistence.metamodel.SetAttribute<MediaObject,
TargetGroups> MediaObject_.targetGroups
static javax.persistence.metamodel.SingularAttribute<MediaObject,
Short> MediaObject_.teletext
static javax.persistence.metamodel.ListAttribute<MediaObject,
ThirdParty> MediaObject_.thirdParties
static javax.persistence.metamodel.SetAttribute<MediaObject,
Title> MediaObject_.titles
static javax.persistence.metamodel.SetAttribute<MediaObject,
Topics> MediaObject_.topics
static javax.persistence.metamodel.ListAttribute<MediaObject,
TwitterRef> MediaObject_.twitterRefs
static javax.persistence.metamodel.ListAttribute<MediaObject,
Website> MediaObject_.websites
Modifier and TypeMethodDescriptionstatic <T extends MediaObject>
TMediaObjects.deepCopy
(T media) Perfomrs of deep copy of the media object, this is currently implemented by serializing/deserializing it.<T extends MediaObject>
Optional<T>Searches the mediaobject with given mid in the table.<T extends MediaObject>
Optional<T>MediaTable.findByCrid
(String crid) default <T extends MediaObject>
T<T extends MediaObject>
Tdefault <T extends MediaObject>
TDefaulting version ofMediaProvider.findByMid(boolean, String)
with first argumenttrue
static <B extends MediaBuilder<B,
T>, T extends MediaObject>
BMediaBuilder.of
(T media) static <T extends MediaObject>
List<Location>MediaObjects.updateAndRemoveLocationsForOwner
(T incomingMedia, T mediaToUpdate, Predicate<nl.vpro.domain.media.support.Ownable> owns, nl.vpro.domain.media.support.OwnerType owner) static <T extends MediaObject>
List<Location>MediaObjects.updateAndRemoveLocationsForOwner
(T incomingMedia, T mediaToUpdate, nl.vpro.domain.media.support.OwnerType owner) static <T extends MediaObject>
voidMediaObjects.updateLocationsForOwner
(T incomingMedia, T mediaToUpdate, Predicate<nl.vpro.domain.media.support.Ownable> owns, nl.vpro.domain.media.support.OwnerType owner, boolean steal) static <T extends MediaObject>
voidMediaObjects.updateLocationsForOwner
(T incomingMedia, T mediaToUpdate, nl.vpro.domain.media.support.OwnerType owner, boolean steal) Modifier and TypeMethodDescriptionMediaObject.addBroadcaster
(@NonNull Broadcaster broadcaster) MediaObject.addContentRating
(ContentRating rating) MediaObject.addCountry
(@NonNull com.neovisionaries.i18n.CountryCode country) MediaObject.addCountry
(@NonNull org.meeuw.i18n.regions.Region country) MediaObject.addCountry
(String code) MediaObject.addDescription
(@Nullable String description, @NonNull nl.vpro.domain.media.support.OwnerType owner, @NonNull TextualType type) MediaObject.addDescription
(Description description) MediaObject.addLanguage
(@NonNull Locale language) MediaObject.addLocation
(Location location) MediaObject.addRelation
(@NonNull Relation relation) MediaObject.addThirdParty
(ThirdParty thirdParty) MediaObject.addTitle
(@NonNull String title, @NonNull nl.vpro.domain.media.support.OwnerType owner, @NonNull TextualType type) MediaType.createInstance()
Deprecated.@Nullable MediaObject
MemberRef.getGroup()
Returns the representing the 'group' role in this member-ref-relation.final MediaObject
MediaType.getMediaInstance()
Member.getMember()
MemberRef.getMember()
@Nullable MediaObject
MediaObject.getMergedTo()
AbstractScheduleEvent.getParent()
Credits.getParent()
Location.getParent()
Prediction.getParent()
AuthorityLocations.RealizeResult.getProgram()
MediaObject.giveCredits
(Credits credit) default MediaObject
default MediaObject
MediaObject.removeCrid
(String crid) MediaObject.setContentRatings
(List<ContentRating> contentRatings) @NonNull MediaObject
MediaObject.setPublishStartInstant
(Instant publishStart) @NonNull MediaObject
MediaObject.setPublishStopInstant
(Instant publishStop) MediaObject.setWebsites
(List<Website> websites) Modifier and TypeMethodDescriptionMediaObject.findAncestry
(MediaObject ancestor) MediaObject.getAncestors()
Segment.getAncestors()
final Class<? extends MediaObject>
MediaType.getMediaObjectClass()
@NonNull Iterator<MediaObject>
MediaTable.iterator()
static List<MediaObject>
MemberRefs.listMembers
(List<MemberRef> memberRefs) static List<MediaObject>
MemberRefs.listOwners
(List<MemberRef> memberRefs) @NonNull List<MediaObject>
default List<MediaObject>
MediaTable.stream()
Modifier and TypeMethodDescriptionMediaTable.add
(MediaObject mo) static void
MediaObjects.addAll
(@NonNull MediaObject mediaObject, Iterable<Location> i) protected static void
MediaObjects.appendReason
(MediaObject media, String reason, Object... args) static Credits
Credits.copy
(Credits credits, MediaObject mediaObject) static Location
Location.copy
(Location source, MediaObject parent) static void
MediaObjects.copy
(@NonNull MediaObject from, @NonNull MediaObject to) Copies most field values from one media object to another.static MemberRef
MemberRef.copy
(MemberRef source, MediaObject member) static Name
Name.copy
(Name source, MediaObject parent) static Person
Person.copy
(Person source, MediaObject parent) static Prediction
Prediction.copy
(Prediction source, MediaObject parent) Copied a prediction to a new parent, with authorityAuthority.USER
static void
MediaObjects.copyFull
(@NonNull MediaObject from, @NonNull MediaObject to) A more full copy, also copying field that you could normally would not copy, like MID.protected static void
MediaObjects.correctPrediction
(Prediction prediction, MediaObject mediaObject) // TODO: I think is is a bit odd that this kind of logic happens here.static boolean
MediaObjects.equalsOnAnyId
(MediaObject first, MediaObject second) static boolean
MediaObjects.equalsOnCrid
(MediaObject first, MediaObject second) MediaObject.findAncestry
(MediaObject ancestor) protected void
MediaObject.findAncestry
(MediaObject ancestor, List<MediaObject> ancestors) protected void
Program.findAncestry
(MediaObject ancestor, List<MediaObject> ancestors) protected void
Segment.findAncestry
(MediaObject ancestor, List<MediaObject> ancestors) Program.findEpisodeOfRef
(MediaObject owner) Program.findEpisodeOfRef
(MediaObject owner, Integer number) @Nullable MemberRef
MediaObject.findMemberOfRef
(MediaObject owner) @Nullable MemberRef
MediaObject.findMemberOfRef
(MediaObject owner, Integer number) MemberRefs.findRef
(Collection<MemberRef> collection, MediaObject owner) MemberRefs.findRef
(Collection<MemberRef> collection, MediaObject owner, Integer number) static DescendantRef
DescendantRef.forOwner
(MediaObject media) static void
MediaObjects.forOwner
(MediaObject media, nl.vpro.domain.media.support.OwnerType owner) Sets the owner of all titles, descriptions, locations and images found in given MediaObjectMediaObjects.getAvailableLocation
(Platform platform, MediaObject m, Instant now) Determines if for a given platform, the media object has a location, and returns (one) if there is.static String
MediaObjectAccess.getCurrentCorrelationId
(MediaObject m) static Stream<GTAARecord>
MediaObjects.getGTAARecords
(MediaObject media) static String
MediaObjects.getKijkwijzer
(@NonNull MediaObject media) static @NonNull MediaType
MediaType.getMediaType
(MediaObject media) MediaObjects.getMemberRefs
(MediaObject o) static StreamingStatusImpl
MediaObjectAccess.getModifiableStreamingPlatformStatus
(MediaObject object) MediaObjects.getPath
(MediaObject parent, MediaObject child, List<? extends MediaObject> descendants) TODO: javadocMediaObjects.getPath
(MediaObject parent, MediaObject child, Map<String, MediaObject> descendants) MediaObjects.getPersons
(MediaObject o) MediaObjects.getPlannedPlatformNamesInLowerCaseOrAll
(MediaObject media) static Relation
MediaObjects.getRelation
(@NonNull MediaObject object, String relationType) static String
MediaObjects.getRelationText
(@NonNull MediaObject object, String relationType) static SortedSet<ScheduleEvent>
MediaObjects.getScheduleEvents
(MediaObject media) Returns theScheduleEvent
s associated with the media object.static Instant
MediaObjects.getSortInstant
(@NonNull MediaObject mo) static AvailableSubtitlesWorkflow
MediaObjectAccess.getSubtitlesWorkflow
(MediaObject object) static TwitterRef
MediaObjects.getTwitterAccount
(@NonNull MediaObject object) static TwitterRef
MediaObjects.getTwitterHash
(@NonNull MediaObject object) boolean
MediaObject.hasAncestor
(MediaObject ancestor) boolean
Program.hasAncestor
(MediaObject ancestor) boolean
Segment.hasAncestor
(MediaObject ancestor) boolean
MediaObject.hasDescendant
(MediaObject descendant) boolean
MediaObject.hasMember
(MediaObject member) boolean
Program.isEpisodeOf
(MediaObject owner) boolean
MediaObject.isMemberOf
(MediaObject owner) boolean
MediaObject.isMemberOf
(MediaObject owner, Integer number) static boolean
MemberRefs.isOf
(Collection<MemberRef> collection, MediaObject owner) static boolean
MemberRefs.isOf
(Collection<MemberRef> collection, MediaObject owner, Integer number) static boolean
MediaObjects.isPlayable
(MediaObject media) Whether this mediaobject is playable in a NPO player.static boolean
MediaObjects.isWebonly
(MediaObject media) static boolean
MediaObjects.markForDeletionIfNeeded
(@NonNull MediaObject media, @Pattern(regexp="[a-z, ]+",flags=CASE_INSENSITIVE) String reason) static boolean
MediaObjects.markForRepublication
(@NonNull MediaObject media, String reason, Object... args) static boolean
MediaObjects.markForUnDeletionIfNeeded
(@NonNull MediaObject media, String reason) static void
MediaObjects.markPublished
(@NonNull MediaObject media, @NonNull Instant now) Marks the fields of the media object related to publishing as published.static void
MediaObjects.markPublishedAndSetCorrectWorkflow
(@NonNull MediaObject media, @NonNull Instant now) Sets the workflow of the media object to the 'published' state version of the workflow (Workflow.isPublishable()
()}static void
MediaObjects.matchBroadcasters
(BroadcasterService broadcasterService, MediaObject mediaObject) @NonNull Person.Builder
Person.Builder.mediaObject
(MediaObject mediaObject) @NonNull MemberRef.Builder
MemberRef.Builder.member
(MediaObject member) default B
MediaBuilder.memberOf
(@NonNull MediaObject media, Integer number) default B
MediaBuilder.memberOf
(MediaObject media) default B
MediaBuilder.mergedTo
(MediaObject media) void
MediaObject.mergeImages
(MediaObject incoming, nl.vpro.domain.media.support.OwnerType owner) MediaObjects.nowPlayable
(@NonNull MediaObject mediaObject) static boolean
MediaObjects.nowPlayable
(@NonNull Platform platform, @NonNull MediaObject mediaObject) Whether the given mediaobject is now playable at given platform@NonNull GeoLocations.Builder
GeoLocations.Builder.parent
(MediaObject parent) @NonNull MemberRef.Builder
MemberRef.Builder.parent
(MediaObject parent) @NonNull Prediction.Builder
Prediction.Builder.parent
(MediaObject parent) @NonNull Topics.Builder
Topics.Builder.parent
(MediaObject parent) MediaObjects.playability
(@NonNull Platform platform, @NonNull MediaObject mediaObject, @NonNull Predicate<Prediction> predictionPredicate, @NonNull Predicate<Location> locationPredicate) protected static boolean
MediaObjects.playabilityCheck
(@NonNull Platform platform, @NonNull MediaObject mediaObject, @NonNull Predicate<Prediction> predictionPredicate, @NonNull Predicate<Location> locationPredicate) MediaObjects.playableRange
(@NonNull Platform platform, @NonNull MediaObject mediaObject) Returns for a certain platform the range it which a mediaobject is playable.MediaObjects.playableRanges
(@NonNull MediaObject mediaObject) AsMediaObjects.playableRanges(MediaObject, ZoneId)
, but returning ranges ofInstant
, indicating absolute times.static Map<Platform,
com.google.common.collect.Range<LocalDateTime>> MediaObjects.playableRanges
(@NonNull MediaObject mediaObject, ZoneId zoneId) Given aMediaObject
returns a map with for every platform for which that is relevant aRange
ofLocalDateTime
is return indicating the period this object is playable at that platformAuthorityLocations.RealizeResult.Builder.program
(MediaObject program) AuthorityLocations.realizeStreamingPlatformIfNeeded
(@NonNull MediaObject mediaObject, @NonNull Platform platform) This will be called per platform if an NEP notify is received.void
AuthorityLocations.removeLocationForPlatformIfNeeded
(@NonNull MediaObject mediaObject, Platform platform, Predicate<Location> locationPredicate, Instant now) static void
MediaObjects.removeLocations
(@NonNull MediaObject mediaObject) static boolean
MediaObjects.revokeRelatedPublishables
(MediaObject media, Instant now) static <T extends PublishableObject<?>>
booleanMediaObjects.revokeRelatedPublishables
(MediaObject media, Collection<T> publishables, Instant now, Runnable callbackOnChange) static void
MediaObjectAccess.setAuthorizedDuration
(MediaObject o, Duration duration) void
MemberRef.setGroup
(MediaObject owner) void
MemberRef.setMember
(MediaObject member) void
MediaObject.setMergedTo
(@Nullable MediaObject mergedTo) Mark this object as being merged to another mediaobject.static void
MediaObjectAccess.setMid
(MediaObject o, String mid) void
AbstractScheduleEvent.setParent
(MediaObject mediaObject) void
Credits.setParent
(MediaObject mo) void
Location.setParent
(MediaObject mediaObject) void
Prediction.setParent
(MediaObject mo) static void
MediaObjectAccess.setRepubDate
(MediaObject object, Instant repubDate) static void
MediaObjectAccess.setStreamingPlatformStatus
(MediaObject object, StreamingStatusImpl status) static void
MediaObjectAccess.setSubtitlesWorkflow
(MediaObject object, AvailableSubtitlesWorkflow subtitlesWorkflow) protected void
MediaType.setType
(MediaObject o) static void
MediaObjectAccess.setWorkflow
(@NonNull MediaObject object, Workflow workflow, String reason) static void
MediaObjectAccess.setWorkflow
(MediaObject object, Workflow workflow) static boolean
MediaObjects.subtitlesMayBePublished
(MediaObject media) static Prediction
Prediction.unavailable
(MediaObject parent, Platform platform, Authority authority) static Prediction
MediaObjects.updatePrediction
(MediaObject media, Platform platform, Embargo embargo, Encryption drm) static Prediction
MediaObjects.updatePrediction
(MediaObject media, Platform platform, Prediction.State state) static boolean
AuthorityLocations.updatePredictionStates
(MediaObject object, Instant now) After locations are added or removed, this may have effect on the state of theprediction records
static boolean
AuthorityLocations.updatePredictionStates
(MediaObject mediaObject, Platform platform, Instant now) static Prediction
Prediction.virtual
(MediaObject parent, Platform platform, Authority authority) MediaObjects.wasPlayable
(@NonNull MediaObject mediaObject) static boolean
MediaObjects.wasPlayable
(@NonNull Platform platform, @NonNull MediaObject mediaObject) MediaObjects.willBePlayable
(@NonNull MediaObject mediaObject) Determines on whichPlatform
s the givenMediaObject
will be playable.static boolean
MediaObjects.willBePlayable
(@NonNull Platform platform, @NonNull MediaObject mediaObject) Returns whether the mediaobject for given platform is now not playable, but will be.static Optional<LocalDateTime>
MediaObjects.willBePlayableAt
(Platform platform, MediaObject mediaObject) Determines for a certainPlatform
s andMediaObject
when it might become playable.Modifier and TypeMethodDescriptionprotected void
MediaObject.findAncestry
(MediaObject ancestor, List<MediaObject> ancestors) protected void
Program.findAncestry
(MediaObject ancestor, List<MediaObject> ancestors) protected void
Segment.findAncestry
(MediaObject ancestor, List<MediaObject> ancestors) MediaObjects.getPath
(MediaObject parent, MediaObject child, List<? extends MediaObject> descendants) TODO: javadocMediaObjects.getPath
(MediaObject parent, MediaObject child, Map<String, MediaObject> descendants) static MediaType[]
MediaType.leafValues
(Class<? extends MediaObject> clazz) ModifierConstructorDescriptionGeoLocations
(@NonNull MediaObject parent, @NonNull nl.vpro.domain.media.support.OwnerType owner) Location
(Location source, MediaObject parent) MediaObject
(MediaObject source) MemberRef
(Long id, MediaObject member, MediaObject parent, Integer number, nl.vpro.domain.media.support.OwnerType owner) MemberRef
(MediaObject member, MediaObject parent, Integer number, nl.vpro.domain.media.support.OwnerType owner) MemberRef
(MemberRef source, MediaObject member, nl.vpro.domain.media.support.OwnerType owner) Name
(Name source, MediaObject parent) Person
(Person source, MediaObject parent) RealizeResult
(MediaObject program, boolean needed, String reason, List<Location> locations, AVType avType) Topics
(@NonNull MediaObject parent, @NonNull nl.vpro.domain.media.support.OwnerType owner) -
Uses of MediaObject in nl.vpro.domain.media.exceptions
ModifierConstructorDescriptionCircularReferenceException
(MediaObject child, List<MediaObject> ancestry) ModifierConstructorDescriptionCircularReferenceException
(MediaObject child, List<MediaObject> ancestry) -
Uses of MediaObject in nl.vpro.domain.media.search
-
Uses of MediaObject in nl.vpro.domain.media.support
Modifier and TypeFieldDescriptionprotected MediaObject
AbstractMediaObjectOwnableList.parent
protected MediaObject
Description.parent
protected MediaObject
Title.parent
Modifier and TypeFieldDescriptionstatic javax.persistence.metamodel.SingularAttribute<Image,
MediaObject> Image_.mediaObject
static javax.persistence.metamodel.SingularAttribute<AbstractMediaObjectOwnableList,
MediaObject> AbstractMediaObjectOwnableList_.parent
static javax.persistence.metamodel.SingularAttribute<Description,
MediaObject> Description_.parent
static javax.persistence.metamodel.SingularAttribute<Title,
MediaObject> Title_.parent
Modifier and TypeMethodDescriptionstatic <P extends MediaObjectOwnableList<P,
I>, I extends MediaObjectOwnableListItem<I, P>>
MediaObjectMediaObjectOwnableLists.addOrUpdateOwnableList
(@NonNull MediaObject parent, @NonNull Collection<P> list, @NonNull P newOwnableList) AbstractMediaObjectOwnableList.getParent()
Description.getParent()
Image.getParent()
Title.getParent()
Modifier and TypeMethodDescriptionstatic <P extends MediaObjectOwnableList<P,
I>, I extends MediaObjectOwnableListItem<I, P>>
MediaObjectMediaObjectOwnableLists.addOrUpdateOwnableList
(@NonNull MediaObject parent, @NonNull Collection<P> list, @NonNull P newOwnableList) static <P extends MediaObjectOwnableList<P,
I>, I extends MediaObjectOwnableListItem<I, P>>
voidMediaObjectOwnableLists.addOrUpdateOwnableListForOwner
(@NonNull MediaObject parent, @NonNull SortedSet<P> toUpdate, @Nullable SortedSet<P> incoming, nl.vpro.domain.media.support.OwnerType forOwner) static Description
Description.copy
(Description source, MediaObject parent) static Title
Title.copy
(Title source, MediaObject parent) static <P extends MediaObjectOwnableList<P,
I>, I extends MediaObjectOwnableListItem<I, P>>
voidMediaObjectOwnableLists.set
(@NonNull MediaObject parent, @NonNull Set<P> existingCollection, @NonNull Set<P> newCollection) static <P extends MediaObjectOwnableList<P,
I>, I extends MediaObjectOwnableListItem<I, P>>
voidMediaObjectOwnableLists.setIfNotNull
(@NonNull MediaObject parent, @Nullable Set<P> existingCollection, @NonNull Set<P> newCollection) void
AbstractMediaObjectOwnableList.setParent
(MediaObject parent) void
Description.setParent
(MediaObject parent) void
Image.setParent
(MediaObject mediaObject) void
Title.setParent
(MediaObject parent) ModifierConstructorDescriptionDescription
(Description source, MediaObject parent) Title
(Title source, MediaObject parent) -
Uses of MediaObject in nl.vpro.domain.media.update
Modifier and TypeClassDescriptionclass
MediaUpdate<M extends MediaObject>
A MediaUpdate is meant for communicating updates.Modifier and TypeMethodDescriptionstatic <M extends MediaObject>
@PolyNull MediaUpdate<M>MediaUpdate.create
(@PolyNull M object) static <M extends MediaObject>
@PolyNull MediaUpdate<M>MediaUpdate.create
(@PolyNull M object, nl.vpro.domain.media.support.OwnerType owner) static <M extends MediaObject>
@PolyNull MediaUpdate<M>MediaUpdate.create
(@PolyNull M object, nl.vpro.domain.media.support.OwnerType owner, IntegerVersion version) static <M extends MediaObject,
MB extends MediaBuilder<MB, M>>
MediaUpdate<M>MediaUpdate.createUpdate
(MB object, nl.vpro.domain.media.support.OwnerType ownerType) static <N extends MediaObject>
StringMediaUpdate.violationMessage
(Set<? extends javax.validation.ConstraintViolation<? extends MediaUpdate<? extends N>>> violations) Modifier and TypeMethodDescriptionAssemblageConfig.getDeleteBroadcasters()
AssemblageConfig.getInferDurationFromScheduleEvents()
AssemblageConfig.getMarkForDeleteOnly()
AssemblageConfig.getPublishImmediately()
org.meeuw.functional.TriPredicate<MediaObject,
MediaObject, String> AssemblageConfig.getStealCrids()
Matching happens on crid.org.meeuw.functional.TriPredicate<MediaObject,
MediaObject, String> AssemblageConfig.getStealCrids()
Matching happens on crid.Modifier and TypeMethodDescriptionboolean
AssemblageConfig.Steal.test
(MediaObject incoming, MediaObject toUpdate) boolean
AssemblageConfig.TriStealImpl.test
(MediaObject mediaObject, MediaObject mediaObject2, T t) Modifier and TypeMethodDescription@NonNull AssemblageConfig.Builder
AssemblageConfig.Builder.deleteBroadcasters
(Predicate<MediaObject> deleteBroadcasters) @NonNull AssemblageConfig.Builder
AssemblageConfig.Builder.inferDurationFromScheduleEvents
(BiPredicate<MediaObject, AssemblageConfig> inferDurationFromScheduleEvents) @NonNull AssemblageConfig.Builder
AssemblageConfig.Builder.markForDeleteOnly
(BiPredicate<MediaObject, PublishableObject<?>> markForDeleteOnly) @NonNull AssemblageConfig.Builder
AssemblageConfig.Builder.publishImmediately
(Function<MediaObject, Optional<String>> publishImmediately) void
AssemblageConfig.setDeleteBroadcasters
(Predicate<MediaObject> deleteBroadcasters) void
AssemblageConfig.setInferDurationFromScheduleEvents
(BiPredicate<MediaObject, AssemblageConfig> inferDurationFromScheduleEvents) void
AssemblageConfig.setMarkForDeleteOnly
(BiPredicate<MediaObject, PublishableObject<?>> markForDeleteOnly) void
AssemblageConfig.setPublishImmediately
(Function<MediaObject, Optional<String>> publishImmediately) void
AssemblageConfig.setStealCrids
(org.meeuw.functional.TriPredicate<MediaObject, MediaObject, String> stealCrids) Matching happens on crid.void
AssemblageConfig.setStealCrids
(org.meeuw.functional.TriPredicate<MediaObject, MediaObject, String> stealCrids) Matching happens on crid.@NonNull AssemblageConfig.Builder
AssemblageConfig.Builder.stealCrids
(org.meeuw.functional.TriPredicate<MediaObject, MediaObject, String> stealCrids) Matching happens on crid.@NonNull AssemblageConfig.Builder
AssemblageConfig.Builder.stealCrids
(org.meeuw.functional.TriPredicate<MediaObject, MediaObject, String> stealCrids) Matching happens on crid.ModifierConstructorDescriptionAssemblageConfig
(nl.vpro.domain.media.support.OwnerType owner, List<nl.vpro.domain.media.support.OwnerType> similarOwnerTypes, boolean copyWorkflow, Boolean copyLanguageAndCountry, boolean imageMetaData, Boolean copyPredictions, Authority authority, boolean episodeOfUpdate, boolean guessEpisodePosition, BiPredicate<MemberRef, AssemblageConfig> memberOfUpdate, boolean ratingsUpdate, Boolean copyTwitterRefs, boolean copyIntentions, boolean copyTargetGroups, boolean copyGeoLocations, boolean copyTopics, BiPredicate<List<String>, Relation> relations, boolean createScheduleEvents, Predicate<Program> deleteIfNoScheduleEventsLeft, Duration mergeScheduleEvents, BiPredicate<MediaObject, AssemblageConfig> inferDurationFromScheduleEvents, boolean locationsUpdate, AssemblageConfig.Steal stealMids, org.meeuw.functional.TriPredicate<MediaObject, MediaObject, String> stealCrids, AssemblageConfig.Steal stealSegments, BiPredicate<Segment, AssemblageConfig> segmentsForDeletion, Predicate<String> cridsForDelete, AssemblageConfig.Steal updateType, boolean followMerges, AssemblageConfig.MidRequire requireIncomingMid, BiPredicate<MediaObject, PublishableObject<?>> markForDeleteOnly, Predicate<MediaObject> deleteBroadcasters, Function<MediaObject, Optional<String>> publishImmediately, nl.vpro.logging.simple.SimpleLogger logger) AssemblageConfig
(nl.vpro.domain.media.support.OwnerType owner, List<nl.vpro.domain.media.support.OwnerType> similarOwnerTypes, boolean copyWorkflow, Boolean copyLanguageAndCountry, boolean imageMetaData, Boolean copyPredictions, Authority authority, boolean episodeOfUpdate, boolean guessEpisodePosition, BiPredicate<MemberRef, AssemblageConfig> memberOfUpdate, boolean ratingsUpdate, Boolean copyTwitterRefs, boolean copyIntentions, boolean copyTargetGroups, boolean copyGeoLocations, boolean copyTopics, BiPredicate<List<String>, Relation> relations, boolean createScheduleEvents, Predicate<Program> deleteIfNoScheduleEventsLeft, Duration mergeScheduleEvents, BiPredicate<MediaObject, AssemblageConfig> inferDurationFromScheduleEvents, boolean locationsUpdate, AssemblageConfig.Steal stealMids, org.meeuw.functional.TriPredicate<MediaObject, MediaObject, String> stealCrids, AssemblageConfig.Steal stealSegments, BiPredicate<Segment, AssemblageConfig> segmentsForDeletion, Predicate<String> cridsForDelete, AssemblageConfig.Steal updateType, boolean followMerges, AssemblageConfig.MidRequire requireIncomingMid, BiPredicate<MediaObject, PublishableObject<?>> markForDeleteOnly, Predicate<MediaObject> deleteBroadcasters, Function<MediaObject, Optional<String>> publishImmediately, nl.vpro.logging.simple.SimpleLogger logger) AssemblageConfig
(nl.vpro.domain.media.support.OwnerType owner, List<nl.vpro.domain.media.support.OwnerType> similarOwnerTypes, boolean copyWorkflow, Boolean copyLanguageAndCountry, boolean imageMetaData, Boolean copyPredictions, Authority authority, boolean episodeOfUpdate, boolean guessEpisodePosition, BiPredicate<MemberRef, AssemblageConfig> memberOfUpdate, boolean ratingsUpdate, Boolean copyTwitterRefs, boolean copyIntentions, boolean copyTargetGroups, boolean copyGeoLocations, boolean copyTopics, BiPredicate<List<String>, Relation> relations, boolean createScheduleEvents, Predicate<Program> deleteIfNoScheduleEventsLeft, Duration mergeScheduleEvents, BiPredicate<MediaObject, AssemblageConfig> inferDurationFromScheduleEvents, boolean locationsUpdate, AssemblageConfig.Steal stealMids, org.meeuw.functional.TriPredicate<MediaObject, MediaObject, String> stealCrids, AssemblageConfig.Steal stealSegments, BiPredicate<Segment, AssemblageConfig> segmentsForDeletion, Predicate<String> cridsForDelete, AssemblageConfig.Steal updateType, boolean followMerges, AssemblageConfig.MidRequire requireIncomingMid, BiPredicate<MediaObject, PublishableObject<?>> markForDeleteOnly, Predicate<MediaObject> deleteBroadcasters, Function<MediaObject, Optional<String>> publishImmediately, nl.vpro.logging.simple.SimpleLogger logger) TriStealImpl
(org.meeuw.functional.TriPredicate<MediaObject, MediaObject, T> wrapped) TriStealImpl
(org.meeuw.functional.TriPredicate<MediaObject, MediaObject, T> wrapped)