This is an automated email from the git hooks/post-receive script. New change to branch feature/7599-PS-VerifObjetFlottant in repository tutti. See http://git.codelutin.com/tutti.git at 1212280 icone du DCP dans les menus "Remonter ves.." et "Descendre vers..." This branch includes the following new commits: new 870b998 Ajout de trace dans les appels des services. new 1212280 icone du DCP dans les menus "Remonter ves.." et "Descendre vers..." The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit 12122802157c708db552ef0e69eeaac9a64314d4 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Mon Mar 7 11:29:15 2016 +0100 icone du DCP dans les menus "Remonter ves.." et "Descendre vers..." commit 870b9981db976da5aad184df1bf20b2524afc965 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Mon Mar 7 11:27:48 2016 +0100 Ajout de trace dans les appels des services. -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/7599-PS-VerifObjetFlottant in repository tutti. See http://git.codelutin.com/tutti.git commit 870b9981db976da5aad184df1bf20b2524afc965 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Mon Mar 7 11:27:48 2016 +0100 Ajout de trace dans les appels des services. --- .../service/seine/FloatingObjectServiceTopia.java | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/observe-services-topia/src/main/java/fr/ird/observe/services/service/seine/FloatingObjectServiceTopia.java b/observe-services-topia/src/main/java/fr/ird/observe/services/service/seine/FloatingObjectServiceTopia.java index 2632952..a82b1fe 100644 --- a/observe-services-topia/src/main/java/fr/ird/observe/services/service/seine/FloatingObjectServiceTopia.java +++ b/observe-services-topia/src/main/java/fr/ird/observe/services/service/seine/FloatingObjectServiceTopia.java @@ -35,6 +35,8 @@ import fr.ird.observe.services.dto.result.SaveResultDto; import fr.ird.observe.services.dto.seine.ActivitySeineDto; import fr.ird.observe.services.dto.seine.FloatingObjectDto; import fr.ird.observe.services.service.DataNotFoundException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import java.util.List; @@ -43,8 +45,13 @@ import java.util.List; */ public class FloatingObjectServiceTopia extends ObserveServiceTopia implements FloatingObjectService { + private static final Log log = LogFactory.getLog(FloatingObjectServiceTopia.class); + @Override public DataReferenceSet<FloatingObjectDto> getFloatingObjectByActivitySeine(String activitySeineId) { + if (log.isTraceEnabled()) { + log.trace("getFloatingObjectByActivitySeine(" + activitySeineId + ")"); + } ReferentialLocale referenceLocale = getReferentialLocale(); @@ -57,6 +64,9 @@ public class FloatingObjectServiceTopia extends ObserveServiceTopia implements F @Override public DataReference<FloatingObjectDto> loadReferenceToRead(String floatingObjectId) { + if (log.isTraceEnabled()) { + log.trace("loadReferenceToRead(" + floatingObjectId + ")"); + } FloatingObject floatingObject = loadEntity(FloatingObjectDto.class, floatingObjectId); return toReference(floatingObject); @@ -65,16 +75,27 @@ public class FloatingObjectServiceTopia extends ObserveServiceTopia implements F @Override public FloatingObjectDto loadDto(String floatingObjectId) { + if (log.isTraceEnabled()) { + log.trace("loadDto(" + floatingObjectId + ")"); + } + return loadEntityToDataDto(FloatingObjectDto.class, floatingObjectId); } @Override public boolean exists(String floatingObjectId) { + if (log.isTraceEnabled()) { + log.trace("exists(" + floatingObjectId + ")"); + } + return existsEntity(FloatingObject.class, floatingObjectId); } @Override public Form<FloatingObjectDto> loadForm(String floatingObjectId) { + if (log.isTraceEnabled()) { + log.trace("loadForm(" + floatingObjectId + ")"); + } FloatingObject floatingObject = loadEntity(FloatingObjectDto.class, floatingObjectId); @@ -87,6 +108,9 @@ public class FloatingObjectServiceTopia extends ObserveServiceTopia implements F @Override public Form<FloatingObjectDto> preCreate(String activitySeineId) { + if (log.isTraceEnabled()) { + log.trace("preCreate(" + activitySeineId + ")"); + } FloatingObject floatingObject = newEntity(FloatingObject.class); @@ -99,6 +123,9 @@ public class FloatingObjectServiceTopia extends ObserveServiceTopia implements F @Override public SaveResultDto save(String activitySeineId, FloatingObjectDto dto) { + if (log.isTraceEnabled()) { + log.trace("save(" + activitySeineId + ", " + dto.getId() + ")"); + } ActivitySeine activitySeine = loadEntity(ActivitySeineDto.class, activitySeineId); @@ -118,6 +145,9 @@ public class FloatingObjectServiceTopia extends ObserveServiceTopia implements F @Override public void delete(String activitySeineId, String floatingObjectId) { + if (log.isTraceEnabled()) { + log.trace("delete(" + activitySeineId + ", " + floatingObjectId + ")"); + } ActivitySeine activitySeine = loadEntity(ActivitySeineDto.class, activitySeineId); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/7599-PS-VerifObjetFlottant in repository tutti. See http://git.codelutin.com/tutti.git commit 12122802157c708db552ef0e69eeaac9a64314d4 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Mon Mar 7 11:29:15 2016 +0100 icone du DCP dans les menus "Remonter ves.." et "Descendre vers..." --- observe-application-swing/src/main/filters/observe-ui.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/observe-application-swing/src/main/filters/observe-ui.properties b/observe-application-swing/src/main/filters/observe-ui.properties index 466ce03..ed76d2d 100644 --- a/observe-application-swing/src/main/filters/observe-ui.properties +++ b/observe-application-swing/src/main/filters/observe-ui.properties @@ -59,7 +59,7 @@ icon.navigation.fr.ird.observe.services.dto.seine.TripSeineDto-16=navigation/ird icon.navigation.fr.ird.observe.services.dto.seine.RouteDto-16=navigation/ird/route16.png icon.navigation.fr.ird.observe.services.dto.seine.ActivitySeineDto-16=navigation/ird/activity16.png icon.navigation.fr.ird.observe.services.dto.seine.ActivitySeineDto.sub-16=navigation/ird/observedSystem16.png -icon.navigation.fr.ird.observe.services.dto.seine.FloatingObjecDtot-16=navigation/ird/floatingObject16.png +icon.navigation.fr.ird.observe.services.dto.seine.FloatingObjectDto-16=navigation/ird/floatingObject16.png icon.navigation.fr.ird.observe.services.dto.seine.SetSeineDto-16=navigation/ird/set16.png icon.navigation.fr.ird.observe.services.dto.longline.TripLonglineDto-16=navigation/ird/trip16.png -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm