|
||||||||||
| 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.UserWorkflowResource
public class UserWorkflowResource
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class org.apache.airavata.persistance.registry.jpa.resources.AbstractResource |
|---|
APPLICATION_DESCRIPTOR, CONFIGURATION, EXPERIMENT, EXPERIMENT_DATA, EXPERIMENT_METADATA, GATEWAY, GATEWAY_WORKER, HOST_DESCRIPTOR, PROJECT, PUBLISHED_WORKFLOW, SERVICE_DESCRIPTOR, USER_WORKFLOW, USERS, WORKFLOW_DATA |
| Constructor Summary | |
|---|---|
UserWorkflowResource()
|
|
UserWorkflowResource(GatewayResource gateway,
WorkerResource worker,
String name)
|
|
| Method Summary | |
|---|---|
Resource |
create(ResourceType type)
This method will create associate resource objects for the given resource type. |
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 |
getContent()
|
GatewayResource |
getGateway()
|
Timestamp |
getLastUpdateDate()
|
String |
getName()
|
String |
getPath()
|
WorkerResource |
getWorker()
|
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 |
List<Resource> |
populate(Object[] keys)
|
void |
remove(ResourceType type,
Object name)
This method will remove the given child resource from the database |
void |
save()
This method will save the resource to the database. |
void |
setContent(String content)
|
void |
setGateway(GatewayResource gateway)
|
void |
setLastUpdateDate(Timestamp lastUpdateDate)
|
void |
setName(String name)
|
void |
setPath(String path)
|
void |
setWorker(WorkerResource worker)
|
| 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 UserWorkflowResource()
public UserWorkflowResource(GatewayResource gateway,
WorkerResource worker,
String name)
| Method Detail |
|---|
public String getName()
public void setLastUpdateDate(Timestamp lastUpdateDate)
public void setContent(String content)
public Timestamp getLastUpdateDate()
public String getContent()
public void setName(String name)
public String getPath()
public void setPath(String path)
public Resource create(ResourceType type)
Resource
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> populate(Object[] keys)
keys - should be in the order of gateway_name,user_name and user_workflow_name
public List<Resource> get(ResourceType type)
Resource
type - child resource type
public void save()
Resource
public boolean isExists(ResourceType type,
Object name)
Resource
isExists in interface ResourceisExists in class AbstractResourcetype - child resource typename - child resource name
public GatewayResource getGateway()
public void setGateway(GatewayResource gateway)
public WorkerResource getWorker()
public void setWorker(WorkerResource worker)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||