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.

uid Unique identifier of a resource in string format
KeyValue pair containing the uid and name of the requested resource, or null
	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.
KeyValue pairs containing the uid and name of all resources matching the keywords
	List<KeyValuesearch(String keywordsthrows IOException;
New to GrepCode? Check out our FAQ X