org.gcube.application.framework.userprofiles.commons
Class ProfileService

java.lang.Object
  extended by org.gcube.application.framework.userprofiles.commons.ProfileService

public class ProfileService
extends Object

Author:
Rena - NKUA

Field Summary
protected static AtomicInteger profileId
           
protected  org.gcube.common.core.scope.GCUBEScope scope
           
protected  String username
           
 
Constructor Summary
ProfileService(String username, org.gcube.common.core.scope.GCUBEScope scope)
          The constructor
 
Method Summary
 org.gcube.personalization.profileadministration.stubs.ProfileAdministrationPortType getProfileAdministration(GSSCredential cred)
           
 org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType getUserProfileAccess(org.gridforum.jgss.ExtendedGSSCredential cred)
           
 org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType getUserProfileAccess(org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType upa, org.gridforum.jgss.ExtendedGSSCredential cred)
           
 org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType getUserProfileAccessFactory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

profileId

protected static AtomicInteger profileId

username

protected String username

scope

protected org.gcube.common.core.scope.GCUBEScope scope
Constructor Detail

ProfileService

public ProfileService(String username,
                      org.gcube.common.core.scope.GCUBEScope scope)
The constructor

Parameters:
username - the user for each it will get the profile (Resource)
scope - the scope of the active VRE
Method Detail

getUserProfileAccessFactory

public org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType getUserProfileAccessFactory()
Returns:
UserProfileAccessFactoryPortType

getUserProfileAccess

public org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType getUserProfileAccess(org.gridforum.jgss.ExtendedGSSCredential cred)
Parameters:
cred - the X509 credential
Returns:
UserProfileAccessPortType

getUserProfileAccess

public org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessPortType getUserProfileAccess(org.gcube.personalization.userprofileaccess.stubs.UserProfileAccessFactoryPortType upa,
                                                                                                        org.gridforum.jgss.ExtendedGSSCredential cred)
Parameters:
upa - UserProfileAccessFactoryPortType
cred - an X509 credential
Returns:
UserProfileAccessPortType

getProfileAdministration

public org.gcube.personalization.profileadministration.stubs.ProfileAdministrationPortType getProfileAdministration(GSSCredential cred)
Parameters:
cred - the X509 credential
Returns:
a port type for profile admin service


Copyright © 2013. All Rights Reserved.