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()
ExternalGadgetStore
getAllGadgetSpecUris
in interface ExternalGadgetStore
public com.atlassian.gadgets.directory.spi.ExternalGadgetSpec addGadgetSpecUri(URI uri)
ExternalGadgetStore
addGadgetSpecUri
in interface ExternalGadgetStore
uri
- The gadget URI to addpublic void removeGadgetSpecUri(com.atlassian.gadgets.directory.spi.ExternalGadgetSpecId id)
ExternalGadgetStore
removeGadgetSpecUri
in interface ExternalGadgetStore
id
- The id to removepublic boolean containsSpecUri(URI uri)
ExternalGadgetStore
containsSpecUri
in interface ExternalGadgetStore
uri
- the URI to check forCopyright © 2002-2021 Atlassian. All Rights Reserved.