org.gcube.personalization.userprofileaccess.impl
Class UserProfileAccessResource

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
      extended by org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
          extended by org.gcube.common.core.state.GCUBEWSResource
              extended by org.gcube.personalization.userprofileaccess.impl.UserProfileAccessResource
All Implemented Interfaces:
org.gcube.common.core.utils.handlers.GCUBEServiceClient, org.globus.wsrf.PersistenceCallback, org.globus.wsrf.Resource, org.globus.wsrf.ResourceLifetime, org.globus.wsrf.ResourceProperties, org.globus.wsrf.TopicListAccessor

public class UserProfileAccessResource
extends org.gcube.common.core.state.GCUBEWSResource

Author:
Panagiota Koltsida, NKUA

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEStatefulResource
org.gcube.common.core.state.GCUBEStatefulResource.LOCK, org.gcube.common.core.state.GCUBEStatefulResource.TaskContext
 
Field Summary
protected static String RP_USERID
           
protected static String RP_USERNAME
          Resource Property 'Username'
protected static String[] RPNames
          Respource Property 'UserProfileID'
 
Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource
logger, uuidGen
 
Constructor Summary
UserProfileAccessResource()
           
 
Method Summary
 String[] getPropertyNames()
          
 String getUsername()
           
 String getUserProfileID()
           
protected  void initialise(Object... args)
           
protected  void setUsername(String username)
          Sets the username resource property
protected  void setUserProfileID(String id)
          Sets the UserProfileID resource property
 
Methods inherited from class org.gcube.common.core.state.GCUBEWSResource
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish
 
Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource
getID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask, store
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
getPortTypeMap, setPortTypeMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.globus.wsrf.PersistenceCallback
store
 

Field Detail

RP_USERNAME

protected static final String RP_USERNAME
Resource Property 'Username'

See Also:
Constant Field Values

RP_USERID

protected static final String RP_USERID
See Also:
Constant Field Values

RPNames

protected static String[] RPNames
Respource Property 'UserProfileID'

Constructor Detail

UserProfileAccessResource

public UserProfileAccessResource()
Method Detail

initialise

protected void initialise(Object... args)
                   throws org.globus.wsrf.ResourceException
Specified by:
initialise in class org.gcube.common.core.state.GCUBEWSResource
Throws:
org.globus.wsrf.ResourceException

getPropertyNames

public String[] getPropertyNames()

Overrides:
getPropertyNames in class org.gcube.common.core.state.GCUBEWSResource

getUserProfileID

public String getUserProfileID()
Returns:
The UserProfileID resource property

setUserProfileID

protected void setUserProfileID(String id)
Sets the UserProfileID resource property

Parameters:
id - The ID

getUsername

public String getUsername()
Returns:
The username resource property

setUsername

protected void setUsername(String username)
Sets the username resource property

Parameters:
username - The username to be set


Copyright © 2013. All Rights Reserved.