com.atlassian.gadgets.directory.internal
Interface DirectoryEntryProvider

All Known Implementing Classes:
AbstractDirectoryEntryProvider, ConfigurableExternalGadgetSpecDirectoryEntryProvider, GadgetSpecProviderDirectoryEntryProvider, PluginExternalGadgetSpecDirectoryEntryProvider

public interface DirectoryEntryProvider


Method Summary
 boolean contains(URI gadgetSpecUri)
           
 Iterable<Directory.Entry> entries(GadgetRequestContext gadgetRequestContext)
          Returns all the entries available, localized by the locale.
 

Method Detail

entries

Iterable<Directory.Entry> entries(GadgetRequestContext gadgetRequestContext)
Returns all the entries available, localized by the locale.

Parameters:
gadgetRequestContext - the context of this request
Returns:
all the entries available

contains

boolean contains(URI gadgetSpecUri)
Parameters:
gadgetSpecUri - uri of the gadget spec to check if it's in the directory
Returns:
true if the gadget spec at the location specificied by the uri is in the directory, false otherwise


Copyright © 2009 Atlassian. All Rights Reserved.