Class HistoryServiceImpl
java.lang.Object
ch.tocco.nice2.netui.actions.impl.HistoryServiceImpl
- All Implemented Interfaces:
HistoryService
-
Constructor Summary
ConstructorDescriptionHistoryServiceImpl
(HistoryDataStore historyDataStore, EntityVersionControl versionControl, LocaleResolverService localeResolverService, TimezoneResolverService timezoneResolverService) -
Method Summary
Modifier and TypeMethodDescriptiongetEntity
(long pk) Returns the domain entity as xml.getVersions
(HistorySearchParams searchParams) Returns the versions of the entity with the given entity model, key and given search params.
-
Constructor Details
-
HistoryServiceImpl
public HistoryServiceImpl(HistoryDataStore historyDataStore, EntityVersionControl versionControl, LocaleResolverService localeResolverService, TimezoneResolverService timezoneResolverService)
-
-
Method Details
-
getVersions
Description copied from interface:HistoryService
Returns the versions of the entity with the given entity model, key and given search params.- Specified by:
getVersions
in interfaceHistoryService
-
getDiff
- Specified by:
getDiff
in interfaceHistoryService
-
getEntity
Description copied from interface:HistoryService
Returns the domain entity as xml.- Specified by:
getEntity
in interfaceHistoryService
-