public interface UserProfileInfoI
| Modifier and Type | Method and Description |
|---|---|
void |
createUserProfile(String username)
Creates a default profile for this user
|
void |
dropUserProfile(String username)
Drops the profile of this user
|
String[] |
getElement(String username,
String element) |
String |
getElementValue(String username,
String element) |
HashMap<String,String> |
getMetadataXSLTs(String username) |
HashMap<String,ArrayList<String>> |
getPresentationFields(String username) |
String |
getUserProfile(String username) |
void |
setDefaultProfile(String defaultProfile) |
void |
setElementValue(String username,
String element,
String value) |
boolean |
setUserProfile(String username,
String profile)
Sets user's profile
|
String getUserProfile(String username) throws org.gcube.personalization.userprofileaccess.client.library.exceptions.UserProfileAccessException
username - the usernameorg.gcube.personalization.userprofileaccess.client.library.exceptions.UserProfileAccessExceptionboolean setUserProfile(String username, String profile) throws org.gcube.personalization.userprofileaccess.client.library.exceptions.UserProfileAccessException
username - the usernameprofile - the Profile serialized as a stringorg.gcube.personalization.userprofileaccess.client.library.exceptions.UserProfileAccessExceptionHashMap<String,String> getMetadataXSLTs(String username)
username - the usernameHashMap<String,ArrayList<String>> getPresentationFields(String username)
username - the usernamevoid createUserProfile(String username)
username - the usernamevoid dropUserProfile(String username)
username - the usernameString[] getElement(String username, String element)
username - the usernameelement - the element node to be retrieved from the profileString getElementValue(String username, String element)
username - the usernameelement - the element value to be retrieved from the profilevoid setElementValue(String username, String element, String value)
username - the usernameelement - the element node to be set from the profilevoid setDefaultProfile(String defaultProfile)
defaultProfile - the default profile xmlCopyright © 2014. All Rights Reserved.