dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33313
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16998: removed unncessary @Transactional on AbstractEventService methods, already annotation on implemen...
------------------------------------------------------------
revno: 16998
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-10-08 15:41:51 +0700
message:
removed unncessary @Transactional on AbstractEventService methods, already annotation on implementation class
modified:
dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java'
--- dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java 2014-10-08 08:04:34 +0000
+++ dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/AbstractEventService.java 2014-10-08 08:41:51 +0000
@@ -70,7 +70,6 @@
import org.hisp.dhis.trackedentitydatavalue.TrackedEntityDataValueService;
import org.hisp.dhis.user.CurrentUserService;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.Assert;
import java.io.IOException;
@@ -145,7 +144,6 @@
// -------------------------------------------------------------------------
@Override
- @Transactional
public ImportSummaries addEvents( List<Event> events, ImportOptions importOptions )
{
ImportSummaries importSummaries = new ImportSummaries();
@@ -169,7 +167,6 @@
}
@Override
- @Transactional
public ImportSummaries addEvents( List<Event> events, ImportOptions importOptions, TaskId taskId )
{
notifier.clear( taskId ).notify( taskId, "Importing events" );
@@ -194,14 +191,12 @@
}
@Override
- @Transactional
public ImportSummary addEvent( Event event )
{
return addEvent( event, null );
}
@Override
- @Transactional
public ImportSummary addEvent( Event event, ImportOptions importOptions )
{
Program program = programService.getProgram( event.getProgram() );