com.atlassian.gadgets.directory.internal.impl
Class DirectoryImpl
java.lang.Object
com.atlassian.gadgets.directory.internal.impl.DirectoryImpl
- All Implemented Interfaces:
- Directory
public class DirectoryImpl
- extends Object
- implements Directory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryImpl
public DirectoryImpl(Iterable<? extends DirectoryEntryProvider> providers)
getEntries
public Iterable<Directory.Entry> getEntries(GadgetRequestContext gadgetRequestContext)
- Description copied from interface:
Directory
- Returns all the entries available, localized by the
locale
.
- Specified by:
getEntries
in interface Directory
- Parameters:
gadgetRequestContext
- the context of this request
- Returns:
- all the entries available
contains
public boolean contains(URI gadgetSpecUri)
- Specified by:
contains
in interface Directory
- 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 © 2010 Atlassian. All Rights Reserved.