updated javadoc
authorCherian Mathew <c.mathew@bgbm.org>
Tue, 1 Jul 2014 09:33:40 +0000 (09:33 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Tue, 1 Jul 2014 09:33:40 +0000 (09:33 +0000)
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/IService.java

index 747ed34ec628647d211ba605b0e93e837295e36e..52a1f2268ccfa2edf348f4c0618184dcd45308bc 100644 (file)
@@ -124,7 +124,7 @@ public interface IService<T extends ICdmBase>{
      * that this method makes the hibernate read query with the \r
      * {@link org.hibernate.FlushMode FlushMode} for the session set to 'MANUAL'\r
      * <p>\r
-     * <b>NOTE:</b>This method should <em>ONLY</em> be used when it is absolutely \r
+     * <b>WARNING:</b>This method should <em>ONLY</em> be used when it is absolutely \r
      * necessary to ensure that the hibernate session is not flushed before a read\r
      * query. A use case for this is the {@link eu.etaxonomy.cdm.api.cache.CdmCacher CdmCacher},\r
      * (ticket #4276) where a call to {@link eu.etaxonomy.cdm.api.cache.CdmCacher#load(UUID) load} \r
@@ -132,10 +132,10 @@ public interface IService<T extends ICdmBase>{
      * due to the fact that the {@link #find(UUID) find} method triggers a hibernate session \r
      * flush which eventually could call {@link eu.etaxonomy.cdm.model.name.NonViralName#getNameCache getNameCache},\r
         * which in turn (in the event that name cahce is null) eventually calls the \r
-        * {@link eu.etaxonomy.cdm.api.cache.CdmCacher#load(UUID uuid)} again. \r
+        * {@link eu.etaxonomy.cdm.api.cache.CdmCacher#load(UUID uuid) load} again. \r
         * Apart from these kind of exceptional circumstances, the standard {@link #find(UUID) find}\r
-        * method should be used to ensure that the persistence layer is always in sync with the \r
-        * underlying dtabase.\r
+        * method should always be used to ensure that the persistence layer is always in sync with the \r
+        * underlying database.\r
         * \r
         * @param uuid\r
         * @return an entity of type <T>, or null if the entity does not exist\r