|
||||||||||
| 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.ApplicationDescriptorResource
public class ApplicationDescriptorResource
| 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 | |
|---|---|
ApplicationDescriptorResource()
|
|
ApplicationDescriptorResource(String name,
String gatewayName)
|
|
| Method Summary | |
|---|---|
Resource |
create(ResourceType type)
Since application descriptors are at the leaf level, this method is not valid for application descriptors |
List<Resource> |
get(ResourceType type)
Since application descriptors are at the leaf level, this method is not valid for application descriptors |
Resource |
get(ResourceType type,
Object name)
Since application descriptors are at the leaf level, this method is not valid for application descriptors |
String |
getContent()
|
String |
getGatewayName()
|
String |
getHostDescName()
|
String |
getName()
|
String |
getServiceDescName()
|
boolean |
isExists(ResourceType type,
Object name)
Since application descriptors are at the leaf level, this method is not valid for application descriptors |
List<Resource> |
populate(Object[] keys)
keys should contain gateway_name, application_descriptor_ID, host_descriptor_ID, service_descriptor_ID |
void |
remove(ResourceType type,
Object name)
Since application descriptors are at the leaf level, this method is not valid for application descriptors |
void |
save()
save application descriptor to database |
void |
setContent(String content)
|
void |
setGatewayName(String gatewayName)
|
void |
setHostDescName(String hostDescName)
|
void |
setName(String name)
|
void |
setServiceDescName(String serviceDescName)
|
void |
setUpdatedUser(String updatedUser)
|
| 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 ApplicationDescriptorResource(String name,
String gatewayName)
name - application descriptor namegatewayName - gateway name
returns ApplicationDescriptorResourcepublic ApplicationDescriptorResource()
| Method Detail |
|---|
public String getGatewayName()
public void setGatewayName(String gatewayName)
gatewayName - gateway namepublic void setUpdatedUser(String updatedUser)
updatedUser - updated userpublic String getName()
public String getContent()
public String getHostDescName()
public String getServiceDescName()
public void setContent(String content)
content - content of the application descriptorpublic void setHostDescName(String hostDescName)
hostDescName - host descriptor namepublic void setServiceDescName(String serviceDescName)
serviceDescName - service descriptor namepublic Resource create(ResourceType type)
type - child resource types
public void remove(ResourceType type,
Object name)
type - child resource typesname - name of the resource
public Resource get(ResourceType type,
Object name)
type - child resource typesname - name of the resource
public List<Resource> populate(Object[] keys)
keys - names
public List<Resource> get(ResourceType type)
type - child resource types
public void save()
public boolean isExists(ResourceType type,
Object name)
isExists in interface ResourceisExists in class AbstractResourcetype - child resource typesname - name of the resource
public void setName(String name)
name - application descriptor name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||