|
||||||||||
| 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.PublishWorkflowResource
public class PublishWorkflowResource
| 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 | |
|---|---|
PublishWorkflowResource()
|
|
PublishWorkflowResource(GatewayResource gateway)
|
|
| Method Summary | |
|---|---|
Resource |
create(ResourceType type)
Since published workflows are at the leaf level of the data structure, this method is not valid |
List<Resource> |
get(ResourceType type)
since published workflows are at the leaf level of the data structure, this method is not valid |
Resource |
get(ResourceType type,
Object name)
Since published workflows are at the leaf level of the data structure, this method is not valid |
String |
getContent()
|
String |
getCreatedUser()
|
GatewayResource |
getGateway()
|
String |
getName()
|
String |
getPath()
|
Timestamp |
getPublishedDate()
|
String |
getVersion()
|
boolean |
isExists(ResourceType type,
Object name)
Since published workflows are at the leaf level of the data structure, this method is not valid |
List<Resource> |
populate(Object[] keys)
|
void |
remove(ResourceType type,
Object name)
Since published workflows are at the leaf level of the data structure, this method is not valid |
void |
save()
save published workflow to the database |
void |
setContent(String content)
|
void |
setCreatedUser(String createdUser)
|
void |
setGateway(GatewayResource gateway)
|
void |
setName(String name)
|
void |
setPath(String path)
|
void |
setPublishedDate(Timestamp publishedDate)
|
void |
setVersion(String version)
|
| 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 PublishWorkflowResource()
public PublishWorkflowResource(GatewayResource gateway)
gateway - gateway resource| Method Detail |
|---|
public String getCreatedUser()
public String getPath()
public void setCreatedUser(String createdUser)
createdUser - created userpublic void setPath(String path)
path - path of the workflowpublic String getName()
public String getVersion()
public Timestamp getPublishedDate()
public String getContent()
public void setVersion(String version)
version - version of the workflowpublic void setPublishedDate(Timestamp publishedDate)
publishedDate - published date of the workflowpublic void setContent(String content)
content - content of the workflowpublic Resource create(ResourceType type)
type - type of the child resource
public void remove(ResourceType type,
Object name)
type - type of the child resourcename - name of the child resource
public Resource get(ResourceType type,
Object name)
type - type of the child resourcename - name of the child resource
public List<Resource> populate(Object[] keys)
keys - object list including gateway name and published workflow name
public List<Resource> get(ResourceType type)
type - type of the child resource
public void save()
public boolean isExists(ResourceType type,
Object name)
isExists in interface ResourceisExists in class AbstractResourcetype - type of the child resourcename - name of the child resource
public GatewayResource getGateway()
public void setGateway(GatewayResource gateway)
gateway - gateway resourcepublic void setName(String name)
name - published workflow name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||