|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.admin.irbootstrapperportlet.gwt.server.resourceManagement.ResourceCache
public class ResourceCache
| Constructor Summary | |
|---|---|
ResourceCache(org.gcube.common.core.scope.GCUBEScope scope)
Class constructor |
|
| Method Summary | ||
|---|---|---|
void |
addResourceToFetchedResourceTypesList(Resource res)
Adds a new resource type to the list of types to retrieve |
|
void |
clearResourceTypes()
Removes everything from the list of resource types to retrieve |
|
|
getResourcesWithGivenAttributes(T resource)
Returns the resources having the given property values |
|
void |
populateCacheFromIS()
Retrieves and returns the resources which belong to the previously defined resource types. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceCache(org.gcube.common.core.scope.GCUBEScope scope)
scope - the scope in which this ResourceCache operates| Method Detail |
|---|
public void addResourceToFetchedResourceTypesList(Resource res)
resourceTypeName - the resource type namepublic void clearResourceTypes()
public void populateCacheFromIS()
throws Exception
Exceptionpublic <T extends Resource> List<T> getResourcesWithGivenAttributes(T resource)
resourceType - the type of resources to getattributes - the list of attributes that the requested resources should have
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||