public class UserProfileAccessService extends Object
| Constructor and Description |
|---|
UserProfileAccessService()
The constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.core.types.VOID |
deleteElement(String elementName)
This method deletes an element (or a set of elements) of the user's profile
|
org.gcube.personalization.userprofileaccess.stubs.GetElementResponse |
getElement(String elementName)
This method retrieves an element of the user's profile.
|
String |
getElementValue(String elementName)
This method retrieves the value of a specific element of the user's profile.
|
String |
getUserProfile(org.gcube.common.core.types.VOID params)
This method returns the user profile.
|
org.gcube.common.core.types.VOID |
setElement(org.gcube.personalization.userprofileaccess.stubs.SetElement params)
This method creates a new element in the user's profile.
|
org.gcube.common.core.types.VOID |
setElementValue(org.gcube.personalization.userprofileaccess.stubs.SetElementValue params)
This method sets a new value to an element of the user's profile.
|
org.gcube.common.core.types.VOID |
updateUserProfile(String profileContent) |
public UserProfileAccessService()
throws org.gcube.common.core.faults.GCUBEFault
org.gcube.common.core.faults.GCUBEFault - Failed to contact the IS clientpublic String getUserProfile(org.gcube.common.core.types.VOID params) throws org.gcube.common.core.faults.GCUBEFault
params - This method has no input parametersorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic String getElementValue(String elementName) throws org.gcube.common.core.faults.GCUBEFault
elementName - It is a XPath expressionorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.common.core.types.VOID setElementValue(org.gcube.personalization.userprofileaccess.stubs.SetElementValue params)
throws org.gcube.common.core.faults.GCUBEFault
params: - elementName,is a XPath expression
value, the value to be setorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.personalization.userprofileaccess.stubs.GetElementResponse getElement(String elementName) throws org.gcube.common.core.faults.GCUBEFault
elementName - It is a XPath expressionorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.common.core.types.VOID setElement(org.gcube.personalization.userprofileaccess.stubs.SetElement params)
throws org.gcube.common.core.faults.GCUBEFault
params: - elementName, the name of the new element
value, the value of the new element
path, the path under it the new element will be set.org.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.common.core.types.VOID deleteElement(String elementName) throws org.gcube.common.core.faults.GCUBEFault
elementName - The element to delete. It is a XPath expressionorg.gcube.common.core.faults.GCUBEFault - an error occurredpublic org.gcube.common.core.types.VOID updateUserProfile(String profileContent) throws org.gcube.common.core.faults.GCUBEFault
org.gcube.common.core.faults.GCUBEFaultCopyright © 2015. All Rights Reserved.