@Service(value="textHistoryService") @Transactional public class DefaultTextHistoryService extends java.lang.Object implements TextHistoryService
| Constructor and Description |
|---|
DefaultTextHistoryService(TextHistoryRepository textHistoryRepository,
LanguageService languageService,
UserService userService,
java.util.function.Function<TextHistoryJPA,TextHistoryDTO> textHistoryJpaToTextHistoryDTO) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<TextHistoryDTO> |
getAll(TextDTO textDTO) |
void |
save(Text text) |
public DefaultTextHistoryService(TextHistoryRepository textHistoryRepository, LanguageService languageService, UserService userService, java.util.function.Function<TextHistoryJPA,TextHistoryDTO> textHistoryJpaToTextHistoryDTO)
public void save(Text text)
save in interface TextHistoryServicepublic java.util.List<TextHistoryDTO> getAll(TextDTO textDTO)
getAll in interface TextHistoryService