Package lumis.portal.bigdata
Interface IBigDataManager
-
- All Known Subinterfaces:
IBigDataManagerSPI
- All Known Implementing Classes:
BigDataManager
@StableMinor(version="14.2", sinceVersion="8.1") public interface IBigDataManager
Provides big data operations.- Since:
- 8.1.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addSynonym(ISynonym synonym)
Adds the given synonyms to be used duringdocument creation
.ISynonym
createSynonym()
void
deleteSynonyms(String... synonymIds)
Removes the synonyms with the given identifiers.IBigDataRepository
getDefaultRepository()
Returns the default big data repository.ISynonym
getSynonymById(String synonymId)
Returns the synonym with the given identifier.void
updateSynonym(ISynonym synonym)
Updates the given synonyms to be used duringdocument creation
.
-
-
-
Method Detail
-
getDefaultRepository
IBigDataRepository getDefaultRepository()
Returns the default big data repository.- Returns:
- the default big data repository.
- Since:
- 8.1.0
-
createSynonym
ISynonym createSynonym()
-
addSynonym
void addSynonym(ISynonym synonym) throws AccessDeniedException, IllegalArgumentException, TransactionRequiredException, PortalException
Adds the given synonyms to be used duringdocument creation
. This operation, however, may not have an instant effect.
Before call this method,createSynonym()
must be called to create a new instance, so it can be added.
When calling this method, there must be an activetransaction
and an activeuser's session
. The user calling this, must have themanage portal
permission.- Parameters:
synonym
- the synonyms to be added.- Throws:
IllegalArgumentException
- if the given synonym isnull
or invalid.TransactionRequiredException
- if there's no active transaction.AccessDeniedException
- if there's no active user session or the given session does not have the required permission.PortalException
- if other error occur.- Since:
- 11.1.0
-
updateSynonym
void updateSynonym(ISynonym synonym) throws AccessDeniedException, IllegalArgumentException, TransactionRequiredException, PortalException
Updates the given synonyms to be used duringdocument creation
. This operation, however, may not have an instant effect.
When calling this method, there must be an activetransaction
and an activeuser's session
. The user calling this, must have themanage portal
permission.- Parameters:
synonym
- the synonyms to be updated -- it must have been gotten throughgetSynonymById(String)
.- Throws:
IllegalArgumentException
- if the given synonym isnull
or invalid.TransactionRequiredException
- if there's no active transaction.AccessDeniedException
- if there's no active user session or the given session does not have the required permission.PortalException
- if other error occur.- Since:
- 11.1.0
-
deleteSynonyms
void deleteSynonyms(String... synonymIds) throws AccessDeniedException, IllegalArgumentException, TransactionRequiredException, PortalException
Removes the synonyms with the given identifiers. This operation, however, may not have an instant effect.
When calling this method, there must be an activetransaction
and an activeuser's session
. The user calling this, must have themanage portal
permission.- Parameters:
synonymIds
- the synonyms identifier.- Throws:
IllegalArgumentException
- ifsynonymId
isnull
.TransactionRequiredException
- if there's no active transaction.AccessDeniedException
- if there's no active user session or the given session does not have the required permission.PortalException
- if other error occur.- Since:
- 11.1.0
-
getSynonymById
ISynonym getSynonymById(String synonymId) throws AccessDeniedException, IllegalArgumentException, TransactionRequiredException, PortalObjectNotFoundException
Returns the synonym with the given identifier.
When calling this method, there must be an activetransaction
and an activeuser's session
.- Parameters:
synonymId
- the synonym identifier.- Returns:
- the synonym with the given identifier.
- Throws:
IllegalArgumentException
- ifsynonymId
isnull
.TransactionRequiredException
- if there's no active transaction.AccessDeniedException
- if there's no active user session.PortalObjectNotFoundException
- if there's no synonym with the given identifier.- Since:
- 11.1.0
-
-