Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Creative commons Attribution-NonCommercial license. NO WARRANTY IS GIVEN OR IMPLIED, USE AT YOUR OWN RISK.
public interface ResourceLookup {
Return the name of a resource associated with this resource UID.

	KeyValue lookup(String uidthrows IOException;

The total number of resources of this type. This may be used to determine if these resources may fit in a dropdown list, or if a search interface may be required.
	long count() throws IOException;

List the UID and name of all resources of this type.
should be called first to ensure that this will not return too many objects.
List the UID and name of each resource matching the provided search terms.

keywords Filter the resources based on these keywords.
	List<KeyValuesearch(String keywordsthrows IOException;
New to GrepCode? Check out our FAQ X