Package lumis.content.bigdata
Interface ContentVersionDocument.ContentVersionPublication
-
- Enclosing class:
- ContentVersionDocument
public static interface ContentVersionDocument.ContentVersionPublication
API that provides access to publications fields inside a content version field in this document.- Since:
- 8.1.0
- Version:
- $Revision: 24684 $ $Date: 2021-08-23 18:58:35 -0300 (Mon, 23 Aug 2021) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPrincipalIds(String... principalIds)
Adds the given principal identifiers to this publication.void
addPrincipalIds(Collection<String> principalIds)
Adds the given principal identifiers to this publication.void
addServiceInstanceIds(String... serviceInstanceIds)
Adds the given service instance identifiers to this publication.void
addServiceInstanceIds(Collection<String> serviceInstanceIds)
Adds the given service instance identifiers to this publication.Date
getHighlightEndDateTime()
Returns the value ofContentVersionDocumentType.PublicationFields.HIGHTLIGHT_END_DATE_TIME
stored in this document.List<String>
getPrincipalIds()
Returns the principal identifiers this publication was made to.Date
getPublishEndDateTime()
Returns the value ofContentVersionDocumentType.PublicationFields.PUBLISH_END_DATE_TIME
stored in this document.Date
getPublishStartDateTime()
Returns the value ofContentVersionDocumentType.PublicationFields.PUBLISH_START_DATE_TIME
stored in this document.List<String>
getServiceInstanceIds()
Returns the identifiers of the service instances this publication was made to.boolean
isHighlight()
Returns the boolean value ofContentVersionDocumentType.PublicationFields.HIGHLIGHT
stored in this document.boolean
isPublished()
Returns the value ofContentVersionDocumentType.PublicationFields.PUBLISHED
stored in this document.void
setHighlight(boolean highlight)
Sets the value forContentVersionDocumentType.PublicationFields.HIGHLIGHT
in this document.void
setHighlightEndDateTime(Date highlightEndDateTime)
Sets the value forContentVersionDocumentType.PublicationFields.HIGHTLIGHT_END_DATE_TIME
in this document.void
setPublished(boolean published)
Sets the value forContentVersionDocumentType.PublicationFields.PUBLISHED
in this document.void
setPublishEndDateTime(Date publishEndDateTime)
Sets the value forContentVersionDocumentType.PublicationFields.PUBLISH_END_DATE_TIME
in this document.void
setPublishStartDateTime(Date publishStartDateTime)
Sets the value forContentVersionDocumentType.PublicationFields.PUBLISH_START_DATE_TIME
in this document.
-
-
-
Method Detail
-
isHighlight
boolean isHighlight()
Returns the boolean value ofContentVersionDocumentType.PublicationFields.HIGHLIGHT
stored in this document.- Returns:
- the value of
ContentVersionDocumentType.PublicationFields.HIGHLIGHT
. - Since:
- 8.1.0
- See Also:
ContentPublication.isHighlight()
-
setHighlight
void setHighlight(boolean highlight)
Sets the value forContentVersionDocumentType.PublicationFields.HIGHLIGHT
in this document.- Parameters:
highlight
- the value to set.- Since:
- 8.1.0
- See Also:
ContentPublication.setHighlight(boolean)
-
getHighlightEndDateTime
Date getHighlightEndDateTime()
Returns the value ofContentVersionDocumentType.PublicationFields.HIGHTLIGHT_END_DATE_TIME
stored in this document.- Returns:
- the value of
ContentVersionDocumentType.PublicationFields.HIGHTLIGHT_END_DATE_TIME
. - Since:
- 8.1.0
- See Also:
ContentPublication.getHighlightEndDateTime()
-
setHighlightEndDateTime
void setHighlightEndDateTime(Date highlightEndDateTime)
Sets the value forContentVersionDocumentType.PublicationFields.HIGHTLIGHT_END_DATE_TIME
in this document.- Parameters:
highlightEndDateTime
- the value to set.- Since:
- 8.1.0
- See Also:
ContentPublication.setHighlightEndDateTime(Date)
-
isPublished
boolean isPublished()
Returns the value ofContentVersionDocumentType.PublicationFields.PUBLISHED
stored in this document.- Returns:
- the value of
ContentVersionDocumentType.PublicationFields.PUBLISHED
. - Since:
- 8.1.0
- See Also:
ContentPublication.isPublished()
-
setPublished
void setPublished(boolean published)
Sets the value forContentVersionDocumentType.PublicationFields.PUBLISHED
in this document.- Parameters:
published
- the value to set.- Since:
- 8.1.0
-
getPublishEndDateTime
Date getPublishEndDateTime()
Returns the value ofContentVersionDocumentType.PublicationFields.PUBLISH_END_DATE_TIME
stored in this document.- Returns:
- the value of
ContentVersionDocumentType.PublicationFields.PUBLISH_END_DATE_TIME
. - Since:
- 8.1.0
- See Also:
ContentPublication.getPublishEndDateTime()
-
setPublishEndDateTime
void setPublishEndDateTime(Date publishEndDateTime)
Sets the value forContentVersionDocumentType.PublicationFields.PUBLISH_END_DATE_TIME
in this document.- Parameters:
publishEndDateTime
- the value to set.- Since:
- 8.1.0
- See Also:
ContentPublication.setPublishEndDateTime(Date)
-
getPublishStartDateTime
Date getPublishStartDateTime()
Returns the value ofContentVersionDocumentType.PublicationFields.PUBLISH_START_DATE_TIME
stored in this document.- Returns:
- the value of
ContentVersionDocumentType.PublicationFields.PUBLISH_START_DATE_TIME
. - Since:
- 8.1.0
- See Also:
ContentPublication.getPublishStartDateTime()
-
setPublishStartDateTime
void setPublishStartDateTime(Date publishStartDateTime)
Sets the value forContentVersionDocumentType.PublicationFields.PUBLISH_START_DATE_TIME
in this document.- Parameters:
publishStartDateTime
- the value to set.- Since:
- 8.1.0
- See Also:
ContentPublication.setPublishStartDateTime(Date)
-
getServiceInstanceIds
List<String> getServiceInstanceIds()
Returns the identifiers of the service instances this publication was made to.- Returns:
- the identifiers of the service instances this publication was made to.
- Since:
- 8.1.0
- See Also:
ContentPublication.getServiceInstanceIds()
-
addServiceInstanceIds
void addServiceInstanceIds(Collection<String> serviceInstanceIds)
Adds the given service instance identifiers to this publication.- Parameters:
serviceInstanceIds
- the service instance identifiers to add.- Since:
- 8.1.0
-
addServiceInstanceIds
void addServiceInstanceIds(String... serviceInstanceIds)
Adds the given service instance identifiers to this publication.- Parameters:
serviceInstanceIds
- the service instance identifiers to add.- Since:
- 8.1.0
-
getPrincipalIds
List<String> getPrincipalIds()
Returns the principal identifiers this publication was made to.- Returns:
- the principal identifiers this publication was made to.
- Since:
- 8.1.0
- See Also:
ContentPublication.getPrincipalIds()
-
addPrincipalIds
void addPrincipalIds(Collection<String> principalIds)
Adds the given principal identifiers to this publication.- Parameters:
principalIds
- the principal identifiers to add.- Since:
- 8.1.0
-
addPrincipalIds
void addPrincipalIds(String... principalIds)
Adds the given principal identifiers to this publication.- Parameters:
principalIds
- the principal identifiers to add.- Since:
- 8.1.0
-
-