public interface ExternalGadgetStore
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.
|
Set<com.atlassian.gadgets.directory.spi.ExternalGadgetSpec> getAllGadgetSpecUris()
com.atlassian.gadgets.directory.spi.ExternalGadgetSpec addGadgetSpecUri(URI uri)
uri
- The gadget URI to addIllegalStateException
- if the store already contains the uri specifiedvoid removeGadgetSpecUri(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId id)
id
- The id to removeboolean containsSpecUri(URI uri)
uri
- the URI to check forCopyright © 2002-2015 Atlassian. All Rights Reserved.