Package lumis.portal.bigdata
Interface StandardDocument.Standard
-
- Enclosing class:
- StandardDocument
@StableMinor(version="14.0", sinceVersion="8.1") public static interface StandardDocument.Standard
API that provides access to standard fields.- Since:
- 8.1.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
StandardDocument.Standard.Categories
API that provides access to categorization fields.static interface
StandardDocument.Standard.Publication
API that provides access to publications fields.static interface
StandardDocument.Standard.Tag
Represents a content tag.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addContextIds(String... contextIds)
Adds the given context identifiers in this document.void
addContextIds(Collection<String> contextIds)
Adds the given context identifiers in this document.void
addOtherLocales(String... otherLocales)
Adds other locales of this document.void
addOtherLocales(Collection<String> otherLocales)
Adds other locales of this document.StandardDocument.Standard.Publication
addPublication()
Adds a new publications field in this document.StandardDocument.Standard.Tag
addTag()
Adds a tag in the tag list of this content locale and returns it.StandardDocument.Standard.Categories
getCategories()
Returns the value ofStandardDocumentType.StandardFields.CATEGORIES
stored in this document.List<String>
getContextIds()
Returns the context identifiers present in this document.String
getIntroduction()
Returns the introduction present in this document.String
getIntroductionImageFileId()
Returns the file identifier of the introduction image present in this document.String
getIntroductionImageHref()
Returns the href (absolute or relative to portal root) of the introduction image present in this document.String
getItemId()
Returns the item identifier present in this document.String
getLocale()
Returns this document locale.Collection<String>
getOtherLocales()
Returns the other locales of this document.Double
getPopularity()
Returns this document popularity.List<StandardDocument.Standard.Publication>
getPublications()
Returns the access to the fields belonging to thepublications
fields in this document.Date
getPublishDateTime()
Returns the publish date time in this document.String
getServiceId()
Returns the service identifier present in this document.String
getServiceInstanceId()
Returns the service instance identifier present in this document.String
getSourceId()
Returns this document sourceId.List<StandardDocument.Standard.Tag>
getTags()
Returns the tag list present in this content locale.String
getTitle()
Returns the title present in this document.Boolean
isDefaultLocale()
Returns whether this document is the default document for missing locales.void
setDefaultLocale(Boolean isDefault)
Sets whether this document is the default document for missing locales.
This means this document should be used when no other equivalent document exist for a given search or filter.void
setIntroduction(String introduction)
Sets the given introduction in this document.void
setIntroductionImageFileId(String introductionImageFileId)
Sets the file identifier corresponding to the introduction image in this document.void
setIntroductionImageHref(String introductionImageHref)
Sets the href (absolute or relative to portal root) corresponding to the introduction image in this document.void
setItemId(String itemId)
Sets the given item identifier in this document.void
setLocale(String locale)
Sets the locale.void
setPopularity(Double popularity)
Sets the popularity.void
setPublishDateTime(Date publishDateTime)
Sets the publish date time in this document.void
setServiceId(String serviceId)
Sets the given service identifier in this document.void
setServiceInstanceId(String serviceInstanceId)
Sets the service instance identifier in this document.void
setSourceId(String sourceId)
Sets the sourceId.void
setTitle(String title)
Sets the given title in this document.
-
-
-
Method Detail
-
setServiceId
void setServiceId(String serviceId)
Sets the given service identifier in this document.- Parameters:
serviceId
- the service identifier to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.SERVICE_ID
-
getServiceId
String getServiceId()
Returns the service identifier present in this document.- Returns:
- the service identifier present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.SERVICE_ID
-
setServiceInstanceId
void setServiceInstanceId(String serviceInstanceId)
Sets the service instance identifier in this document.- Parameters:
serviceInstanceId
- the service instance identifier to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.SERVICE_INSTANCE_ID
-
getServiceInstanceId
String getServiceInstanceId()
Returns the service instance identifier present in this document.- Returns:
- the service instance identifier present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.SERVICE_INSTANCE_ID
-
setTitle
void setTitle(String title)
Sets the given title in this document.- Parameters:
title
- the title value to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.TITLE
-
getTitle
String getTitle()
Returns the title present in this document.- Returns:
- the title present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.TITLE
-
setIntroduction
void setIntroduction(String introduction)
Sets the given introduction in this document.- Parameters:
introduction
- the introduction value to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.INTRODUCTION
-
getIntroduction
String getIntroduction()
Returns the introduction present in this document.- Returns:
- the introduction present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.INTRODUCTION
-
setIntroductionImageFileId
void setIntroductionImageFileId(String introductionImageFileId)
Sets the file identifier corresponding to the introduction image in this document.- Parameters:
introductionImageFileId
- the introduction image file identifier to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.INTRODUCTION_IMAGE_FILE_ID
-
getIntroductionImageFileId
String getIntroductionImageFileId()
Returns the file identifier of the introduction image present in this document.- Returns:
- the file identifier of the introduction image present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.INTRODUCTION_IMAGE_FILE_ID
-
setIntroductionImageHref
void setIntroductionImageHref(String introductionImageHref)
Sets the href (absolute or relative to portal root) corresponding to the introduction image in this document.- Parameters:
introductionImageHref
- the introduction image href value to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.INTRODUCTION_IMAGE_HREF
-
getIntroductionImageHref
String getIntroductionImageHref()
Returns the href (absolute or relative to portal root) of the introduction image present in this document.- Returns:
- the href (absolute or relative to portal root) of the introduction image present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.INTRODUCTION_IMAGE_HREF
-
setPublishDateTime
void setPublishDateTime(Date publishDateTime)
Sets the publish date time in this document.- Parameters:
publishDateTime
- the publish date time value to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLISH_DATE_TIME
-
getPublishDateTime
Date getPublishDateTime()
Returns the publish date time in this document.- Returns:
- the publish date time.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLISH_DATE_TIME
-
addContextIds
void addContextIds(Collection<String> contextIds)
Adds the given context identifiers in this document.- Parameters:
contextIds
- the context identifiers to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.CONTEXT_IDS
-
addContextIds
void addContextIds(String... contextIds)
Adds the given context identifiers in this document.- Parameters:
contextIds
- the context identifiers to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.CONTEXT_IDS
-
getContextIds
List<String> getContextIds()
Returns the context identifiers present in this document.- Returns:
- the context identifiers present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.CONTEXT_IDS
-
addPublication
StandardDocument.Standard.Publication addPublication()
Adds a new publications field in this document.- Returns:
- the added publications fields access.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLICATIONS
-
getPublications
List<StandardDocument.Standard.Publication> getPublications()
Returns the access to the fields belonging to thepublications
fields in this document.The returned list does not support the set method and its remove method always return
null
, even when it removes a value.- Returns:
- the access to the fields belonging to the publications fields in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLICATIONS
-
setItemId
void setItemId(String itemId)
Sets the given item identifier in this document.- Parameters:
itemId
- the item identifier to set.- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.ITEM_ID
-
getItemId
String getItemId()
Returns the item identifier present in this document.- Returns:
- the item identifier present in this document.
- Since:
- 8.1.0
- See Also:
StandardDocumentType.StandardFields.ITEM_ID
-
setLocale
void setLocale(String locale)
Sets the locale.- Parameters:
locale
- the locale.- Since:
- 8.1.0
-
getLocale
String getLocale()
Returns this document locale.- Returns:
- this document locale.
- Since:
- 8.1.0
-
setDefaultLocale
void setDefaultLocale(Boolean isDefault)
Sets whether this document is the default document for missing locales.
This means this document should be used when no other equivalent document exist for a given search or filter.- Parameters:
isDefault
- whether this document is the default document for missing locales.- Since:
- 8.1.0
-
isDefaultLocale
Boolean isDefaultLocale()
Returns whether this document is the default document for missing locales.- Returns:
- whether this document is the default document for missing locales.
- Since:
- 8.1.0
- See Also:
setDefaultLocale(Boolean)
-
addOtherLocales
void addOtherLocales(String... otherLocales)
Adds other locales of this document. These are the other languages this document is also available in.- Parameters:
otherLocales
- the other locales of this document.- Since:
- 8.1.0
-
addOtherLocales
void addOtherLocales(Collection<String> otherLocales)
Adds other locales of this document. These are the other languages this document is also available in.- Parameters:
otherLocales
- the other locales of this document.- Since:
- 8.1.0
-
getOtherLocales
Collection<String> getOtherLocales()
Returns the other locales of this document.- Returns:
- the other locales of this document.
- Since:
- 8.1.0
-
getCategories
StandardDocument.Standard.Categories getCategories()
Returns the value ofStandardDocumentType.StandardFields.CATEGORIES
stored in this document.- Returns:
- the value of
StandardDocumentType.StandardFields.CATEGORIES
stored in this document. - Since:
- 9.0.0
- See Also:
ContentVersion.getContentAssociations()
-
getTags
List<StandardDocument.Standard.Tag> getTags()
Returns the tag list present in this content locale.- Returns:
- the tag list present in this content locale.
- Since:
- 9.0.0
-
addTag
StandardDocument.Standard.Tag addTag()
Adds a tag in the tag list of this content locale and returns it.- Returns:
- the created tag.
- Since:
- 9.0.0
-
setPopularity
void setPopularity(Double popularity)
Sets the popularity.- Parameters:
popularity
- the popularity.- Since:
- 11.1.0
-
getPopularity
Double getPopularity()
Returns this document popularity.- Returns:
- this document popularity.
- Since:
- 11.1.0
-
setSourceId
void setSourceId(String sourceId)
Sets the sourceId.- Parameters:
sourceId
- the sourceId.- Since:
- 11.1.0
-
getSourceId
String getSourceId()
Returns this document sourceId.- Returns:
- this document sourceId.
- Since:
- 11.1.0
-
-