|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.unimi.dico.islab.idbs2.cloud.session.CloudManager
public class CloudManager
Manages object saving and querying for Cloud
wrapper. This class contains
most used interrogations and methods for saving an
object of Cloud
class.
IMPORTANT: this class has no public constructor. A singleton instance of this class is contained
in CloudSessionManager
class
Method Summary | |
---|---|
Cloud |
getCloudById(Integer id)
|
protected static CloudManager |
getCloudManager()
|
void |
saveOrUpdate(Cloud cloud)
Give persistence to this Cloud 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 CloudManager getCloudManager()
public void saveOrUpdate(Cloud cloud)
Give persistence to this Cloud
object using associated Hibernate mappings.
This method executes the saveOrUpdate
method of the Hibernate Session
.
As Cloud
is the main class of this package, by saving this object a cascade save is started for all connected objects (nodes, edges, and all classes connected
to them).
public Cloud getCloudById(Integer id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |