public class OfbizExternalGadgetStore extends Object implements ExternalGadgetStore
| Modifier and Type | Class and Description |
|---|---|
static class |
OfbizExternalGadgetStore.Columns |
| Constructor and Description |
|---|
OfbizExternalGadgetStore(OfBizDelegator ofBizDelegator) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.gadgets.directory.spi.ExternalGadgetSpec |
addGadgetSpecUri(URI uri)
Adds the URI specified to the whitelist.
|
boolean |
containsSpecUri(URI uri)
Checks if the specified URI is already contained in the store
|
Set<com.atlassian.gadgets.directory.spi.ExternalGadgetSpec> |
getAllGadgetSpecUris()
Retrieves a set of all external gadgets whitelisted in the directory.
|
void |
removeGadgetSpecUri(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId id)
Removes the URI specified from the whitelist.
|
public static final String TABLE
public OfbizExternalGadgetStore(OfBizDelegator ofBizDelegator)
public Set<com.atlassian.gadgets.directory.spi.ExternalGadgetSpec> getAllGadgetSpecUris()
ExternalGadgetStoregetAllGadgetSpecUris in interface ExternalGadgetStorepublic com.atlassian.gadgets.directory.spi.ExternalGadgetSpec addGadgetSpecUri(URI uri)
ExternalGadgetStoreaddGadgetSpecUri in interface ExternalGadgetStoreuri - The gadget URI to addpublic void removeGadgetSpecUri(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId id)
ExternalGadgetStoreremoveGadgetSpecUri in interface ExternalGadgetStoreid - The id to removepublic boolean containsSpecUri(URI uri)
ExternalGadgetStorecontainsSpecUri in interface ExternalGadgetStoreuri - the URI to check forCopyright © 2002-2019 Atlassian. All Rights Reserved.