org.gcube.personalization.userprofileaccess.impl
Class UserProfileAccessFactoryService

java.lang.Object
  extended by org.gcube.common.core.porttypes.GCUBEPortType
      extended by 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

Field Summary
 
Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType
initialized
 
Constructor Summary
UserProfileAccessFactoryService()
          The constructor of the class
 
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
 

Constructor Detail

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
Method Detail

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.