|
||||||||||
| 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.MappingManager
public class MappingManager
Manages object saving and querying for
Mapping wrapper. This class contains
most used interrogations 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 MappingManager |
getMappingManager()
|
void |
saveOrUpdate(Mapping m)
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 MappingManager getMappingManager()
public void saveOrUpdate(Mapping m)
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 | |||||||||