|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.airavata.persistance.registry.jpa.resources.AbstractResource
org.apache.airavata.persistance.registry.jpa.resources.UserResource
public class UserResource
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource |
|---|
APPLICATION_DESCRIPTOR, CONFIGURATION, EXECUTION_ERROR, EXPERIMENT, EXPERIMENT_DATA, EXPERIMENT_METADATA, GATEWAY, GATEWAY_WORKER, GFAC_JOB_DATA, GFAC_JOB_STATUS, HOST_DESCRIPTOR, PROJECT, PUBLISHED_WORKFLOW, SERVICE_DESCRIPTOR, USER_WORKFLOW, USERS, WORKFLOW_DATA |
| Constructor Summary | |
|---|---|
UserResource()
|
|
| Method Summary | |
|---|---|
Resource |
create(ResourceType type)
User is a hypothical data structure. |
List<Resource> |
get(ResourceType type)
This method will list all the child resources for the given resource type |
Resource |
get(ResourceType type,
Object name)
This method will return the given child resource from the database |
String |
getGatewayName()
|
String |
getPassword()
|
ProjectResource |
getProjectResource()
|
String |
getUserName()
|
boolean |
isExists(ResourceType type,
Object name)
This method will check whether an entry from the given resource type and resource name exists in the database |
void |
remove(ResourceType type,
Object name)
This method will remove the given child resource from the database |
void |
save()
save user to the database |
void |
setGatewayName(String gatewayName)
|
void |
setPassword(String password)
|
void |
setProjectResource(ProjectResource projectResource)
|
void |
setUserName(String userName)
|
| Methods inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource |
|---|
getResourceList |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserResource()
| Method Detail |
|---|
public void setUserName(String userName)
userName - user namepublic String getUserName()
public String getGatewayName()
public void setGatewayName(String gatewayName)
gatewayName - gateway namepublic Resource create(ResourceType type)
type - child resource type
public void remove(ResourceType type,
Object name)
Resource
type - child resource typename - child resource name
public Resource get(ResourceType type,
Object name)
Resource
type - child resource typename - child resource name
public List<Resource> get(ResourceType type)
Resource
type - child resource type
public void save()
public boolean isExists(ResourceType type,
Object name)
Resource
isExists in interface ResourceisExists in class AbstractResourcetype - child resource typename - child resource name
public ProjectResource getProjectResource()
public void setProjectResource(ProjectResource projectResource)
projectResource - project resourcepublic String getPassword()
public void setPassword(String password)
password - password
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||