Class SessionService
java.lang.Object
org.qubership.integration.platform.sessions.service.SessionService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSessionService(SessionAggregateMapper sessionMapper, OpenSearchClientSupplier openSearchClientSupplier, com.fasterxml.jackson.databind.ObjectMapper mapper, SessionElementMapper sessionElementMapper, OpenSearchProperties openSearchProperties) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllByChainIds(List<String> chainIds) voidvoiddeleteByChainId(String chainId) voiddeleteByField(String fieldName, String value, boolean refresh) voiddeleteByFieldValues(String fieldName, List<String> values, boolean refresh) voiddeleteBySessionId(String sessionId) voiddeleteBySessionIds(List<String> sessionIds) findByExternalSessionId(String externalSessionId, boolean includeElements) getElementById(String elementId) getSessions(String chainId, int offset, int limit, String sortColumn, FilterRequestAndSearchDTO filterRequest)
-
Field Details
-
SESSION_ID_KEY
- See Also:
-
CHAIN_ID_KEY
- See Also:
-
EXTERNAL_SESSION_ID_KEY
- See Also:
-
STARTED_KEY
- See Also:
-
-
Constructor Details
-
SessionService
@Autowired public SessionService(SessionAggregateMapper sessionMapper, OpenSearchClientSupplier openSearchClientSupplier, com.fasterxml.jackson.databind.ObjectMapper mapper, SessionElementMapper sessionElementMapper, OpenSearchProperties openSearchProperties)
-
-
Method Details
-
findByExternalSessionId
-
findById
-
getElementById
-
deleteBySessionId
-
deleteByChainId
-
deleteAllSessions
public void deleteAllSessions() -
deleteByField
-
deleteByFieldValues
-
deleteAllByChainIds
-
deleteBySessionIds
-
getSessions
public SessionSearchResponse getSessions(String chainId, int offset, int limit, String sortColumn, FilterRequestAndSearchDTO filterRequest)
-