//import eu.etaxonomy.taxeditor.remoting.cache.CdmTransientEntityCacher;
import eu.etaxonomy.cdm.cache.EntityCacherDebugResult;
import eu.etaxonomy.cdm.model.common.CdmBase;
+import eu.etaxonomy.cdm.persistence.dao.initializer.IBeanInitializer;
import eu.etaxonomy.cdm.persistence.dto.MergeResult;
import eu.etaxonomy.taxeditor.remoting.cache.ConversationalTransientEntityCacher;
import net.sf.ehcache.statistics.LiveCacheStatistics;
// }
- /* (non-Javadoc)
- * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#load(java.util.UUID, java.lang.Class)
+ /**
+ * Returns a persisted entity specified by the <code>uuid</code>
+ * or null if the entity does not exist,
+ * loads it to the entityCacher
+ *
+ * @param service
+ * @param uuid
+ *
+ * @return
*/
@Override
public <T extends CdmBase> T remoteLoad(IService<T> service, UUID uuid) {
}
- /* (non-Javadoc)
- * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#load(eu.etaxonomy.cdm.api.service.IService, java.util.UUID, java.util.List)
+ /**
+ * Returns the cdm entity specified by the <code>uuid</code>,
+ * recursively initializes all bean properties given in the
+ * <code>propertyPaths</code> parameter,
+ * the loaded entity is also loaded to the entityCache
+ * <p>
+ * For detailed description and examples <b>please refer to:</b>
+ * {@link IBeanInitializer#initialize(Object, List)}
+ *
+ * @param service
+ * @param uuid
+ * @param propertyPath
+ *
+ * @return
*/
@Override
public <T extends CdmBase> T remoteLoad(IService<T> service, UUID uuid, List<String> propertyPaths) {