public interface Directory
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Directory.DashboardDirectoryEntry
Entry in the directory which is local P2 module.
|
static interface |
Directory.Entry<T>
A single entry in the directory.
|
static class |
Directory.EntryScope
This scope is used to determine entries that get retrieved when
getEntries(com.atlassian.gadgets.GadgetRequestContext, com.atlassian.gadgets.directory.Directory.EntryScope) is called. |
static interface |
Directory.OpenSocialDirectoryEntry
Entry in the directory which is based on Open Social specification.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DIRECTORY_FEATURE_CATEGORIES_NAME |
static String |
DIRECTORY_FEATURE_NAME |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(URI gadgetSpecUri) |
Iterable<Directory.Entry<?>> |
getEntries(GadgetRequestContext gadgetRequestContext)
Returns all the entries available, localized by the
locale. |
Iterable<Directory.Entry<?>> |
getEntries(GadgetRequestContext gadgetRequestContext,
Directory.EntryScope entryScope)
Returns all entries with the given scope.
|
static final String DIRECTORY_FEATURE_NAME
static final String DIRECTORY_FEATURE_CATEGORIES_NAME
Iterable<Directory.Entry<?>> getEntries(GadgetRequestContext gadgetRequestContext)
locale.
This is equivalent to calling getEntries(com.atlassian.gadgets.GadgetRequestContext, com.atlassian.gadgets.directory.Directory.EntryScope)
with EntryScope.ALL.gadgetRequestContext - the context of this requestIterable<Directory.Entry<?>> getEntries(GadgetRequestContext gadgetRequestContext, Directory.EntryScope entryScope)
gadgetRequestContext - the context of this requestentryScope - the entry scope: local, external, or all.boolean contains(URI gadgetSpecUri)
gadgetSpecUri - uri of the gadget spec to check if it's in the directoryCopyright © 2024 Atlassian. All rights reserved.