org.apache.airavata.persistance.registry.jpa.resources
Class AbstractResource
java.lang.Object
org.apache.airavata.persistance.registry.jpa.resources.AbstractResource
- All Implemented Interfaces:
- Resource
- Direct Known Subclasses:
- ApplicationDescriptorResource, ConfigurationResource, ExperimentDataResource, ExperimentMetadataResource, ExperimentResource, GatewayResource, GramDataResource, HostDescriptorResource, NodeDataResource, ProjectResource, PublishWorkflowResource, ServiceDescriptorResource, UserResource, UserWorkflowResource, WorkerResource, WorkflowDataResource
public abstract class AbstractResource
- extends Object
- implements Resource
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GATEWAY
public static final String GATEWAY
- See Also:
- Constant Field Values
CONFIGURATION
public static final String CONFIGURATION
- See Also:
- Constant Field Values
USERS
public static final String USERS
- See Also:
- Constant Field Values
GATEWAY_WORKER
public static final String GATEWAY_WORKER
- See Also:
- Constant Field Values
PROJECT
public static final String PROJECT
- See Also:
- Constant Field Values
PUBLISHED_WORKFLOW
public static final String PUBLISHED_WORKFLOW
- See Also:
- Constant Field Values
USER_WORKFLOW
public static final String USER_WORKFLOW
- See Also:
- Constant Field Values
HOST_DESCRIPTOR
public static final String HOST_DESCRIPTOR
- See Also:
- Constant Field Values
SERVICE_DESCRIPTOR
public static final String SERVICE_DESCRIPTOR
- See Also:
- Constant Field Values
APPLICATION_DESCRIPTOR
public static final String APPLICATION_DESCRIPTOR
- See Also:
- Constant Field Values
EXPERIMENT
public static final String EXPERIMENT
- See Also:
- Constant Field Values
EXPERIMENT_DATA
public static final String EXPERIMENT_DATA
- See Also:
- Constant Field Values
WORKFLOW_DATA
public static final String WORKFLOW_DATA
- See Also:
- Constant Field Values
EXPERIMENT_METADATA
public static final String EXPERIMENT_METADATA
- See Also:
- Constant Field Values
AbstractResource
protected AbstractResource()
isExists
public boolean isExists(ResourceType type,
Object name)
- Description copied from interface:
Resource
- This method will check whether an entry from the given resource type and resource name
exists in the database
- Specified by:
isExists in interface Resource
- Parameters:
type - child resource typename - child resource name
- Returns:
- whether the entry exists in the database or not
getResourceList
public static <T> List<T> getResourceList(List<Resource> resources,
Class<?> T)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.