Project

General

Profile

Revision 5f8f8bc1

ID5f8f8bc1061aa4c5218cca71849b309edb521c13
Parent f628fac5
Child e6f55e01

Added by Katja Luther almost 2 years ago

add javadoc to remoteLoad

View differences:

eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/session/CdmEntitySession.java
23 23
//import eu.etaxonomy.taxeditor.remoting.cache.CdmTransientEntityCacher;
24 24
import eu.etaxonomy.cdm.cache.EntityCacherDebugResult;
25 25
import eu.etaxonomy.cdm.model.common.CdmBase;
26
import eu.etaxonomy.cdm.persistence.dao.initializer.IBeanInitializer;
26 27
import eu.etaxonomy.cdm.persistence.dto.MergeResult;
27 28
import eu.etaxonomy.taxeditor.remoting.cache.ConversationalTransientEntityCacher;
28 29
import net.sf.ehcache.statistics.LiveCacheStatistics;
......
222 223
//    }
223 224

  
224 225

  
225
    /* (non-Javadoc)
226
     * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#load(java.util.UUID, java.lang.Class)
226
    /**
227
     *  Returns a persisted entity specified by the <code>uuid</code>
228
     *  or null if the entity does not exist,
229
     *  loads it to the entityCacher
230
     *
231
     * @param service
232
     * @param uuid
233
     *
234
     * @return
227 235
     */
228 236
    @Override
229 237
    public  <T extends CdmBase>  T remoteLoad(IService<T> service, UUID uuid) {
......
232 240
    }
233 241

  
234 242

  
235
    /* (non-Javadoc)
236
     * @see eu.etaxonomy.taxeditor.session.ICdmEntitySession#load(eu.etaxonomy.cdm.api.service.IService, java.util.UUID, java.util.List)
243
    /**
244
     * Returns the cdm entity specified by the <code>uuid</code>,
245
     * recursively initializes all bean properties given in the
246
     * <code>propertyPaths</code> parameter,
247
     * the loaded entity is also loaded to the entityCache
248
     * <p>
249
     * For detailed description and examples <b>please refer to:</b>
250
     * {@link IBeanInitializer#initialize(Object, List)}
251
     *
252
     * @param service
253
     * @param uuid
254
     * @param propertyPath
255
     *
256
     * @return
237 257
     */
238 258
    @Override
239 259
    public <T extends CdmBase>  T remoteLoad(IService<T> service, UUID uuid, List<String> propertyPaths) {

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)