Class GroupsCache
- java.lang.Object
-
- org.gcube.portal.social.networking.caches.GroupsCache
-
public class GroupsCache extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gcube.vomanagement.usermanagement.model.GCubeGroupgetGroup(long groupId)Retrieve an entrystatic GroupsCachegetSingleton()Get the singleton objectvoidpushEntry(long id, org.gcube.vomanagement.usermanagement.model.GCubeGroup group)Save an entry into the cache
-
-
-
Method Detail
-
getSingleton
public static GroupsCache getSingleton()
Get the singleton object
-
getGroup
public org.gcube.vomanagement.usermanagement.model.GCubeGroup getGroup(long groupId)
Retrieve an entry- Parameters:
id-- Returns:
- user associated to the user
-
pushEntry
public void pushEntry(long id, org.gcube.vomanagement.usermanagement.model.GCubeGroup group)Save an entry into the cache- Parameters:
id-user-
-
-