Revision 703e8efc
Added by Cherian Mathew about 9 years ago
eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/session/ICdmEntitySessionManager.java | ||
---|---|---|
23 | 23 |
// public abstract <T extends CdmBase> Collection<T> load( |
24 | 24 |
// ISessionEventListener sessionOwner, Collection<T> cdmBaseList); |
25 | 25 |
|
26 |
public abstract <T extends CdmBase> Collection<T> load( |
|
27 |
Collection<T> cdmBaseList); |
|
26 |
public abstract <T extends CdmBase> Collection<T> load(Collection<T> cdmBaseList); |
|
28 | 27 |
|
29 |
public abstract void dispose(ICdmEntitySessionEnabled owner); |
|
28 |
//public abstract void dispose(ICdmEntitySessionEnabled owner);
|
|
30 | 29 |
|
31 | 30 |
/** |
32 | 31 |
* @return |
33 | 32 |
*/ |
34 | 33 |
public ICdmEntitySession getActiveSession(); |
35 | 34 |
|
35 |
public Collection<ICdmEntitySession> getSessions(); |
|
36 |
|
|
37 |
public void addSessionObserver(ICdmEntitySessionManagerObserver sessionObserver); |
|
38 |
|
|
36 | 39 |
//FIXME:Remoting would be nice to have these methods working, |
37 | 40 |
// but they can only be useful if we can 'intelligently' |
38 | 41 |
// get from a model class to the correspoding service class |
... | ... | |
51 | 54 |
// public abstract void commit(IService service, CdmBase cdmBase); |
52 | 55 |
|
53 | 56 |
|
57 |
public boolean isRemoting(); |
|
58 |
|
|
54 | 59 |
|
55 | 60 |
} |
Also available in: Unified diff
CdmRemoteCacheManager : added cache getter methods
CdmTransientEntityCacher, CdmEntitySession, CdmEntitySessionManager, ICdmEntitySession, ICdmEntitySessionManager, ICdmEntitySessionManagerObserver, MockCdmEntitySession, MockCdmEntitySessionManager , eu.etaxonomy.taxeditor.cdmlib/src/main/resources/cdmlib-ehcache.xml : added statistics config , getter method for live stats and observer to update when sessions are bound and disposed
eu.etaxonomy.taxeditor.store/plugin.xml, SessionsViewPart : added new sessions debug view
MatchStrategyConfigurator : moved to cdmlib
ParseHandler, AbstractMatchingPreferences, NonViralNameMatchingPreference, ReferenceMatchingPreference, TeamOrPersonMatchingPreference : refactored after removal of MatchStrategyConfigurator replaced by enum MatchStrategy