org.gcube.application.framework.userprofiles.cache
Class UserProfileCache
java.lang.Object
org.gcube.application.framework.userprofiles.cache.UserProfileCache
public class UserProfileCache
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserProfileCache
public UserProfileCache()
addProfile
public static boolean addProfile(String username,
String vre,
String profile)
- Parameters:
username - the username as in ISvre - the vre from Scope. eg. for scope '/gcube/devNext/NextNext' the vre is 'NextNext'profile - the serialized XML profile
- Returns:
- the status of the addition. true if successful, false otherwise
removeProfile
public static boolean removeProfile(String username,
String vre)
- Parameters:
username - the username as in ISvre - the vre from Scope. eg. for scope '/gcube/devNext/NextNext' the vre is 'NextNext'
- Returns:
- the status of the removal. true if successful, false otherwise
getProfile
public static String getProfile(String username,
String vre)
- Parameters:
username - the username as in ISvre - the vre from Scope. eg. for scope '/gcube/devNext/NextNext' the vre is 'NextNext'
- Returns:
- the serialized XML profile
Copyright © 2013. All Rights Reserved.