public class MappingSetManager extends Object
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| Modifier and Type | Method and Description |
|---|---|
MappingSet |
getMappingSetById(Integer id) |
protected static MappingSetManager |
getMappingSetManager() |
void |
saveOrUpdate(MappingSet mset)
Give persistence to the given
MappingSet object using associated Hibernate mappings. |
protected static MappingSetManager getMappingSetManager()
public MappingSet getMappingSetById(Integer id)
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).