|
||||||||||
| 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.ConfigurationResource
public class ConfigurationResource
| 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 | |
|---|---|
ConfigurationResource()
|
|
ConfigurationResource(String configKey,
String configVal)
|
|
| Method Summary | |
|---|---|
Resource |
create(ResourceType type)
Since Configuration does not depend on any other data structures at the system, this method is not valid |
List<Resource> |
get(ResourceType type)
Since Configuration does not depend on any other data structures at the system, this method is not valid |
Resource |
get(ResourceType type,
Object name)
Since Configuration does not depend on any other data structures at the system, this method is not valid |
String |
getCategoryID()
|
String |
getConfigVal()
|
boolean |
isExists(ResourceType type,
Object name)
Since Configuration does not depend on any other data structures at the system, this method is not valid |
List<Resource> |
populate(Object[] keys)
key should be the configuration name |
void |
remove(ResourceType type,
Object name)
Since Configuration does not depend on any other data structures at the system, this method is not valid |
void |
save()
save configuration to database |
void |
setCategoryID(String categoryID)
|
void |
setConfigKey(String configKey)
|
void |
setConfigVal(String configVal)
|
void |
setExpireDate(Timestamp expireDate)
|
| 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 ConfigurationResource()
public ConfigurationResource(String configKey,
String configVal)
configKey - configuration keyconfigVal - configuration value| Method Detail |
|---|
public Resource create(ResourceType type)
type - child resource types
public void remove(ResourceType type,
Object name)
type - child resource typesname - name of the child resource
throws UnsupportedOperationException
public Resource get(ResourceType type,
Object name)
type - child resource typesname - name of the child resource
public List<Resource> populate(Object[] keys)
keys - names
public List<Resource> get(ResourceType type)
type - child resource types
public void setExpireDate(Timestamp expireDate)
expireDate - expire date of the configurationpublic void save()
public boolean isExists(ResourceType type,
Object name)
isExists in interface ResourceisExists in class AbstractResourcetype - child resource typesname - of the child resource
public String getConfigVal()
public void setConfigKey(String configKey)
configKey - configuration keypublic void setConfigVal(String configVal)
configVal - configuration valuepublic String getCategoryID()
public void setCategoryID(String categoryID)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||