Package nl.vpro.domain.media.search
Class PublishableListItem<S extends PublishableListItem<S>>
- java.lang.Object
-
- nl.vpro.domain.media.search.PublishableListItem<S>
-
- All Implemented Interfaces:
Embargo
,Identifiable<Long>
,MutableEmbargo<S>
- Direct Known Subclasses:
ImageListItem
,MediaListItem
public abstract class PublishableListItem<S extends PublishableListItem<S>> extends Object implements MutableEmbargo<S>, Identifiable<Long>
- Since:
- 3.4
- Author:
- Roelof Jan Koekoek
-
-
Field Summary
Fields Modifier and Type Field Description protected Editor
createdBy
protected Instant
creationInstant
protected Long
id
protected Editor
lastModifiedBy
protected Instant
lastModifiedInstant
protected Instant
lastPublished
protected Instant
publishStart
protected Instant
publishStop
protected Workflow
workflow
-
Constructor Summary
Constructors Modifier Constructor Description protected
PublishableListItem()
protected
PublishableListItem(PublishableObject<?> mediaObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Editor
getCreatedBy()
Instant
getCreationInstant()
Boolean
getDeletedAttributeValue()
Long
getId()
Editor
getLastModifiedBy()
Instant
getLastModifiedInstant()
Instant
getLastPublished()
Instant
getPublishStartInstant()
Instant
getPublishStopInstant()
String
getUrn()
Workflow
getWorkflow()
boolean
isDeleted()
void
setCreatedBy(Editor createdBy)
void
setCreationInstant(Instant creationInstant)
void
setDeletedAttributeValue(Boolean deleted)
void
setId(Long id)
void
setLastModifiedBy(Editor lastModifiedBy)
void
setLastModifiedInstant(Instant lastModifiedInstant)
void
setLastPublished(Instant lastPublished)
@NonNull S
setPublishStartInstant(Instant publishStart)
@NonNull S
setPublishStopInstant(Instant publishStop)
void
setUrn(String urn)
void
setWorkflow(Workflow workflow)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.vpro.domain.Embargo
asRange, inPublicationWindow, inPublicationWindow, isPublishable, isUnderEmbargo, isUnderEmbargo, wasUnderEmbargo, wasUnderEmbargo, willBePublished, willBePublished, willBeUnderEmbargo, willBeUnderEmbargo
-
Methods inherited from interface nl.vpro.domain.MutableEmbargo
set
-
-
-
-
Field Detail
-
id
protected Long id
-
workflow
protected Workflow workflow
-
lastModifiedBy
protected Editor lastModifiedBy
-
createdBy
protected Editor createdBy
-
lastModifiedInstant
protected Instant lastModifiedInstant
-
creationInstant
protected Instant creationInstant
-
publishStart
protected Instant publishStart
-
publishStop
protected Instant publishStop
-
lastPublished
protected Instant lastPublished
-
-
Constructor Detail
-
PublishableListItem
protected PublishableListItem()
-
PublishableListItem
protected PublishableListItem(PublishableObject<?> mediaObject)
-
-
Method Detail
-
getUrn
public String getUrn()
-
setUrn
public void setUrn(String urn)
-
getDeletedAttributeValue
public Boolean getDeletedAttributeValue()
-
setDeletedAttributeValue
public void setDeletedAttributeValue(Boolean deleted)
-
isDeleted
public boolean isDeleted()
-
getId
public Long getId()
- Specified by:
getId
in interfaceIdentifiable<S extends PublishableListItem<S>>
-
setId
public void setId(Long id)
-
getWorkflow
public Workflow getWorkflow()
-
setWorkflow
public void setWorkflow(Workflow workflow)
-
getLastModifiedBy
public Editor getLastModifiedBy()
-
setLastModifiedBy
public void setLastModifiedBy(Editor lastModifiedBy)
-
getCreatedBy
public Editor getCreatedBy()
-
setCreatedBy
public void setCreatedBy(Editor createdBy)
-
getLastModifiedInstant
public Instant getLastModifiedInstant()
-
setLastModifiedInstant
public void setLastModifiedInstant(Instant lastModifiedInstant)
-
getCreationInstant
public Instant getCreationInstant()
-
setCreationInstant
public void setCreationInstant(Instant creationInstant)
-
getPublishStartInstant
public Instant getPublishStartInstant()
- Specified by:
getPublishStartInstant
in interfaceEmbargo
-
setPublishStartInstant
public @NonNull S setPublishStartInstant(Instant publishStart)
- Specified by:
setPublishStartInstant
in interfaceMutableEmbargo<S extends PublishableListItem<S>>
-
getPublishStopInstant
public Instant getPublishStopInstant()
- Specified by:
getPublishStopInstant
in interfaceEmbargo
-
setPublishStopInstant
public @NonNull S setPublishStopInstant(Instant publishStop)
- Specified by:
setPublishStopInstant
in interfaceMutableEmbargo<S extends PublishableListItem<S>>
-
getLastPublished
public Instant getLastPublished()
-
setLastPublished
public void setLastPublished(Instant lastPublished)
-
-