From e6d6ed68820b7cd88a40be890519cee2ce65f165 Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Fri, 26 Jun 2009 11:05:10 +0000
Subject: [PATCH] [LMS-991] implemented for PhosphoNetX

SVN: 11581
---
 .../plugin/phosphonetx/server/PhosphoNetXServer.java | 12 ++++++------
 .../phosphonetx/server/PhosphoNetXServerLogger.java  |  6 ++----
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServer.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServer.java
index 3ac9ef19976..df08222c02f 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServer.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServer.java
@@ -49,7 +49,7 @@ public class PhosphoNetXServer extends AbstractServer<IPhosphoNetXServer> implem
 {
     @Resource(name = ResourceNames.PHOSPHONETX_DAO_FACTORY)
     private IPhosphoNetXDAOFactory specificDAOFactory;
-    
+
     public PhosphoNetXServer()
     {
         super();
@@ -71,13 +71,13 @@ public class PhosphoNetXServer extends AbstractServer<IPhosphoNetXServer> implem
         return IPhosphoNetXServer.class;
     }
 
-    public IPhosphoNetXServer createLogger(boolean invocationSuccessful)
+    public IPhosphoNetXServer createLogger(boolean invocationSuccessful, long elapsedTime)
     {
-        return new PhosphoNetXServerLogger(getSessionManager(), invocationSuccessful);
+        return new PhosphoNetXServerLogger(getSessionManager(), invocationSuccessful, elapsedTime);
     }
 
-    public List<ProteinReference> listProteinReferencesByExperiment(String sessionToken, TechId experimentId)
-            throws UserFailureException
+    public List<ProteinReference> listProteinReferencesByExperiment(String sessionToken,
+            TechId experimentId) throws UserFailureException
     {
         ExperimentPE experiment = getDAOFactory().getExperimentDAO().getByTechId(experimentId);
         String permId = experiment.getPermId();
@@ -87,5 +87,5 @@ public class PhosphoNetXServer extends AbstractServer<IPhosphoNetXServer> implem
         refrences.addAll(resultSet);
         return refrences;
     }
-    
+
 }
diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServerLogger.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServerLogger.java
index 934b7562fb2..5baa17ea414 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServerLogger.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/PhosphoNetXServerLogger.java
@@ -31,16 +31,14 @@ import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.IPhosphoNetXServer;
 import ch.systemsx.cisd.openbis.plugin.phosphonetx.shared.dto.ProteinReference;
 
 /**
- * 
- *
  * @author Franz-Josef Elmer
  */
 public class PhosphoNetXServerLogger extends AbstractServerLogger implements IPhosphoNetXServer
 {
     PhosphoNetXServerLogger(final ISessionManager<Session> sessionManager,
-            final boolean invocationSuccessful)
+            final boolean invocationSuccessful, final long elapsedTime)
     {
-        super(sessionManager, invocationSuccessful);
+        super(sessionManager, invocationSuccessful, elapsedTime);
     }
 
     public SampleGenerationDTO getSampleInfo(String sessionToken, SampleIdentifier sampleIdentifier)
-- 
GitLab