Project

General

Profile

« Previous | Next » 

Revision 348d552a

Added by Cherian Mathew about 9 years ago

AbstractPersistentCollection : fixed loading of collection
MockCdmEntitySessionManager, MockCdmEntitySession, ICdmEntitySessionManager, ICdmEntitySession, CdmEntitySessionManager,
CdmEntitySession : added new load method with choice to update client object graph
TermServiceRequestExecutor : using cacher instead of cache
ICachedCommonService, CachedCommonServiceImpl, ProxyUtils : moved utility methods to utility class
CdmServiceRequestExecutor : updating client object graph when calling merge
EntityCacherDebugResult : corrections for output string
CdmTransientEntityCacher : corrected cache configuration, added load methods with update choice, added service cacher check before put
CacheLoader : checking in recursive call if collection and maps are already visited
CdmRemotingException : added constructor with exception as argument
CdmServiceCacher : corrected cache configuration and loading of entities from default cache

View differences:

eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/session/ICdmEntitySession.java
18 18

  
19 19
    public LiveCacheStatistics getCacheStatistics();
20 20

  
21
	public  <O extends Object> O load(O obj);
21
	public  <O extends Object> O load(O obj, boolean update);
22 22

  
23
	public  <T extends CdmBase> T load(T cdmBase);
23
	public  <T extends CdmBase> T load(T cdmBase, boolean update);
24 24

  
25 25
	public <T extends CdmBase> EntityCacherDebugResult debug(T cdmBase);
26 26

  
......
28 28

  
29 29
	public <T extends CdmBase> EntityCacherDebugResult debug();
30 30

  
31
	public <T extends CdmBase> Collection<T> load(Collection<T> cdmBaseList);
31
	public <T extends CdmBase> Collection<T> load(Collection<T> cdmBaseList, boolean update);
32 32

  
33 33
	public  void setEntitiesAsLatest();
34 34

  
......
82 82

  
83 83
    public boolean isActive();
84 84

  
85
    /**
86
     * @param cdmBase
87
     * @param affectedObject
88
     */
89
    public <T extends ICdmBase> void update(T cdmBase, CdmBase affectedObject);
90

  
85 91

  
86 92

  
87 93

  

Also available in: Unified diff