Class HistoryServiceFactory
java.lang.Object
org.qubership.atp.itf.lite.backend.service.history.impl.HistoryServiceFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRestoreHistoryService(String itemType, UUID itemId) Returns the concrete implementation of RestoreHistoryService depending of entity type.getRetrieveHistoryService(String itemType, UUID itemId) Returns the concrete implementation of RetrieveHistoryService depending on entity type.
-
Constructor Details
-
HistoryServiceFactory
public HistoryServiceFactory()
-
-
Method Details
-
getRestoreHistoryService
Returns the concrete implementation of RestoreHistoryService depending of entity type.- Parameters:
itemType- type of domain entity with supported history- Returns:
- RestoreHistoryService implementation
-
getRetrieveHistoryService
Returns the concrete implementation of RetrieveHistoryService depending on entity type.- Parameters:
itemType- type of domain entity with supported history- Returns:
- RetrieveHistoryService implementation
-