Search in sources :

Example 1 with OnStudyEventUpdated

use of org.akaza.openclinica.patterns.ocobserver.OnStudyEventUpdated in project OpenClinica by OpenClinica.

the class StudyEventDao method saveOrUpdateTransactional.

public StudyEvent saveOrUpdateTransactional(StudyEventContainer container) {
    StudyEvent event = saveOrUpdate(container.getEvent());
    this.eventPublisher.publishEvent(new OnStudyEventUpdated(container));
    return event;
}
Also used : OnStudyEventUpdated(org.akaza.openclinica.patterns.ocobserver.OnStudyEventUpdated) StudyEvent(org.akaza.openclinica.domain.datamap.StudyEvent)

Example 2 with OnStudyEventUpdated

use of org.akaza.openclinica.patterns.ocobserver.OnStudyEventUpdated in project OpenClinica by OpenClinica.

the class StudyEventDao method saveOrUpdate.

@Transactional
public StudyEvent saveOrUpdate(StudyEventContainer container) {
    StudyEvent event = saveOrUpdate(container.getEvent());
    this.eventPublisher.publishEvent(new OnStudyEventUpdated(container));
    return event;
}
Also used : OnStudyEventUpdated(org.akaza.openclinica.patterns.ocobserver.OnStudyEventUpdated) StudyEvent(org.akaza.openclinica.domain.datamap.StudyEvent) Transactional(org.springframework.transaction.annotation.Transactional)

Aggregations

StudyEvent (org.akaza.openclinica.domain.datamap.StudyEvent)2 OnStudyEventUpdated (org.akaza.openclinica.patterns.ocobserver.OnStudyEventUpdated)2 Transactional (org.springframework.transaction.annotation.Transactional)1