org.gcube.personalization.userprofileaccess.impl
Class UserProfileAccessFactoryService
java.lang.Object
org.gcube.common.core.porttypes.GCUBEPortType
org.gcube.personalization.userprofileaccess.impl.UserProfileAccessFactoryService
- All Implemented Interfaces:
- javax.xml.rpc.server.ServiceLifecycle
public class UserProfileAccessFactoryService
- extends org.gcube.common.core.porttypes.GCUBEPortType
- Author:
- Panagiota Koltsida, NKUA
| Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
initialized |
|
Method Summary |
org.apache.axis.message.addressing.EndpointReferenceType |
createResource(String username)
It creates a resource with resource properties: the username and the unique ID of
the user profile that creates. |
protected org.gcube.common.core.contexts.GCUBEServiceContext |
getServiceContext()
|
| Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType |
destroy, init, onFailure, onInitialisation, onReady, onStateChange, onUpdate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserProfileAccessFactoryService
public UserProfileAccessFactoryService()
throws org.gcube.common.core.faults.GCUBEFault
- The constructor of the class
- Throws:
org.gcube.common.core.faults.GCUBEFault - Failed to contact the IS client
getServiceContext
protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
- Specified by:
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType
createResource
public org.apache.axis.message.addressing.EndpointReferenceType createResource(String username)
throws org.gcube.common.core.faults.GCUBEFault
- It creates a resource with resource properties: the username and the unique ID of
the user profile that creates. The user profile is stored in CMS.
- Parameters:
username - The user's username
- Returns:
- the EPR of the new resource
- Throws:
org.gcube.common.core.faults.GCUBEFault - an error occurred
Copyright © 2013. All Rights Reserved.