Package lumis.portal.ai.bigdata
Interface KnowledgeStandardDocument.Knowledge.Publication
-
- Enclosing interface:
- KnowledgeStandardDocument.Knowledge
public static interface KnowledgeStandardDocument.Knowledge.Publication
API that provides access to publications fields.- Since:
- 16.1.0
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
KnowledgeStandardDocument.Knowledge.Publication.Context
API that provides access to contexts fields.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KnowledgeStandardDocument.Knowledge.Publication.Context
addContext()
Adds a new contexts field in this publication.void
addPrincipalIds(java.lang.String... principalIds)
Adds the given principal identifiers to this publication.void
addPrincipalIds(java.util.Collection<java.lang.String> principalIds)
Adds the given principal identifiers to this publication.java.util.List<KnowledgeStandardDocument.Knowledge.Publication.Context>
getContexts()
Returns the access to the fields belonging to the contexts fields in this publication.java.util.List<java.lang.String>
getPrincipalIds()
Returns the principal identifiers present in this publication.
-
-
-
Method Detail
-
getPrincipalIds
java.util.List<java.lang.String> getPrincipalIds()
Returns the principal identifiers present in this publication.- Returns:
- the principal identifiers present in this publication.
- Since:
- 16.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLICATIONS_PRINCIPAL_IDS
-
addPrincipalIds
void addPrincipalIds(java.lang.String... principalIds)
Adds the given principal identifiers to this publication.- Parameters:
principalIds
- the principal identifiers to add.- Since:
- 16.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLICATIONS_PRINCIPAL_IDS
-
addPrincipalIds
void addPrincipalIds(java.util.Collection<java.lang.String> principalIds)
Adds the given principal identifiers to this publication.- Parameters:
principalIds
- the principal identifiers to add.- Since:
- 16.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLICATIONS_PRINCIPAL_IDS
-
getContexts
java.util.List<KnowledgeStandardDocument.Knowledge.Publication.Context> getContexts()
Returns the access to the fields belonging to the contexts fields in this publication.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 contexts fields in this publication.
- Since:
- 16.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLICATIONS_CONTEXTS
-
addContext
KnowledgeStandardDocument.Knowledge.Publication.Context addContext()
Adds a new contexts field in this publication.- Returns:
- the added contexts fields access.
- Since:
- 16.1.0
- See Also:
StandardDocumentType.StandardFields.PUBLICATIONS_CONTEXTS
-
-