@Service @Transactional(propagation=MANDATORY) public class HistoryEntryServiceImpl extends java.lang.Object implements HistoryEntryService
| Constructor and Description |
|---|
HistoryEntryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
HistoryEntry |
addHistoryEntry(DocumentId documentId,
java.lang.String comment) |
void |
deleteBy(DocumentId documentId) |
java.util.List<HistoryEntry> |
findBy(DocumentId documentId) |
public HistoryEntry addHistoryEntry(DocumentId documentId, java.lang.String comment) throws DocumentNotFoundException
addHistoryEntry in interface HistoryEntryServiceDocumentNotFoundExceptionpublic void deleteBy(DocumentId documentId) throws DocumentNotFoundException
deleteBy in interface HistoryEntryServiceDocumentNotFoundExceptionpublic java.util.List<HistoryEntry> findBy(DocumentId documentId) throws DocumentNotFoundException
findBy in interface HistoryEntryServiceDocumentNotFoundException