Salome HOME
Studies comparison functionality is implemented.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / PublicationServiceImpl.java
index 29986c00803b057082173e5007db544713ce847d..2c13f06ff1e40e4352604846eddbd1f46f4c8c25 100644 (file)
@@ -756,9 +756,10 @@ public class PublicationServiceImpl implements PublicationService {
                if(pub == null) {
                        throw new InvalidParameterException("id", String.valueOf(publicationId));
                }
-               //res.setPathToFile(_documentService.getSaveDirectory(pub.value()).getAbsolutePath());
+               
+               res.setDocumentTitle(pub.value().getTitle());
                res.setPathToFile(pub.value().getFile().asFile().getAbsolutePath());
-               res.setScenarioTitle(pub.getOwner().getTitle());        //!!!!!
+               res.setScenarioTitle(pub.getOwner().getTitle());
                res.setStudyTitle(pub.getOwnerStudy().getTitle());
                return res;
        }