@StableMinor(version="12.3", sinceVersion="8.1") public interface IBigDataRepositorySPI extends IBigDataRepository
To implement a custom big data repository, this interface must be implemented.
The implementation of this interface must be thread-safe.
The lifecycle of a big data repository is:
init(java.lang.String)
method is called.destroy()
method is called.Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy this repository and performs any required resource freeing.
|
Map<Locale,IFile> |
getSynonymsFiles()
Return a map with all files that the portal need to create based the Locales of synonyms and Locales of portal.
|
void |
init(String repositoryId)
Initializes this repository using the given
node as configuration. |
void |
reloadSynonyms()
Reloads the synonyms in this repository.
|
addOrUpdateDocumentType, addOrUpdateDocumentType, deleteDocumentType, getDelegate, getDocumentType, getDocumentTypeField, readDocument, startBatch
addDocument, addOrUpdateDocument, deleteDocument, deleteDocumentsByFieldValue, deleteDocumentsByFieldValue, deleteDocumentsByQuery, updateDocumentsByQuerySync
getAutoCompleteSuggestions, search, validate
void init(String repositoryId)
node
as configuration.repositoryId
- the repository identifier.void destroy()
void reloadSynonyms() throws AccessDeniedException, PortalException
PortalException
- if some error occur.AccessDeniedException
- if user doesn't have the appropriate permission.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.