|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.unimi.dico.islab.idbs2.map.session.MappingSetManager
public class MappingSetManager
Manages object saving and querying for
MappingSet
wrapper. This class contains
most used interrogations (such as getKnowledgeChunkById
and methods for saving an
object of this class.
IMPORTANT: this class has no public constructor. A singleton instance of this class is contained
in MapSessionManager
class
MappingSet
Method Summary | |
---|---|
protected static MappingSetManager |
getMappingSetManager()
|
void |
saveOrUpdate(MappingSet mset)
Give persistence to the given MappingSet object using associated Hibernate mappings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected static MappingSetManager getMappingSetManager()
public void saveOrUpdate(MappingSet mset)
Give persistence to the given MappingSet
object using associated Hibernate mappings.
This method executes the saveOrUpdate
method of the Hibernate Session
.
As the saved object is the main class of this package, by saving this object a cascade save is started for all connected objects (configuration,
new used relations, created users and mappings).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |