A B C D E F G H I J L M N O P R S T U V W X

A

AbstractDirectoryEntryProvider<T> - Class in com.atlassian.gadgets.directory.internal.impl
 
AbstractDirectoryEntryProvider(GadgetSpecFactory) - Constructor for class com.atlassian.gadgets.directory.internal.impl.AbstractDirectoryEntryProvider
 
AbstractUrlBuilder - Class in com.atlassian.gadgets.util
 
AbstractUrlBuilder(ApplicationProperties, WebResourceManager, String) - Constructor for class com.atlassian.gadgets.util.AbstractUrlBuilder
 
AbstractViewComponent - Class in com.atlassian.gadgets.dashboard.internal
 
AbstractViewComponent(String, String) - Constructor for class com.atlassian.gadgets.dashboard.internal.AbstractViewComponent
 
accept(DashboardChange.Visitor) - Method in class com.atlassian.gadgets.spi.changes.AddGadgetChange
Invokes the Visitors Visitor#visit(AddGadgetChange) method.
accept(DashboardChange.Visitor) - Method in interface com.atlassian.gadgets.spi.changes.DashboardChange
Accepts a visitor to allow for processing specific change types.
accept(DashboardChange.Visitor) - Method in class com.atlassian.gadgets.spi.changes.GadgetColorChange
Invokes the Visitors DashboardChange.Visitor.visit(GadgetColorChange) method.
accept(DashboardChange.Visitor) - Method in class com.atlassian.gadgets.spi.changes.RemoveGadgetChange
Invokes the Visitors DashboardChange.Visitor.visit(RemoveGadgetChange) method.
accept(DashboardChange.Visitor) - Method in class com.atlassian.gadgets.spi.changes.UpdateGadgetUserPrefsChange
Invokes the Visitors Visitor#visit(UpdateGadgetUserPrefsChange) method.
accept(DashboardChange.Visitor) - Method in class com.atlassian.gadgets.spi.changes.UpdateLayoutChange
Invokes the Visitors DashboardChange.Visitor.visit(UpdateLayoutChange) method.
add(URI) - Method in interface com.atlassian.gadgets.directory.internal.ConfigurableExternalGadgetSpecStore
Adds the specified gadget spec URI to the store.
add(URI) - Method in class com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider
 
add(URI) - Method in class com.atlassian.gadgets.refimpl.PluginSettingsExternalGadgetSpecStore
 
add(URI) - Method in interface com.atlassian.gadgets.spi.ExternalGadgetSpecStore
Adds a gadget spec URI to this store and returns an ExternalGadgetSpec wrapper for it.
addGadget(Gadget) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
 
addGadget(DashboardState.ColumnIndex, Gadget) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Add a gadget to the first position of the specified column
addGadget(Gadget) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
addGadget(DashboardState.ColumnIndex, Gadget) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
addGadget(DashboardId, GadgetRequestContext, String) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.AddGadgetHandler
Adds the specified gadget to the specified dashboard.
addGadget(DashboardId, GadgetRequestContext, String, DashboardState.ColumnIndex) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.AddGadgetHandler
Adds the specified gadget to the specified dashboard in the specified column.
addGadget(DashboardId, GadgetRequestContext, String) - Method in class com.atlassian.gadgets.dashboard.internal.rest.AddGadgetHandlerImpl
 
addGadget(DashboardId, GadgetRequestContext, String, DashboardState.ColumnIndex) - Method in class com.atlassian.gadgets.dashboard.internal.rest.AddGadgetHandlerImpl
 
addGadget(DashboardId, HttpServletRequest, Reader) - Method in class com.atlassian.gadgets.dashboard.internal.rest.DashboardResource
Adds a gadget to a dashboard, returning the new gadget's entity representation if successful.
AddGadgetChange - Class in com.atlassian.gadgets.spi.changes
Details of adding a gadget to a dashboard.
AddGadgetChange(GadgetState, DashboardState.ColumnIndex, int) - Constructor for class com.atlassian.gadgets.spi.changes.AddGadgetChange
 
AddGadgetHandler - Interface in com.atlassian.gadgets.dashboard.internal.rest
Interface for adding a gadget spec URI to a dashboard.
AddGadgetHandlerImpl - Class in com.atlassian.gadgets.dashboard.internal.rest
Default implementation that adds a gadget to a live dashboard.
AddGadgetHandlerImpl(GadgetSpecUrlChecker, GadgetFactory, DashboardRepository, RepresentationFactory, I18nResolver, TransactionTemplate) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.AddGadgetHandlerImpl
Constructor.
addViewParam(String, String) - Method in class com.atlassian.gadgets.view.View.Builder
Add a view parameter as a name value pair
addViewParams(Map<String, String>) - Method in class com.atlassian.gadgets.view.View.Builder
Add a number of view parameters as name value pairs
AggregatePluginGadgetSpecProviderPermissionImpl - Class in com.atlassian.gadgets.publisher.internal.impl
An implementation of the PluginGadgetSpecProviderPermission which aggregates all the imported services and consults them to determine the outcome of the vote while dealing with all the vagaries of dynamic services coming and going.
AggregatePluginGadgetSpecProviderPermissionImpl(Iterable<PluginGadgetSpecProviderPermission>) - Constructor for class com.atlassian.gadgets.publisher.internal.impl.AggregatePluginGadgetSpecProviderPermissionImpl
 
AjaxRequest - Class in com.atlassian.gadgets.test
 
AjaxRequest(URL, List<NameValuePair>) - Constructor for class com.atlassian.gadgets.test.AjaxRequest
 
AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl - Class in com.atlassian.gadgets.refimpl
Checks the PluginGadgetSpec for a "admin-only" parameter and, if the value is true, only allows admins to see the gadget in the gadget browser.
AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl(UserManager) - Constructor for class com.atlassian.gadgets.refimpl.AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
 
ALTERNATE - Static variable in class com.atlassian.gadgets.test.TestApplicationProperties
An ApplicationProperties implementation used for testing that uses a non-canonical base URL for the server under test.
appendGadget(Gadget) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Add a gadget to the default tab.
appendGadget(DashboardState.ColumnIndex, Gadget) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Add a gadget to the end of the specified column
appendGadget(Gadget) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
appendGadget(DashboardState.ColumnIndex, Gadget) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
appendGadgetToColumn(GadgetState, DashboardState.ColumnIndex) - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns a new DashboardState built with the same data as this, except that the column with index index has had a new gadget added to its bottom
ApplicationGadgetSpecProviderImpl - Class in com.atlassian.gadgets.refimpl
 
ApplicationGadgetSpecProviderImpl(WebResourceManager) - Constructor for class com.atlassian.gadgets.refimpl.ApplicationGadgetSpecProviderImpl
 
applicationProperties - Variable in class com.atlassian.gadgets.util.AbstractUrlBuilder
 
asLong(String) - Static method in class com.atlassian.gadgets.util.UriParameterConverter
 
assertGadgetLayoutIsValid(Layout, GadgetLayout) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
Checks to make sure there are no gadgets in out of bounds columns.
assertRenderable(String) - Method in interface com.atlassian.gadgets.GadgetSpecUrlChecker
Returns normally if the specified gadget spec is permitted to render.
assertRenderable(String) - Method in class com.atlassian.gadgets.renderer.internal.GadgetSpecUrlCheckerImpl
 
AtlassianContainerConfig - Class in com.atlassian.gadgets.renderer.internal
Overrides the default implementation of ContainerConfig so that we can use our own configuration and have a chance to customize it for the specific deployment of the application using ApplicationProperties.
AtlassianContainerConfig(ApplicationProperties) - Constructor for class com.atlassian.gadgets.renderer.internal.AtlassianContainerConfig
 
AtlassianGadgetsContentRewriter - Class in com.atlassian.gadgets.renderer.internal.rewrite
 
AtlassianGadgetsContentRewriter(GadgetSpecFactory, String, String, String, String, String, String) - Constructor for class com.atlassian.gadgets.renderer.internal.rewrite.AtlassianGadgetsContentRewriter
 
AtlassianGadgetsGuiceServletContextListener - Class in com.atlassian.gadgets.renderer.internal.servlet
 
AtlassianGadgetsGuiceServletContextListener(Provider<Injector>) - Constructor for class com.atlassian.gadgets.renderer.internal.servlet.AtlassianGadgetsGuiceServletContextListener
 
AtlassianOAuthCallbackGenerator - Class in com.atlassian.gadgets.renderer.internal
Implementation of the OAuthCallbackGenerator that ignores the "dance" that the GadgetOAuthCallbackGenerator does because we can't redirect to gadget specific callbacks and aren't implementing locked domains.
AtlassianOAuthCallbackGenerator() - Constructor for class com.atlassian.gadgets.renderer.internal.AtlassianOAuthCallbackGenerator
 
AtlassianOAuthCallbackServlet - Class in com.atlassian.gadgets.renderer.internal.servlet
 
AtlassianOAuthCallbackServlet(BlobCrypter) - Constructor for class com.atlassian.gadgets.renderer.internal.servlet.AtlassianOAuthCallbackServlet
 
AtlassianOAuthFetcher - Class in com.atlassian.gadgets.renderer.internal.oauth
 
AtlassianOAuthFetcher(ConsumerService, OAuthFetcherConfig, HttpFetcher, HttpRequest) - Constructor for class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthFetcher
 
AtlassianOAuthFetcherFactory - Class in com.atlassian.gadgets.renderer.internal.oauth
Override the default Shindig OAuthFetcherFactory to return our own AtlassianOAuthFetcher instead of the regular OAuthFetcher.
AtlassianOAuthFetcherFactory(OAuthFetcherConfig, ConsumerService) - Constructor for class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthFetcherFactory
 
AtlassianOAuthStore - Class in com.atlassian.gadgets.renderer.internal.oauth
Implementation of the OAuthStore interface that uses the ConsumerService and ConsumerTokenStore from the Atlassian OAuth Consumer Plugin to get consumer information and store tokens.
AtlassianOAuthStore(ConsumerService, ConsumerTokenStore, ApplicationProperties) - Constructor for class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthStore
 
attr(Node, String) - Static method in class com.atlassian.gadgets.test.Nodes
 
AuthModule - Class in com.atlassian.gadgets.renderer.internal.guice
A Module to configure Shindigs authentication.
AuthModule(ConsumerService, ConsumerTokenStore) - Constructor for class com.atlassian.gadgets.renderer.internal.guice.AuthModule
 
author(String) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the author of the GadgetSpec under construction and return this Builder to allow further construction to be done.
authorEmail(String) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the author email of the GadgetSpec under construction and return this Builder to allow further construction to be done.

B

BadRequestServlet - Class in com.atlassian.gadgets.samples
 
BadRequestServlet() - Constructor for class com.atlassian.gadgets.samples.BadRequestServlet
 
BANANA_GADGET_SPEC_URI - Static variable in class com.atlassian.gadgets.test.ExampleGadgetSpecs
 
bananaGadgetSpec() - Static method in class com.atlassian.gadgets.test.ExampleGadgetSpecs
 
BlobCrypterImpl - Class in com.atlassian.gadgets.renderer.internal
 
BlobCrypterImpl(PluginSettingsFactory, TransactionTemplate) - Constructor for class com.atlassian.gadgets.renderer.internal.BlobCrypterImpl
Constructor.
build() - Method in class com.atlassian.gadgets.dashboard.DashboardState.Builder
Returns the final constructed DashboardState
build() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation.Builder
 
build(GadgetState, View, GadgetRequestContext) - Method in class com.atlassian.gadgets.embedded.internal.GadgetUrlBuilder
Returns the URL to the rendered gadget.
build() - Method in class com.atlassian.gadgets.GadgetRequestContext.Builder
Returns the final constructed GadgetRequestContext.
build() - Method in class com.atlassian.gadgets.GadgetState.Builder
Returns the final constructed GadgetState
build() - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Returns the final constructed GadgetSpec
build() - Method in class com.atlassian.gadgets.spec.UserPrefSpec.Builder
Returns the final constructed UserPrefSpec
build(GadgetState, View, GadgetRequestContext) - Method in interface com.atlassian.gadgets.view.RenderedGadgetUriBuilder
Returns the URL to the rendered gadget.
build() - Method in class com.atlassian.gadgets.view.View.Builder
Returns a new ViewSettings object using the values in this Builder.
buildDashboardDiagnosticsRelativeUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns a relative URL that can be used to access the Dashboard Diagnostics Servlet.
buildDashboardDiagnosticsRelativeUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildDashboardDirectoryBaseUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the base URL of the directory
buildDashboardDirectoryBaseUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildDashboardDirectoryResourceUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns a URL that can be used to retrieve the list of available gadgets in the directory or to post a new gadget spec URL to the directory.
buildDashboardDirectoryResourceUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildDashboardDirectoryUrl(DashboardId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns a URL that can be used to post a new gadget to the directory.
buildDashboardDirectoryUrl(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildDashboardLayoutUrl(DashboardId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL to the layout resource of a dashboard.
buildDashboardLayoutUrl(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildDashboardResourceUrl(DashboardId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns a URL that can be used to access the Dashboard resource, to post new gadgets.
buildDashboardResourceUrl(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildDashboardUrl(DashboardId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL to the dashboard container.
buildDashboardUrl(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildDirectoryGadgetResourceUrl(ExternalGadgetSpecId) - Method in interface com.atlassian.gadgets.directory.internal.DirectoryUrlBuilder
Returns a URL that can be used to delete a gadget spec file from the Directory
buildDirectoryGadgetResourceUrl(ExternalGadgetSpecId) - Method in class com.atlassian.gadgets.directory.internal.impl.DirectoryUrlBuilderImpl
 
buildDirectoryResourceUrl() - Method in interface com.atlassian.gadgets.directory.internal.DirectoryUrlBuilder
Returns a URL that can be used to retrieve the list of available gadgets in the directory or to post a new gadget spec URL to the directory.
buildDirectoryResourceUrl() - Method in class com.atlassian.gadgets.directory.internal.impl.DirectoryUrlBuilderImpl
 
buildErrorGadgetUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns a URL that can be used to display an error message when there is a problem loading a gadget.
buildErrorGadgetUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildGadgetColorUrl(DashboardId, GadgetId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL to the color resource of a gadget.
buildGadgetColorUrl(DashboardId, GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildGadgetSpecUrl(String, String, String) - Method in class com.atlassian.gadgets.util.GadgetSpecUrlBuilder
Builds a URL for the gadget spec that can be found with the Plugin.
buildGadgetUrl(DashboardId, GadgetId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL to a gadget resource on a dashboard.
buildGadgetUrl(DashboardId, GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildGadgetUserPrefsUrl(DashboardId, GadgetId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL to the user prefs resource of a gadget.
buildGadgetUserPrefsUrl(DashboardId, GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
buildImageUrl(String) - Method in class com.atlassian.gadgets.util.AbstractUrlBuilder
 
buildImageUrl(String) - Method in interface com.atlassian.gadgets.util.UrlBuilder
Returns the URL to the image specified by the given path.
buildRpcJsUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL to the RPC javascript file for the dashboard container.
buildRpcJsUrl() - Method in class com.atlassian.gadgets.util.AbstractUrlBuilder
 
buildRpcJsUrl() - Method in interface com.atlassian.gadgets.util.UrlBuilder
Returns the URL to the RPC javascript file.
buildSecurityTokensUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL for getting new security tokens.
buildSecurityTokensUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 

C

canConfigureDirectory(String) - Method in class com.atlassian.gadgets.refimpl.PermissionServiceImpl
 
canConfigureDirectory(String) - Method in interface com.atlassian.gadgets.spi.PermissionService
Returns true if the user identified by username has permission to add new external gadgets to the directory, remove external gadgets that were previously added, and otherwise configure the directory.
canRender(ServiceProviderToken, HttpServletRequest) - Method in class com.atlassian.gadgets.oauth.serviceprovider.internal.OpenSocialConsumerInformationRenderer
 
canRenderInViewType(GadgetState, ViewType, GadgetRequestContext) - Method in class com.atlassian.gadgets.embedded.internal.GadgetViewFactoryImpl
 
canRenderInViewType(GadgetState, ViewType, GadgetRequestContext) - Method in interface com.atlassian.gadgets.view.GadgetViewFactory
Returns true if the gadget represented by state can be rendered with the given ViewType for the locale specified in the GadgetRequestContext.
CANVAS - Static variable in class com.atlassian.gadgets.view.ViewType
 
Category - Enum in com.atlassian.gadgets.directory.internal
 
changeGadgetColor(GadgetId, Color) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Change the color of the gadgets chrome.
changeGadgetColor(GadgetId, Color) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
changeGadgetColor(DashboardId, GadgetId, String, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Changes the specified gadget's color in response to a PUT request.
ChangeGadgetColorHandler - Interface in com.atlassian.gadgets.dashboard.internal.rest
Interface for changing the color of a gadget on a dashboard.
ChangeGadgetColorHandlerImpl - Class in com.atlassian.gadgets.dashboard.internal.rest
Default implementation that changes the color of a live gadget on a dashboard.
ChangeGadgetColorHandlerImpl(DashboardRepository, I18nResolver) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.ChangeGadgetColorHandlerImpl
Constructor.
changeGadgetColorViaPOST(String, DashboardId, GadgetId, String, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Forwards POST requests (coming from Ajax or web browsers) to the PUT handler for color changing.
changeLayout(Layout, GadgetLayout) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Change the layout of the dashboard and use the gadget layout to update the gadget positioning.
changeLayout(Layout, GadgetLayout) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
changeLayout(DashboardId, GadgetRequestContext, MultivaluedMap<String, String>) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.ChangeLayoutHandler
Attempts to change the layout of the specified dashboard.
changeLayout(DashboardId, GadgetRequestContext, MultivaluedMap<String, String>) - Method in class com.atlassian.gadgets.dashboard.internal.rest.ChangeLayoutHandlerImpl
 
ChangeLayoutHandler - Interface in com.atlassian.gadgets.dashboard.internal.rest
Interface for changing the layout of a dashboard.
ChangeLayoutHandlerImpl - Class in com.atlassian.gadgets.dashboard.internal.rest
Default implementation.
ChangeLayoutHandlerImpl(DashboardRepository, I18nResolver) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.ChangeLayoutHandlerImpl
 
changeLayoutViaPOST(DashboardId, HttpServletRequest, MultivaluedMap<String, String>) - Method in class com.atlassian.gadgets.dashboard.internal.rest.DashboardResource
Changes the existing layout of the specified dashboard in response to a POST request.
changeLayoutViaPUT(DashboardId, UriInfo, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.DashboardResource
Changes the existing layout of the specified dashboard in response to a PUT request.
check(URI) - Method in class com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics
 
checkContentsNotNull(Iterable<T>) - Static method in class com.atlassian.gadgets.dashboard.util.Iterables
Checks every element of an Iterable to make sure that none of the elements are null
checkForPermissionToConfigureDirectory(HttpServletRequest) - Method in class com.atlassian.gadgets.directory.internal.DirectoryConfigurationPermissionChecker
Check that the user making the request has permission to add entries to or remove entries from the directory.
clearChanges() - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Clears the stored list of changes that have been made to this Dashboard
clearChanges() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
Color - Enum in com.atlassian.gadgets.dashboard
The possible colors that can be used to customize dashboards and gadgets.
color(Color) - Method in class com.atlassian.gadgets.GadgetState.Builder
Set the Color of the GadgetState under construction and return this Builder to allow further construction to be done.
columns(Iterable<? extends Iterable<GadgetState>>) - Method in class com.atlassian.gadgets.dashboard.DashboardState.Builder
Set the columns of the DashboardState under construction and return this Builder to allow further construction to be done.
com.atlassian.gadgets - package com.atlassian.gadgets
This package contains the main APIs for interacting with gadgets.
com.atlassian.gadgets.dashboard - package com.atlassian.gadgets.dashboard
This package contains the main APIs for interacting with dashboards and gadgets.
com.atlassian.gadgets.dashboard.internal - package com.atlassian.gadgets.dashboard.internal
 
com.atlassian.gadgets.dashboard.internal.diagnostics - package com.atlassian.gadgets.dashboard.internal.diagnostics
 
com.atlassian.gadgets.dashboard.internal.impl - package com.atlassian.gadgets.dashboard.internal.impl
 
com.atlassian.gadgets.dashboard.internal.rest - package com.atlassian.gadgets.dashboard.internal.rest
Interfaces and classes used to implement dashboards and their gadgets as REST resources.
com.atlassian.gadgets.dashboard.internal.rest.representations - package com.atlassian.gadgets.dashboard.internal.rest.representations
 
com.atlassian.gadgets.dashboard.internal.util - package com.atlassian.gadgets.dashboard.internal.util
 
com.atlassian.gadgets.dashboard.internal.velocity - package com.atlassian.gadgets.dashboard.internal.velocity
 
com.atlassian.gadgets.dashboard.util - package com.atlassian.gadgets.dashboard.util
Contains utility classes.
com.atlassian.gadgets.dashboard.view - package com.atlassian.gadgets.dashboard.view
 
com.atlassian.gadgets.directory.internal - package com.atlassian.gadgets.directory.internal
 
com.atlassian.gadgets.directory.internal.impl - package com.atlassian.gadgets.directory.internal.impl
 
com.atlassian.gadgets.directory.internal.jaxb - package com.atlassian.gadgets.directory.internal.jaxb
Contains JAXB model classes that can be served through REST modules.
com.atlassian.gadgets.embedded.internal - package com.atlassian.gadgets.embedded.internal
Handles construction of gadget <iframes>, rendering, and URLs to Shindig's gadget rendering servlet.
com.atlassian.gadgets.oauth.serviceprovider.internal - package com.atlassian.gadgets.oauth.serviceprovider.internal
 
com.atlassian.gadgets.plugins - package com.atlassian.gadgets.plugins
Contains classes related to plugins that contain gadgets.
com.atlassian.gadgets.publisher.internal - package com.atlassian.gadgets.publisher.internal
 
com.atlassian.gadgets.publisher.internal.impl - package com.atlassian.gadgets.publisher.internal.impl
 
com.atlassian.gadgets.refimpl - package com.atlassian.gadgets.refimpl
Provides an implementation of the SPI for the refapp.
com.atlassian.gadgets.refimpl.ui - package com.atlassian.gadgets.refimpl.ui
 
com.atlassian.gadgets.renderer.internal - package com.atlassian.gadgets.renderer.internal
 
com.atlassian.gadgets.renderer.internal.guice - package com.atlassian.gadgets.renderer.internal.guice
 
com.atlassian.gadgets.renderer.internal.http - package com.atlassian.gadgets.renderer.internal.http
 
com.atlassian.gadgets.renderer.internal.local - package com.atlassian.gadgets.renderer.internal.local
 
com.atlassian.gadgets.renderer.internal.oauth - package com.atlassian.gadgets.renderer.internal.oauth
 
com.atlassian.gadgets.renderer.internal.rewrite - package com.atlassian.gadgets.renderer.internal.rewrite
 
com.atlassian.gadgets.renderer.internal.servlet - package com.atlassian.gadgets.renderer.internal.servlet
 
com.atlassian.gadgets.samples - package com.atlassian.gadgets.samples
 
com.atlassian.gadgets.spec - package com.atlassian.gadgets.spec
Contains classes related to Gadgets' Specification XML.
com.atlassian.gadgets.spi - package com.atlassian.gadgets.spi
Contains the service provider interfaces (SPIs) that host applications must implement in order to use the dashboard plugin(s).
com.atlassian.gadgets.spi.changes - package com.atlassian.gadgets.spi.changes
 
com.atlassian.gadgets.spi.util - package com.atlassian.gadgets.spi.util
Contains utility and helper classes for all host applications.
com.atlassian.gadgets.test - package com.atlassian.gadgets.test
 
com.atlassian.gadgets.util - package com.atlassian.gadgets.util
 
com.atlassian.gadgets.view - package com.atlassian.gadgets.view
Contains classes related to the rendering and display of gadgets.
ConfigurableExternalGadgetSpecDirectoryEntryProvider - Class in com.atlassian.gadgets.directory.internal.impl
This implementation delegates spec storage to ExternalGadgetSpecStore to enforce the contract of that interface (normalizing URIs on add, preventing duplicate storage, etc.) and so that user-added gadgets may be persisted in between application sessions.
ConfigurableExternalGadgetSpecDirectoryEntryProvider(GadgetSpecFactory, ExternalGadgetSpecStore, DirectoryUrlBuilder, TransactionTemplate) - Constructor for class com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider
 
ConfigurableExternalGadgetSpecStore - Interface in com.atlassian.gadgets.directory.internal
Store for gadget specs that are added by users after application startup.
configure() - Method in class com.atlassian.gadgets.renderer.internal.guice.AuthModule
 
configure() - Method in class com.atlassian.gadgets.renderer.internal.guice.SalModule
 
configure() - Method in class com.atlassian.gadgets.renderer.internal.guice.ShindigModule
 
configure() - Method in class com.atlassian.gadgets.renderer.internal.guice.XercesParseModule
 
ContainerDomainProvider - Class in com.atlassian.gadgets.renderer.internal
Provides the domain name to be used for creating security tokens.
ContainerDomainProvider(ApplicationProperties) - Constructor for class com.atlassian.gadgets.renderer.internal.ContainerDomainProvider
 
contains(DashboardState.ColumnIndex) - Method in enum com.atlassian.gadgets.dashboard.Layout
Checks if the column exists in this layout.
contains(URI) - Method in interface com.atlassian.gadgets.directory.internal.Directory
 
contains(URI) - Method in interface com.atlassian.gadgets.directory.internal.DirectoryEntryProvider
 
contains(URI) - Method in class com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider
 
contains(URI) - Method in class com.atlassian.gadgets.directory.internal.impl.DirectoryImpl
 
contains(URI) - Method in class com.atlassian.gadgets.directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider
 
contains(URI) - Method in class com.atlassian.gadgets.directory.internal.impl.PluginExternalGadgetSpecDirectoryEntryProvider
 
contains(URI) - Method in interface com.atlassian.gadgets.GadgetSpecProvider
Returns true if the URI is in the store, false otherwise.
contains(URI) - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
contains(URI) - Method in class com.atlassian.gadgets.refimpl.ApplicationGadgetSpecProviderImpl
 
contains(URI) - Method in class com.atlassian.gadgets.refimpl.PluginSettingsExternalGadgetSpecStore
 
contains(URI) - Method in interface com.atlassian.gadgets.spi.ExternalGadgetSpecStore
Returns true if the URI is in the store, false otherwise.
contextDestroyed(ServletContextEvent) - Method in class com.atlassian.gadgets.renderer.internal.servlet.AtlassianGadgetsGuiceServletContextListener
 
contextInitialized(ServletContextEvent) - Method in class com.atlassian.gadgets.renderer.internal.servlet.AtlassianGadgetsGuiceServletContextListener
 
convertStateToDashboard(DashboardState, GadgetRequestContext) - Method in class com.atlassian.gadgets.dashboard.internal.impl.StateConverterImpl
 
convertStateToDashboard(DashboardState, GadgetRequestContext) - Method in interface com.atlassian.gadgets.dashboard.internal.StateConverter
Creates a Dashboard from a DashboardState
convertStateToGadget(GadgetState, GadgetRequestContext) - Method in class com.atlassian.gadgets.dashboard.internal.impl.StateConverterImpl
 
convertStateToGadget(GadgetState, GadgetRequestContext) - Method in interface com.atlassian.gadgets.dashboard.internal.StateConverter
Creates a Gadget from a GadgetState
convertToLocalizedDirectoryEntry(GadgetRequestContext) - Method in class com.atlassian.gadgets.directory.internal.impl.AbstractDirectoryEntryProvider
 
convertToLocalizedDirectoryEntry(GadgetRequestContext) - Method in class com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider
 
convertToLocalizedDirectoryEntry(GadgetRequestContext) - Method in class com.atlassian.gadgets.directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider
 
convertToLocalizedDirectoryEntry(GadgetRequestContext) - Method in class com.atlassian.gadgets.directory.internal.impl.PluginExternalGadgetSpecDirectoryEntryProvider
 
create(String) - Static method in class com.atlassian.gadgets.util.Uri
Attempts to convert the gadgetUri to a URI object.
createDashboardRepresentation(Dashboard, GadgetRequestContext, boolean) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactory
Given a Dashboard, this creates a new JAXB dashboard representation.
createDashboardRepresentation(Dashboard, GadgetRequestContext, boolean) - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl
 
createDashboardView(Iterable<DashboardTab>, DashboardState, String, int, GadgetRequestContext) - Method in class com.atlassian.gadgets.dashboard.internal.velocity.VelocityViewFactory
 
createDashboardView(Iterable<DashboardTab>, DashboardState, String, int, GadgetRequestContext) - Method in interface com.atlassian.gadgets.dashboard.view.DashboardTabViewFactory
Returns a ViewComponent that will render the DashboardState and DashboardTabs customizing the view based on the permissions the user has to view/edit the dashboard and the specified Locale.
createGadget(String, GadgetRequestContext) - Method in interface com.atlassian.gadgets.dashboard.internal.GadgetFactory
 
createGadget(GadgetState, GadgetRequestContext) - Method in interface com.atlassian.gadgets.dashboard.internal.GadgetFactory
 
createGadget(String, GadgetRequestContext) - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetFactoryImpl
Creates a new gadget from the spec at the specified URL.
createGadget(GadgetState, GadgetRequestContext) - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetFactoryImpl
Constructs a Gadget instance from the specified GadgetState.
createGadgetRepresentation(DashboardId, Gadget, GadgetRequestContext, boolean, DashboardState.ColumnIndex) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactory
Given a Gadget, this creates a new JAXB gadget representation
createGadgetRepresentation(DashboardId, Gadget, GadgetRequestContext, boolean, DashboardState.ColumnIndex) - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl
 
createGadgetState(URI) - Method in class com.atlassian.gadgets.refimpl.GadgetStateFactoryImpl
Creates a new GadgetState instance from the specified spec URI, using the next available unique ID.
createGadgetState(URI) - Method in interface com.atlassian.gadgets.spi.GadgetStateFactory
Constructs a new GadgetState instance for the specified gadget spec URI.
createGadgetView(GadgetState, View, GadgetRequestContext) - Method in class com.atlassian.gadgets.embedded.internal.GadgetViewFactoryImpl
 
createGadgetView(GadgetState, View, GadgetRequestContext) - Method in interface com.atlassian.gadgets.view.GadgetViewFactory
Returns a ViewComponent that will render the GadgetState, customizing the view based on the Locale specified in the GadgetRequestContext and the desired ViewType.
createToken(Map<String, String>) - Method in class com.atlassian.gadgets.renderer.internal.CustomBlobCrypterSecurityTokenDecoder
Decrypt and verify the provided security token.
createViewType(String, String...) - Static method in class com.atlassian.gadgets.view.ViewType
Creates a ViewType with the given canonical name and optional aliases.
CustomBlobCrypterSecurityTokenDecoder - Class in com.atlassian.gadgets.renderer.internal
 
CustomBlobCrypterSecurityTokenDecoder(BlobCrypter, ContainerDomainProvider) - Constructor for class com.atlassian.gadgets.renderer.internal.CustomBlobCrypterSecurityTokenDecoder
 
CustomNonExpirableBlobCrypterSecurityTokenDecoder - Class in com.atlassian.gadgets.renderer.internal
 
CustomNonExpirableBlobCrypterSecurityTokenDecoder(BlobCrypter, ContainerDomainProvider) - Constructor for class com.atlassian.gadgets.renderer.internal.CustomNonExpirableBlobCrypterSecurityTokenDecoder
 

D

dashboard(DashboardState) - Static method in class com.atlassian.gadgets.dashboard.DashboardState
Factory method which allows you to create a new DashboardState object based on an existing DashboardState.
dashboard(DashboardId) - Static method in class com.atlassian.gadgets.dashboard.DashboardState
Factory method to create a new builder which can be used to create DashboardState objects.
Dashboard - Interface in com.atlassian.gadgets.dashboard.internal
 
DASHBOARD_MENU_SECTION - Static variable in class com.atlassian.gadgets.util.WebItemFinder
 
DASHBOARD_TOOLS_MENU_SECTION - Static variable in class com.atlassian.gadgets.util.WebItemFinder
 
DashboardChange - Interface in com.atlassian.gadgets.spi.changes
Marker interface for operations that can be performed to update a DashboardState.
DashboardChange.Visitor - Interface in com.atlassian.gadgets.spi.changes
Visitor which allows for dynamic dispatching of implementations based on the type of change.
DashboardEmbedder - Class in com.atlassian.gadgets.dashboard.internal.velocity
Utility for embedding dashboard state information in HTML as JSON.
DashboardEmbedder(RepresentationFactory) - Constructor for class com.atlassian.gadgets.dashboard.internal.velocity.DashboardEmbedder
 
DashboardFilter - Class in com.atlassian.gadgets.refimpl.ui
 
DashboardFilter(GadgetRequestContextFactory, GadgetViewFactory, GadgetStateFactory, WebResourceManager) - Constructor for class com.atlassian.gadgets.refimpl.ui.DashboardFilter
 
DashboardId - Class in com.atlassian.gadgets.dashboard
Representation of the identifier for a particular dashboard.
DashboardImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
Implements methods for operating on a backing DashboardState object.
DashboardImpl(DashboardState, StateConverter, GadgetRequestContext) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
DashboardNotFoundException - Exception in com.atlassian.gadgets.dashboard
Thrown if the dashboard identified by the DashboardId does not exist.
DashboardNotFoundException(DashboardId) - Constructor for exception com.atlassian.gadgets.dashboard.DashboardNotFoundException
 
DashboardParser - Class in com.atlassian.gadgets.test
 
DashboardRepository - Interface in com.atlassian.gadgets.dashboard.internal
 
DashboardRepositoryImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
Default implementation of DashboardRepository which delegates retrieval and save operations to a DashboardStateStore.
DashboardRepositoryImpl(TransactionalDashboardStateStoreImpl, StateConverter) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.DashboardRepositoryImpl
Constructor.
DashboardRepresentation - Class in com.atlassian.gadgets.dashboard.internal.rest.representations
Provides a JAXB representation of a Dashboard

TODO : AG-428 We should add LINK elements to this representation, as the REST Guidleines recommend.

DashboardRepresentation.Builder - Class in com.atlassian.gadgets.dashboard.internal.rest.representations
 
DashboardRepresentation.Builder(Dashboard) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation.Builder
 
DashboardResource - Class in com.atlassian.gadgets.dashboard.internal.rest
Provides REST endpoints for using the dashboard.
DashboardResource(PermissionService, GadgetRequestContextFactory, AddGadgetHandler, ChangeLayoutHandler, DashboardRepository, RepresentationFactory, I18nResolver) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.DashboardResource
Constructor.
DashboardService - Interface in com.atlassian.gadgets.dashboard
Service that saves or fetches the DashboardState, after checking to make sure that the user has access to the dashboard.
DashboardServiceImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
Default implementation of DashboardService.
DashboardServiceImpl(TransactionalDashboardStateStoreImpl, PermissionService) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.DashboardServiceImpl
Constructor.
DashboardServlet - Class in com.atlassian.gadgets.refimpl.ui
 
DashboardServlet(GadgetRequestContextFactory, DashboardService, UserManager, DashboardTabViewFactory) - Constructor for class com.atlassian.gadgets.refimpl.ui.DashboardServlet
 
DashboardState - Class in com.atlassian.gadgets.dashboard
An immutable representation of a dashboard.
DashboardState.Builder - Class in com.atlassian.gadgets.dashboard
A builder that allows the Layout or the columns of the DashboardState under construction to be set.
DashboardState.ColumnIndex - Enum in com.atlassian.gadgets.dashboard
There are a predetermined number of columns that a dashboard can contain, and ColumnIndex is the enumeration of those columns.
DashboardState.TitleBuilder - Class in com.atlassian.gadgets.dashboard
A builder that allows you to set the title of the DashboardState object under construction.
DashboardStateStore - Interface in com.atlassian.gadgets.spi
Provides a means for looking up, updating and removing DashboardState objects to/from the persistent store.
DashboardStateStoreException - Exception in com.atlassian.gadgets.spi
Thrown when there is a problem while performing an operation on the persistent data store.
DashboardStateStoreException(String, Throwable) - Constructor for exception com.atlassian.gadgets.spi.DashboardStateStoreException
 
DashboardStateStoreException(String) - Constructor for exception com.atlassian.gadgets.spi.DashboardStateStoreException
 
DashboardStateStoreException(Throwable) - Constructor for exception com.atlassian.gadgets.spi.DashboardStateStoreException
 
DashboardTab - Class in com.atlassian.gadgets.dashboard
Represents a Dashboard Tab
DashboardTab(DashboardId, String, URI) - Constructor for class com.atlassian.gadgets.dashboard.DashboardTab
 
DashboardTabParser - Class in com.atlassian.gadgets.test
 
DashboardTabViewFactory - Interface in com.atlassian.gadgets.dashboard.view
A factory which provides a way to create ViewComponents for dashboards displaying other dashboards available as tabs.
DashboardTemplateRenderer - Class in com.atlassian.gadgets.dashboard.internal
 
DashboardTemplateRenderer(VelocityTemplateRendererFactory, DashboardUrlBuilder, DashboardWebItemFinder) - Constructor for class com.atlassian.gadgets.dashboard.internal.DashboardTemplateRenderer
 
DashboardUrlBuilder - Interface in com.atlassian.gadgets.dashboard.internal
Builds URLs to resources in the dashboard-plugin.
DashboardUrlBuilderImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
 
DashboardUrlBuilderImpl(ApplicationProperties, WebResourceManager) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
 
DashboardWebItemFinder - Class in com.atlassian.gadgets.dashboard.internal
 
DashboardWebItemFinder(WebInterfaceManager, ApplicationProperties, I18nResolver) - Constructor for class com.atlassian.gadgets.dashboard.internal.DashboardWebItemFinder
 
DataType - Enum in com.atlassian.gadgets.spec
Represents the data type of a user preference.
dataType(DataType) - Method in class com.atlassian.gadgets.spec.UserPrefSpec.Builder
Set the DataType of the UserPrefSpec under construction and return this Builder to allow further construction to be done.
debug(boolean) - Method in class com.atlassian.gadgets.GadgetRequestContext.Builder
Sets whether debugging should be enabled when rendering the gadget.
decodeUriComponent(String) - Static method in class com.atlassian.gadgets.util.Uri
Returns the decoded part of the URI.
DEFAULT - Static variable in class com.atlassian.gadgets.view.View
Default View, which uses the default ViewType and is writable.
DEFAULT - Static variable in class com.atlassian.gadgets.view.ViewType
 
defaultValue(String) - Method in class com.atlassian.gadgets.spec.UserPrefSpec.Builder
Set the default value of the UserPrefSpec under construction and return this Builder to allow further construction to be done.
deleteGadget(DashboardId, GadgetRequestContext, GadgetId) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.DeleteGadgetHandler
Removes the specified gadget from the specified dashboard.
deleteGadget(DashboardId, GadgetRequestContext, GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.rest.DeleteGadgetHandlerImpl
 
deleteGadget(DashboardId, GadgetId, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Deletes the specified gadget from the specified dashboard when invoked as a DELETE request.
deleteGadgetFromDirectory(HttpServletRequest, ExternalGadgetSpecId) - Method in class com.atlassian.gadgets.directory.internal.DirectoryResource
 
DeleteGadgetHandler - Interface in com.atlassian.gadgets.dashboard.internal.rest
Interface for removing a gadget from a live dashboard.
DeleteGadgetHandlerImpl - Class in com.atlassian.gadgets.dashboard.internal.rest
Default implementation that removes a gadget from a live dashboard.
DeleteGadgetHandlerImpl(DashboardRepository, I18nResolver) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.DeleteGadgetHandlerImpl
Constructor.
deleteOrMoveGadgetViaPost(String, DashboardId, GadgetId, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Deletes or moves the specified gadget from the specified dashboard when invoked as a POST request.
description(String) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the description of the GadgetSpec under construction and return this Builder to allow further construction to be done.
destroy() - Method in class com.atlassian.gadgets.refimpl.ui.DashboardFilter
 
destroy() - Method in class com.atlassian.gadgets.renderer.internal.servlet.GadgetSpecUrlRenderPermissionServletFilter
 
Diagnostics - Class in com.atlassian.gadgets.dashboard.internal.diagnostics
 
Diagnostics(ApplicationProperties) - Constructor for class com.atlassian.gadgets.dashboard.internal.diagnostics.Diagnostics
 
DiagnosticsException - Exception in com.atlassian.gadgets.dashboard.internal.diagnostics
 
DiagnosticsException(String) - Constructor for exception com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsException
 
DiagnosticsException(String, Throwable) - Constructor for exception com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsException
 
DiagnosticsServlet - Class in com.atlassian.gadgets.dashboard.internal.diagnostics
 
DiagnosticsServlet(TemplateRenderer, UserManager, Diagnostics) - Constructor for class com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet
 
Directory - Interface in com.atlassian.gadgets.directory.internal
 
Directory.Entry - Interface in com.atlassian.gadgets.directory.internal
A single entry in the directory.
DIRECTORY_FEATURE_CATEGORIES_NAME - Static variable in interface com.atlassian.gadgets.directory.internal.Directory
 
DIRECTORY_FEATURE_NAME - Static variable in interface com.atlassian.gadgets.directory.internal.Directory
 
DirectoryConfigurationPermissionChecker - Class in com.atlassian.gadgets.directory.internal
Checks that the user making a request to add a gadget to the directory has permission to do so.
DirectoryConfigurationPermissionChecker(PermissionService, UserManager) - Constructor for class com.atlassian.gadgets.directory.internal.DirectoryConfigurationPermissionChecker
Constructor.
DirectoryEntryParser - Class in com.atlassian.gadgets.test
 
DirectoryEntryProvider - Interface in com.atlassian.gadgets.directory.internal
 
DirectoryImpl - Class in com.atlassian.gadgets.directory.internal.impl
 
DirectoryImpl(Iterable<? extends DirectoryEntryProvider>) - Constructor for class com.atlassian.gadgets.directory.internal.impl.DirectoryImpl
 
DirectoryPredicates - Class in com.atlassian.gadgets.directory.internal
Creates predicates that can be used to filter a group of directory entries so that only entries matching the predicate can be returned
DirectoryResource - Class in com.atlassian.gadgets.directory.internal
Provides a JSON representation of the directory.
DirectoryResource(Directory, GadgetRequestContextFactory, ConfigurableExternalGadgetSpecStore, DirectoryConfigurationPermissionChecker, I18nResolver) - Constructor for class com.atlassian.gadgets.directory.internal.DirectoryResource
Constructor.
directoryTitle(String) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the directory title of the GadgetSpec under construction and return this Builder to allow further construction to be done.
DirectoryUrlBuilder - Interface in com.atlassian.gadgets.directory.internal
 
DirectoryUrlBuilderImpl - Class in com.atlassian.gadgets.directory.internal.impl
 
DirectoryUrlBuilderImpl(ApplicationProperties, WebResourceManager) - Constructor for class com.atlassian.gadgets.directory.internal.impl.DirectoryUrlBuilderImpl
 
displayName(String) - Method in class com.atlassian.gadgets.spec.UserPrefSpec.Builder
Set the display name of the UserPrefSpec under construction and return this Builder to allow further construction to be done.
doDelete(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.samples.RemovableGadgetSpecServlet
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.gadgets.refimpl.ui.DashboardFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.atlassian.gadgets.renderer.internal.servlet.GadgetSpecUrlRenderPermissionServletFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.refimpl.ui.DashboardServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.renderer.internal.servlet.RpcRelay
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.samples.BadRequestServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.samples.PhoneHomeServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.samples.RemovableGadgetSpecServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.renderer.internal.servlet.SecurityTokenServlet
 
doPut(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.samples.RemovableGadgetSpecServlet
 

E

elementsEqual(Iterable<?>, Iterable<?>) - Static method in class com.atlassian.gadgets.dashboard.util.Iterables
Compares two Iterables to determine if they are of equal lengths and contain equal elements in the same order.
encodeUriComponent(String) - Static method in class com.atlassian.gadgets.util.Uri
Returns the encoded part of the URI.
ensureTrailingSlash(String) - Static method in class com.atlassian.gadgets.util.Uri
Returns a "/"-terminated String.
entries(GadgetRequestContext) - Method in interface com.atlassian.gadgets.directory.internal.DirectoryEntryProvider
Returns all the entries available, localized by the locale.
entries(GadgetRequestContext) - Method in class com.atlassian.gadgets.directory.internal.impl.AbstractDirectoryEntryProvider
 
entries() - Method in interface com.atlassian.gadgets.GadgetSpecProvider
Returns all the gadget URIs contained by this store.
entries() - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
entries() - Method in class com.atlassian.gadgets.refimpl.ApplicationGadgetSpecProviderImpl
 
entries() - Method in class com.atlassian.gadgets.refimpl.PluginSettingsExternalGadgetSpecStore
 
entries() - Method in interface com.atlassian.gadgets.spi.ExternalGadgetSpecStore
Retrieves all ExternalGadgetSpecs from the data store.
enumValues(Map<String, String>) - Method in class com.atlassian.gadgets.spec.UserPrefSpec.Builder
Set the Map of the possible values for an enumerated UserPrefSpec under construction and return this Builder to allow further construction to be done.
equals(Object) - Method in class com.atlassian.gadgets.dashboard.DashboardId
 
equals(Object) - Method in class com.atlassian.gadgets.dashboard.DashboardState
 
equals(Object) - Method in class com.atlassian.gadgets.dashboard.DashboardTab
 
equals(Object) - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
equals(Object) - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBCategory
 
equals(Object) - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
 
equals(Object) - Method in class com.atlassian.gadgets.GadgetId
 
equals(Object) - Method in class com.atlassian.gadgets.GadgetState
 
equals(Object) - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
 
equals(Object) - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec.Key
 
equals(Object) - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpec
 
equals(Object) - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpecId
 
equals(Object) - Method in class com.atlassian.gadgets.test.AjaxRequest
 
escape(String) - Static method in class com.atlassian.gadgets.dashboard.internal.util.JavaScript
Escapes the characters in a String using JavaScript String rules.
escape(Writer, String) - Static method in class com.atlassian.gadgets.dashboard.internal.util.JavaScript
Escapes the characters in a String using JavaScript String rules to a Writer.
ExampleGadgetSpecs - Class in com.atlassian.gadgets.test
 
execute(TransactionCallback) - Method in class com.atlassian.gadgets.test.PassThroughTransactionTemplate
 
ExternalGadgetSpec - Class in com.atlassian.gadgets.spi
Models an external gadget spec, which is simply a gadget spec hosted on a web server (as opposed to an internal gadget spec which is stored inside the plugin bundle).
ExternalGadgetSpec(ExternalGadgetSpecId, URI) - Constructor for class com.atlassian.gadgets.spi.ExternalGadgetSpec
Constructor.
ExternalGadgetSpecId - Class in com.atlassian.gadgets.spi
Represents the unique identifier of an ExternalGadgetSpec.
ExternalGadgetSpecIdGenerator - Interface in com.atlassian.gadgets.refimpl
Creates unique IDs to be used when generating new ExternalGadgetSpec objects.
ExternalGadgetSpecIdGeneratorImpl - Class in com.atlassian.gadgets.refimpl
Reference implementation of ExternalGadgetSpecIdGenerator.
ExternalGadgetSpecIdGeneratorImpl(PluginSettingsFactory) - Constructor for class com.atlassian.gadgets.refimpl.ExternalGadgetSpecIdGeneratorImpl
Constructor.
ExternalGadgetSpecStore - Interface in com.atlassian.gadgets.spi
Provides a means for storing, retrieving, and modifying a collection of external gadget spec URIs.
ExternalGadgetStoreException - Exception in com.atlassian.gadgets.spi
Thrown when there is a problem while performing an operation on the external gadget spec URI persistent data store.
ExternalGadgetStoreException() - Constructor for exception com.atlassian.gadgets.spi.ExternalGadgetStoreException
 
ExternalGadgetStoreException(String) - Constructor for exception com.atlassian.gadgets.spi.ExternalGadgetStoreException
 
ExternalGadgetStoreException(String, Throwable) - Constructor for exception com.atlassian.gadgets.spi.ExternalGadgetStoreException
 
ExternalGadgetStoreException(Throwable) - Constructor for exception com.atlassian.gadgets.spi.ExternalGadgetStoreException
 
extractParameters(String) - Method in class com.atlassian.gadgets.util.UriTemplate
Returns Map of parameter names and their values.

F

Feature - Interface in com.atlassian.gadgets.spec
Represents a feature that is declared to be used in a gadget spec.
FeatureImpl - Class in com.atlassian.gadgets.renderer.internal
 
FeatureImpl(Feature) - Constructor for class com.atlassian.gadgets.renderer.internal.FeatureImpl
 
features(Map<String, Feature>) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the Map of Feature for the GadgetSpec under construction and return this Builder to allow further construction to be done.
fetch(HttpRequest) - Method in class com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher
fetch(HttpRequest) - Method in class com.atlassian.gadgets.renderer.internal.http.TrustedAppContentFetcherFactory
 
findDashboardByGadgetId(GadgetId) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardRepository
 
findDashboardByGadgetId(GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardRepositoryImpl
 
findDashboardMenuItems(DashboardId, String) - Method in class com.atlassian.gadgets.dashboard.internal.DashboardWebItemFinder
 
findDashboardToolsMenuItems(DashboardId, String) - Method in class com.atlassian.gadgets.dashboard.internal.DashboardWebItemFinder
 
findDashboardWithGadget(GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
 
findDashboardWithGadget(GadgetId) - Method in class com.atlassian.gadgets.refimpl.PluginSettingsDashboardStateStore
 
findDashboardWithGadget(GadgetId) - Method in interface com.atlassian.gadgets.spi.DashboardStateStore
Retrieve the DashboardState for the dashboard containing the gadget whose identifier is gadgetID
findGadget(GadgetId) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Lookup a Gadget in this Dashboard given the gadget's id.
findGadget(GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
findMenuItemsInSection(String, Map<String, ?>) - Method in class com.atlassian.gadgets.util.WebItemFinder
 
findNode(String, Node) - Static method in class com.atlassian.gadgets.test.Nodes.XPath
 
findNodes(String, Node) - Static method in class com.atlassian.gadgets.test.Nodes.XPath
 
findValue(String, Node) - Static method in class com.atlassian.gadgets.test.Nodes.XPath
 
from(int) - Static method in enum com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Returns the column index as an instance of ColumnIndex.

G

Gadget - Interface in com.atlassian.gadgets.dashboard.internal
 
gadget(GadgetState) - Static method in class com.atlassian.gadgets.GadgetState
Factory method which allows you to create a new GadgetState object based on an existing GadgetState.
gadget(GadgetId) - Static method in class com.atlassian.gadgets.GadgetState
Factory method to create a new builder which can be used to create GadgetState objects.
GadgetColorChange - Class in com.atlassian.gadgets.spi.changes
Details of changing the color of a gadget on a dashboard.
GadgetColorChange(GadgetId, Color) - Constructor for class com.atlassian.gadgets.spi.changes.GadgetColorChange
 
GadgetFactory - Interface in com.atlassian.gadgets.dashboard.internal
 
GadgetFactoryImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
An implementation of GadgetFactory that delegates to a GadgetStateFactory and a GadgetSpecFactory and returns GadgetImpl instances.
GadgetFactoryImpl(GadgetStateFactory, GadgetSpecFactory) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.GadgetFactoryImpl
Creates a new GadgetFactoryImpl that delegates to the specified factory.
GadgetId - Class in com.atlassian.gadgets
Representation of the identifier for a particular gadget.
GadgetIframeParser - Class in com.atlassian.gadgets.test
Wrapper for a gadget iframe DOM element that provides convenient access to element attributes and gadget properties that can be parsed from the element.
GadgetImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
Basic Gadget implementation.
GadgetImpl(GadgetState, GadgetSpec) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
Constructor.
GadgetImpl(GadgetState, String) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
Constructor used by the dashboard when there is an error loading the gadget.
GadgetLayout - Class in com.atlassian.gadgets.spi
 
GadgetLayout(List<? extends Iterable<GadgetId>>) - Constructor for class com.atlassian.gadgets.spi.GadgetLayout
 
GadgetLayoutException - Exception in com.atlassian.gadgets.dashboard.internal
An exception that is thrown if the gadgets are not layed out in accordance with the currently set dashboard Layout.
GadgetLayoutException(String) - Constructor for exception com.atlassian.gadgets.dashboard.internal.GadgetLayoutException
 
GadgetModuleDescriptor - Class in com.atlassian.gadgets.publisher.internal
Custom plugin module type for gadget plugin modules.
GadgetModuleDescriptor() - Constructor for class com.atlassian.gadgets.publisher.internal.GadgetModuleDescriptor
 
GadgetNotFoundException - Exception in com.atlassian.gadgets
Thrown if the gadget identified by the GadgetId does not exist.
GadgetNotFoundException(GadgetId) - Constructor for exception com.atlassian.gadgets.GadgetNotFoundException
 
GadgetNotLoadedException - Exception in com.atlassian.gadgets.dashboard.internal
 
GadgetNotLoadedException(GadgetId) - Constructor for exception com.atlassian.gadgets.dashboard.internal.GadgetNotLoadedException
 
GadgetParser - Class in com.atlassian.gadgets.test
 
GadgetParser.ParsedUserPref - Class in com.atlassian.gadgets.test
 
GadgetParser.ParsedUserPref(DataType, String, String, String, LinkedHashMap<String, String>) - Constructor for class com.atlassian.gadgets.test.GadgetParser.ParsedUserPref
 
GadgetParsingException - Exception in com.atlassian.gadgets
Thrown when the gadget spec is malformed or cannot be parsed for other reasons.
GadgetParsingException(String) - Constructor for exception com.atlassian.gadgets.GadgetParsingException
 
GadgetParsingException(Throwable) - Constructor for exception com.atlassian.gadgets.GadgetParsingException
 
GadgetProcessor - Interface in com.atlassian.gadgets.publisher.internal
Represents preprocessing operations applied to a gadget XML spec before being served to a client or persisted to a store.
GadgetProcessorImpl - Class in com.atlassian.gadgets.publisher.internal.impl
Default implementation of GadgetProcessor that handles host-specific base URLs and the pseudomacro #requireResource.
GadgetProcessorImpl(ApplicationProperties, WebResourceManager, LocaleResolver, I18nResolver) - Constructor for class com.atlassian.gadgets.publisher.internal.impl.GadgetProcessorImpl
Constructor.
GadgetRenderingException - Exception in com.atlassian.gadgets.view
Thrown if there is a problem trying to render a gadget (for example, if the request view is not defined)
GadgetRenderingException(String, GadgetState, Throwable) - Constructor for exception com.atlassian.gadgets.view.GadgetRenderingException
 
GadgetRenderingException(String, GadgetState) - Constructor for exception com.atlassian.gadgets.view.GadgetRenderingException
 
GadgetRenderingException(GadgetState, Throwable) - Constructor for exception com.atlassian.gadgets.view.GadgetRenderingException
 
GadgetRepresentation - Class in com.atlassian.gadgets.dashboard.internal.rest.representations
Provides a JAXB view of a Gadget, so that we can build new gadgets on the file in Javascript.
GadgetRequestContext - Class in com.atlassian.gadgets
Holds information associated with a gadget request that the system will need to use.
gadgetRequestContext() - Static method in class com.atlassian.gadgets.GadgetRequestContext.Builder
Get a new GadgetRequestContext Builder.
GadgetRequestContext.Builder - Class in com.atlassian.gadgets
A builder that facilitates construction of GadgetRequestContext objects.
GadgetRequestContext.Builder() - Constructor for class com.atlassian.gadgets.GadgetRequestContext.Builder
 
GadgetRequestContextFactory - Interface in com.atlassian.gadgets
Provides methods for constructing GadgetRequestContext instances from various sources.
GadgetRequestContextFactoryImpl - Class in com.atlassian.gadgets.renderer.internal
Default implementation of GadgetRequestContextFactory.
GadgetRequestContextFactoryImpl(LocaleResolver, UserManager) - Constructor for class com.atlassian.gadgets.renderer.internal.GadgetRequestContextFactoryImpl
Constructor.
GadgetResource - Class in com.atlassian.gadgets.dashboard.internal.rest
Provides REST endpoints for manipulating a Gadget.
GadgetResource(PermissionService, DashboardRepository, GadgetRequestContextFactory, AddGadgetHandler, DeleteGadgetHandler, ChangeGadgetColorHandler, UpdateGadgetUserPrefsHandler, I18nResolver, RepresentationFactory) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Constructor.
gadgets(List<GadgetRepresentation>) - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation.Builder
 
GadgetSpec - Class in com.atlassian.gadgets.spec
Represents a gadget specification
gadgetSpec(URI) - Static method in class com.atlassian.gadgets.spec.GadgetSpec
Factory method to create a new builder which can be used to create GadgetSpec objects.
gadgetSpec(GadgetSpec) - Static method in class com.atlassian.gadgets.spec.GadgetSpec
Factory method which allows you to create a new GadgetSpec object based on an existing GadgetSpec.
GadgetSpec.Builder - Class in com.atlassian.gadgets.spec
A builder that facilitates construction of GadgetSpec objects.
GadgetSpecFactory - Interface in com.atlassian.gadgets.spec
Factory for creating GadgetSpecs
GadgetSpecFactoryImpl - Class in com.atlassian.gadgets.renderer.internal
Default implementation of GadgetSpecFactory.
GadgetSpecFactoryImpl(Provider<Injector>, ApplicationProperties) - Constructor for class com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl
Constructor.
GadgetSpecProvider - Interface in com.atlassian.gadgets
A simple representation of a container of gadget spec URIs.
GadgetSpecProviderDirectoryEntryProvider - Class in com.atlassian.gadgets.directory.internal.impl
A DirectoryEntryProvider that aggregates an arbitrary number of GadgetSpecProvider implementations to produce its results.
GadgetSpecProviderDirectoryEntryProvider(GadgetSpecFactory, Iterable<GadgetSpecProvider>) - Constructor for class com.atlassian.gadgets.directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider
 
GadgetSpecResource - Class in com.atlassian.gadgets.publisher.internal
Provides a REST endpoint for serving gadget specs provided by plugins.
GadgetSpecResource(PublishedGadgetSpecWriter) - Constructor for class com.atlassian.gadgets.publisher.internal.GadgetSpecResource
Constructor.
GadgetSpecUriNotAllowedException - Exception in com.atlassian.gadgets
Thrown when a gadget spec URI is not valid for rendering on the dashboard.
GadgetSpecUriNotAllowedException(Throwable) - Constructor for exception com.atlassian.gadgets.GadgetSpecUriNotAllowedException
 
GadgetSpecUriNotAllowedException(String) - Constructor for exception com.atlassian.gadgets.GadgetSpecUriNotAllowedException
 
GadgetSpecUrlBuilder - Class in com.atlassian.gadgets.util
Builds URLs to gadget specs that are hosted in plugins.
GadgetSpecUrlBuilder(ApplicationProperties) - Constructor for class com.atlassian.gadgets.util.GadgetSpecUrlBuilder
Constructs a new GadgetSpecUrlBuilder that uses the specified ApplicationProperties to determine the application base URL.
GadgetSpecUrlChecker - Interface in com.atlassian.gadgets
Models permission and validation checks on gadget specs.
GadgetSpecUrlCheckerImpl - Class in com.atlassian.gadgets.renderer.internal
Default implementation which uses GadgetSpecUrlRenderPermission implementations provided by OSGi to see if gadgets may be rendered.
GadgetSpecUrlCheckerImpl(Iterable<GadgetSpecUrlRenderPermission>) - Constructor for class com.atlassian.gadgets.renderer.internal.GadgetSpecUrlCheckerImpl
Constructor.
GadgetSpecUrlRenderPermission - Interface in com.atlassian.gadgets.spi
Used to check if a gadget spec URI is allowed to render on a dashboard.
GadgetSpecUrlRenderPermissionImpl - Class in com.atlassian.gadgets.directory.internal.impl
Simple implementation that allows only syntactically valid URIs which are present in the directory.
GadgetSpecUrlRenderPermissionImpl(Directory) - Constructor for class com.atlassian.gadgets.directory.internal.impl.GadgetSpecUrlRenderPermissionImpl
Constructor.
GadgetSpecUrlRenderPermissionServletFilter - Class in com.atlassian.gadgets.renderer.internal.servlet
Filter that returns appropriate HTTP errors if the requested gadget is not allowed to be rendered.
GadgetSpecUrlRenderPermissionServletFilter(GadgetSpecUrlChecker, I18nResolver, UserManager, VelocityTemplateRenderer) - Constructor for class com.atlassian.gadgets.renderer.internal.servlet.GadgetSpecUrlRenderPermissionServletFilter
Constructor.
GadgetSpecUrlRenderPermissionServletFilter.Unescaper - Class in com.atlassian.gadgets.renderer.internal.servlet
 
GadgetSpecUrlRenderPermissionServletFilter.Unescaper() - Constructor for class com.atlassian.gadgets.renderer.internal.servlet.GadgetSpecUrlRenderPermissionServletFilter.Unescaper
 
GadgetSpecValidator - Interface in com.atlassian.gadgets.publisher.internal
Interface for validating a gadget spec.
GadgetSpecValidatorImpl - Class in com.atlassian.gadgets.publisher.internal.impl
Implements spec validation through XML schemas.
GadgetSpecValidatorImpl() - Constructor for class com.atlassian.gadgets.publisher.internal.impl.GadgetSpecValidatorImpl
 
GadgetState - Class in com.atlassian.gadgets
An immutable representation of a gadget.
GadgetState.Builder - Class in com.atlassian.gadgets
A builder that allows you to set the Color and the user preferences of the GadgetState under construction.
GadgetState.Builder(GadgetState) - Constructor for class com.atlassian.gadgets.GadgetState.Builder
 
GadgetState.SpecUriBuilder - Class in com.atlassian.gadgets
A builder that allows you to set the spec URI of the gadget state under construction
GadgetStateFactory - Interface in com.atlassian.gadgets.spi
Constructs GadgetState instances for gadget spec URIs.
GadgetStateFactoryImpl - Class in com.atlassian.gadgets.refimpl
A reference implementation of GadgetStateFactory.
GadgetStateFactoryImpl(PluginSettingsFactory, TransactionTemplate) - Constructor for class com.atlassian.gadgets.refimpl.GadgetStateFactoryImpl
Constructs a new GadgetStateFactoryImpl that uses the specified PluginSettingsFactory to store the next available gadget ID.
GadgetUrlBuilder - Class in com.atlassian.gadgets.embedded.internal
Builds URLs to the rendered gadget.
GadgetUrlBuilder(ApplicationProperties, WebResourceManager, SecurityTokenFactory, GadgetSpecFactory) - Constructor for class com.atlassian.gadgets.embedded.internal.GadgetUrlBuilder
Constructor.
GadgetViewFactory - Interface in com.atlassian.gadgets.view
A factory which provides a way to create ViewComponents for gadgets.
GadgetViewFactoryImpl - Class in com.atlassian.gadgets.embedded.internal
Default implementation of GadgetViewFactory.
GadgetViewFactoryImpl(GadgetSpecFactory, RenderedGadgetUriBuilder) - Constructor for class com.atlassian.gadgets.embedded.internal.GadgetViewFactoryImpl
 
generateCallback(OAuthFetcherConfig, String, HttpRequest, OAuthResponseParams) - Method in class com.atlassian.gadgets.renderer.internal.AtlassianOAuthCallbackGenerator
 
get(DashboardId, String) - Method in interface com.atlassian.gadgets.dashboard.DashboardService
Fetch the DashboardState if the user has permission.
get(DashboardId, GadgetRequestContext) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardRepository
 
get(DashboardId, GadgetRequestContext) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardRepositoryImpl
 
get(DashboardId, String) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardServiceImpl
 
get(HttpServletRequest) - Method in interface com.atlassian.gadgets.GadgetRequestContextFactory
Returns a GadgetRequestContext based on the values in the specified request.
get(String, String) - Method in class com.atlassian.gadgets.renderer.internal.AtlassianContainerConfig
 
get(HttpServletRequest) - Method in class com.atlassian.gadgets.renderer.internal.GadgetRequestContextFactoryImpl
 
get() - Method in class com.atlassian.gadgets.renderer.internal.guice.InjectorProvider
 
get() - Method in class com.atlassian.gadgets.renderer.internal.guice.XercesParseModule.XercesDOMImplementationProvider
 
getAction() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefsRepresentation
 
getAliases() - Method in class com.atlassian.gadgets.view.ViewType
Gets the aliases for this ViewType
getAlternateBaseUrl() - Static method in class com.atlassian.gadgets.test.TestApplicationProperties
 
getAuthor() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the author of the gadget in this spec
getAuthorEmail() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns the email address of the author of the gadget for this directory entry.
getAuthorEmail() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the gadget author's email address.
getAuthorEmail() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the email for the author of the gadget in this spec
getAuthorName() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns the name of the author of the gadget for this directory entry.
getAuthorName() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the gadget author's name.
getBaseUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
Overridden to return REST URIs instead of servlet URLs.
getBaseUrl() - Method in class com.atlassian.gadgets.test.TestApplicationProperties
 
getBaseUrl() - Method in class com.atlassian.gadgets.util.AbstractUrlBuilder
 
getBuildDate() - Method in class com.atlassian.gadgets.test.TestApplicationProperties
 
getBuildNumber() - Method in class com.atlassian.gadgets.test.TestApplicationProperties
 
getCanonicalName() - Method in class com.atlassian.gadgets.view.ViewType
Gets the canonical name of this ViewType
getCategories() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns the directory categories of this entry.
getCategories() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the gadget's categories.
getChanges() - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Returns an immutable list of changes that have been made to this Dashboard, in the order that they occurred.
getChanges() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
getColor() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getColor() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getColor() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getColor() - Method in class com.atlassian.gadgets.GadgetState
Returns the Color scheme that should be used to decorate the chrome surrounding the gadget.
getColor() - Method in class com.atlassian.gadgets.spi.changes.GadgetColorChange
Get the updated gadget color
getColor() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getColorUrl() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getColumn() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getColumnIndex() - Method in class com.atlassian.gadgets.spi.changes.AddGadgetChange
Get the index of the column where the gadget is being added
getColumnRange() - Method in enum com.atlassian.gadgets.dashboard.Layout
Return an immutable Iterable over the ColumnIndexes that exist in this layout.
getColumns() - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns an immutable Iterable of the columns in this DashboardState (which contain the GadgetStates).
getConcatUrl() - Method in class com.atlassian.gadgets.renderer.internal.rewrite.AtlassianGadgetsContentRewriter
 
getConsumerKeyAndSecret(SecurityToken, String, OAuthServiceProvider) - Method in class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthStore
 
getContainers() - Method in class com.atlassian.gadgets.renderer.internal.AtlassianContainerConfig
 
getDashboard(DashboardId, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.DashboardResource
 
getDashboardId() - Method in exception com.atlassian.gadgets.dashboard.DashboardNotFoundException
 
getDashboardId() - Method in class com.atlassian.gadgets.dashboard.DashboardTab
 
getDashboardId() - Method in class com.atlassian.gadgets.dashboard.internal.impl.TabImpl
 
getDashboardId() - Method in interface com.atlassian.gadgets.dashboard.internal.Tab
 
getDataType() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
getDataType() - Method in interface com.atlassian.gadgets.dashboard.internal.UserPref
Returns the DataType of this pref.
getDataType() - Method in class com.atlassian.gadgets.spec.UserPrefSpec
Returns the DataType of this pref.
getDataType() - Method in class com.atlassian.gadgets.test.GadgetParser.ParsedUserPref
 
getDateLoaded() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
 
getDefaultValue() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
getDefaultValue() - Method in interface com.atlassian.gadgets.dashboard.internal.UserPref
Returns the pref's default value.
getDefaultValue() - Method in class com.atlassian.gadgets.spec.UserPrefSpec
Returns the pref's default value.
getDescription() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns a textual description of the gadget for this directory entry.
getDescription() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the entry's description.
getDescription() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the description of the gadget in this spec
getDescription() - Method in class com.atlassian.gadgets.test.DirectoryEntryParser
 
getDetectedHostname() - Method in exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlHostnameMismatchException
 
getDetectedPort() - Method in exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlPortMismatchException
 
getDetectedScheme() - Method in exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlSchemeMismatchException
 
getDirectory(HttpServletRequest) - Method in class com.atlassian.gadgets.directory.internal.DirectoryResource
Returns a representation of the categories and gadgets contained in the directory.
getDirectoryContents(Directory, GadgetRequestContext) - Static method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryContents
 
getDirectoryTitle() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the title for the directory of the gadget in this spec
getDisplayableLabel() - Method in class com.atlassian.gadgets.util.WebItemFinder.GadgetWebLabel
 
getDisplayableUrl() - Method in class com.atlassian.gadgets.util.WebItemFinder.GadgetWebLink
 
getDisplayName() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
getDisplayName() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
getDisplayName() - Method in interface com.atlassian.gadgets.dashboard.internal.UserPref
Returns the display name of this parameter; if not explicitly set by the gadget, returns the name.
getDisplayName() - Method in class com.atlassian.gadgets.spec.UserPrefSpec
Returns the display name of this parameter.
getDisplayName() - Method in class com.atlassian.gadgets.test.GadgetParser.ParsedUserPref
 
getDisplayName() - Method in class com.atlassian.gadgets.test.TestApplicationProperties
 
getDomain() - Method in class com.atlassian.gadgets.renderer.internal.ContainerDomainProvider
Returns the domain as it appears in the applications base URL.
getEditFormUrl() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getEntries(GadgetRequestContext) - Method in interface com.atlassian.gadgets.directory.internal.Directory
Returns all the entries available, localized by the locale.
getEntries(GadgetRequestContext) - Method in class com.atlassian.gadgets.directory.internal.impl.DirectoryImpl
 
getEnumValues() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
getEnumValues() - Method in interface com.atlassian.gadgets.dashboard.internal.UserPref
Returns the possible values for an enumerated pref, or null if the pref is not an enum.
getEnumValues() - Method in class com.atlassian.gadgets.spec.UserPrefSpec
Returns the possible values for an enumerated pref.
getEnumValues() - Method in class com.atlassian.gadgets.test.GadgetParser.ParsedUserPref
 
getErrorMessage() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
Returns an error message if the gadget was constructed with one, which should be the case when isLoaded() returns false
getErrorMessage() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getErrorMessage() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getExpectedHostname() - Method in exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlHostnameMismatchException
 
getExpectedPort() - Method in exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlPortMismatchException
 
getExpectedScheme() - Method in exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlSchemeMismatchException
 
getFeatures() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the features in this spec
getFields() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefsRepresentation
 
getFirstGadget() - Method in class com.atlassian.gadgets.test.DashboardParser
 
getGadgetId() - Method in exception com.atlassian.gadgets.dashboard.internal.GadgetNotLoadedException
 
getGadgetId() - Method in exception com.atlassian.gadgets.GadgetNotFoundException
 
getGadgetId() - Method in class com.atlassian.gadgets.spi.changes.GadgetColorChange
Get the id of the gadget we are changing the color of
getGadgetId() - Method in class com.atlassian.gadgets.spi.changes.RemoveGadgetChange
Get the id of the gadget we are removing
getGadgetId() - Method in class com.atlassian.gadgets.spi.changes.UpdateGadgetUserPrefsChange
Get the id of the gadget we are updating user prefs for
getGadgetLayout() - Method in class com.atlassian.gadgets.spi.changes.UpdateLayoutChange
Get the layout of all the Gadgets on the dashboard
getGadgets() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation
 
getGadgets() - Method in class com.atlassian.gadgets.test.DashboardParser
 
getGadgetsInColumn(DashboardState.ColumnIndex) - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns an immutable Iterable of the GadgetStates in the given column.
getGadgetsInColumn(DashboardState.ColumnIndex) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
 
getGadgetsInColumn(DashboardState.ColumnIndex) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
getGadgetsInColumn(int) - Method in class com.atlassian.gadgets.spi.GadgetLayout
 
getGadgetSpec(URI, GadgetRequestContext) - Method in class com.atlassian.gadgets.directory.internal.impl.AbstractDirectoryEntryProvider
 
getGadgetSpec(String, String) - Method in class com.atlassian.gadgets.publisher.internal.GadgetSpecResource
Returns the full XML gadget spec corresponding to the resource specified in the URI.
getGadgetSpec(GadgetState, GadgetRequestContext) - Method in class com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl
 
getGadgetSpec(URI, GadgetRequestContext) - Method in class com.atlassian.gadgets.renderer.internal.GadgetSpecFactoryImpl
 
getGadgetSpec(GadgetContext) - Method in class com.atlassian.gadgets.renderer.internal.local.LocalGadgetSpecFactory
 
getGadgetSpec(URI, boolean) - Method in class com.atlassian.gadgets.renderer.internal.local.LocalGadgetSpecFactory
 
getGadgetSpec(GadgetState, GadgetRequestContext) - Method in interface com.atlassian.gadgets.spec.GadgetSpecFactory
Create a GadgetSpec from a GadgetState
getGadgetSpec(URI, GadgetRequestContext) - Method in interface com.atlassian.gadgets.spec.GadgetSpecFactory
Create a GadgetSpec from a spec URI
getGadgetSpecUri() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns the URI of the gadget spec file for this directory entry.
getGadgetSpecUri() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the gadget's spec URI.
getGadgetSpecUri() - Method in class com.atlassian.gadgets.GadgetState
Returns the URI of the gadget spec, which defines the gadget as described in the gadget spec reference.
getGadgetSpecUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getGadgetSpecUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getGadgetSpecUrl() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getGadgetState() - Method in exception com.atlassian.gadgets.view.GadgetRenderingException
 
getGadgetUrl() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getHasNonHiddenUserPrefs() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getHeight() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getHeight() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getHeight() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getHeight() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the height of the gadget in this spec
getHomeDirectory() - Method in class com.atlassian.gadgets.test.TestApplicationProperties
 
getId() - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns the unique identifier, represented by a DashboardId, for the dashboard's state.
getId() - Method in class com.atlassian.gadgets.dashboard.internal.AbstractViewComponent
 
getId() - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
 
getId() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getId() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
getId() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getId() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation
 
getId() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getId() - Method in class com.atlassian.gadgets.GadgetState
Returns the unique identifier, represented by a GadgetId, for the gadget's state.
getId() - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpec
Returns the ID of this ExternalGadgetSpec, guaranteed to be unique across the host application.
getId() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getId() - Method in class com.atlassian.gadgets.util.WebItemFinder.GadgetWebLink
 
getIframe() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getIgnoreCache() - Method in class com.atlassian.gadgets.GadgetRequestContext
Returns the cache setting used for this request.
getInputStream() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
Returns the spec resource as an input stream, for processing.
getJson(String, String) - Method in class com.atlassian.gadgets.renderer.internal.AtlassianContainerConfig
Fetches a configuration parameter as a JSON object, array, string, or number, ensuring that it can be safely passed to javascript without any additional filtering.
getJsonArray(String, String) - Method in class com.atlassian.gadgets.renderer.internal.AtlassianContainerConfig
 
getJsonObject(String, String) - Method in class com.atlassian.gadgets.renderer.internal.AtlassianContainerConfig
 
getKey() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
Returns a unique identifier for this spec.
getKey(PluginSettingsFactory) - Method in class com.atlassian.gadgets.renderer.internal.BlobCrypterImpl
 
getLabel() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation.EnumValueRepresentation
 
getLabel() - Method in class com.atlassian.gadgets.test.DashboardTabParser
 
getLabel() - Method in class com.atlassian.gadgets.util.WebItemFinder.WebItem
 
getLastModified(URI) - Method in interface com.atlassian.gadgets.LocalGadgetSpecProvider
Return the date the gadget spec was last modified.
getLastModified(URI) - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
getLayout() - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns the Layout of the dashboard.
getLayout() - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
 
getLayout() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
getLayout() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation
 
getLayout() - Method in class com.atlassian.gadgets.spi.changes.UpdateLayoutChange
Get the Layout type, e.g.
getLayouts() - Method in class com.atlassian.gadgets.test.DashboardParser
 
getLink() - Method in class com.atlassian.gadgets.util.WebItemFinder.WebItem
 
getLocale() - Method in class com.atlassian.gadgets.GadgetRequestContext
Returns the locale used for this request.
getLocation() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
If isHostedExternally() returns true, this method returns the absolute URL of the gadget spec file, beginning with http or https.
getLocation() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec.Key
Returns the location of the spec this key is for.
getModule() - Method in class com.atlassian.gadgets.publisher.internal.GadgetModuleDescriptor
Returns the PluginGadgetSpec created for this module descriptor.
getModuleId() - Method in class com.atlassian.gadgets.test.GadgetIframeParser
Returns the module ID of the gadget represented by this parser.
getModuleKey() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
Returns the module key for this spec.
getName() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
getName() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
getName() - Method in interface com.atlassian.gadgets.dashboard.internal.UserPref
Returns the pref name.
getName() - Method in enum com.atlassian.gadgets.directory.internal.Category
 
getName() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBCategory
Returns the name of the category.
getName() - Method in class com.atlassian.gadgets.renderer.internal.FeatureImpl
 
getName() - Method in interface com.atlassian.gadgets.spec.Feature
Get the name of this feature
getName() - Method in class com.atlassian.gadgets.spec.UserPrefSpec
Returns the pref name.
getName() - Method in class com.atlassian.gadgets.test.GadgetIframeParser
Returns the name attribute of the iframe.
getName() - Method in class com.atlassian.gadgets.test.GadgetParser.ParsedUserPref
 
getNumberOfColumns() - Method in enum com.atlassian.gadgets.dashboard.Layout
Returns the number of columns in this layout.
getNumberOfColumns() - Method in class com.atlassian.gadgets.spi.GadgetLayout
 
getNumberOfGadgets() - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Get the total number of gadgets on this dashboard
getNumberOfGadgets() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
getNumGadgets(DashboardId, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.DashboardResource
 
getOAuthFetcher(HttpFetcher, HttpRequest) - Method in class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthFetcherFactory
Returns an AtlassianOAuthFetcher
getOptions() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
getParameter(String) - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
 
getParameterValue(String) - Method in class com.atlassian.gadgets.renderer.internal.FeatureImpl
 
getParameterValue(String) - Method in interface com.atlassian.gadgets.spec.Feature
Get the value for this parameter passed in the spec
getParams() - Method in class com.atlassian.gadgets.test.AjaxRequest
 
getPluginKey() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
Returns the plugin key for this spec.
getPluginKey() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec.Key
Returns the key of the plugin that the spec this key is for is contained in.
getPrefValues() - Method in class com.atlassian.gadgets.spi.changes.UpdateGadgetUserPrefsChange
Get the updated user pref values
getProxyUrl() - Method in class com.atlassian.gadgets.renderer.internal.rewrite.AtlassianGadgetsContentRewriter
 
getRenderedGadget(DashboardId, GadgetId, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Returns a Gadget's JSON or XMl representation.
getRenderedGadgetUrl() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getRenderedGadgetUrl() - Method in class com.atlassian.gadgets.test.GadgetIframeParser
Returns the URI of the rendered gadget represented by this parser.
getRenderedGadgetUrl() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getRowIndex() - Method in class com.atlassian.gadgets.spi.changes.AddGadgetChange
Get the index of the row where the gadget is being added
getSelf() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns the unique URI of the directory entry.
getSelf() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
The gadget spec file's resource URI.
getSingleton() - Static method in class com.atlassian.gadgets.renderer.internal.servlet.GadgetSpecUrlRenderPermissionServletFilter.Unescaper
 
getSpecUri() - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpec
Returns the spec URI.
getStackTraceAsString() - Method in exception com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsException
 
getState() - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
 
getState() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getState() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
getState() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getState() - Method in class com.atlassian.gadgets.spi.changes.AddGadgetChange
Get the state of the gadget being added
getStyleClass() - Method in class com.atlassian.gadgets.util.WebItemFinder.WebItem
 
getTabs() - Method in class com.atlassian.gadgets.test.DashboardParser
 
getTabUri() - Method in class com.atlassian.gadgets.dashboard.DashboardTab
 
getTabUri() - Method in class com.atlassian.gadgets.dashboard.internal.impl.TabImpl
 
getTabUri() - Method in interface com.atlassian.gadgets.dashboard.internal.Tab
 
getThumbnail() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the URI for the thumbnail image representing the gadget
getThumbnailUri() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns the URI of an image to display as a thumbnail or icon in the directory for this entry.
getThumbnailUri() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the gadget's thumbnail URI.
getTitle() - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns the title of the dashboard.
getTitle() - Method in class com.atlassian.gadgets.dashboard.DashboardTab
 
getTitle() - Method in class com.atlassian.gadgets.dashboard.internal.AbstractViewComponent
 
getTitle() - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
 
getTitle() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getTitle() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
getTitle() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getTitle() - Method in class com.atlassian.gadgets.dashboard.internal.impl.TabImpl
 
getTitle() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation
 
getTitle() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getTitle() - Method in interface com.atlassian.gadgets.dashboard.internal.Tab
 
getTitle() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns the title of the directory entry.
getTitle() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the gadget's title as a String.
getTitle() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the title of the gadget in this spec
getTitle() - Method in class com.atlassian.gadgets.test.DashboardTabParser
 
getTitle() - Method in class com.atlassian.gadgets.test.DirectoryEntryParser
 
getTitle() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getTitleUri() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Returns a URI of the gadget author's choosing that is displayed as a link in the directory, with the title as the link text.
getTitleUri() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Returns the gadget's title URI.
getTitleUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
Returns an optional URL that the gagdget's title will link to
getTitleUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getTitleUrl() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getTitleUrl() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the url that the title of the gadget in this spec should link to
getTitleUrl() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getTokenInfo(SecurityToken, OAuthStore.ConsumerInfo, String, String) - Method in class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthStore
 
getType() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
getUnsupportedFeatureNames() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the features that are needed (required, not optional) but aren't available
getUrl() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the uri for this gadget spec
getUrl() - Method in class com.atlassian.gadgets.test.AjaxRequest
 
getUserPref(String) - Method in class com.atlassian.gadgets.test.GadgetParser
 
getUserPrefs() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getUserPrefs() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getUserPrefs() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getUserPrefs() - Method in class com.atlassian.gadgets.GadgetState
An immutable Map of the user preference values for the gadget, keyed by the name of the user preference.
getUserPrefs() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the user prefs in this spec
getUserPrefs() - Method in class com.atlassian.gadgets.test.GadgetParser
 
getValue() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
getValue() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation.EnumValueRepresentation
 
getValue() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
getValue() - Method in interface com.atlassian.gadgets.dashboard.internal.UserPref
Returns the pref's current value.
getValue() - Method in class com.atlassian.gadgets.test.GadgetParser.ParsedUserPref
 
getVersion() - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns this state's version so that it can be used by implementations when storing DashboardStates, to make sure the same object is stored and retrieved
getVersion() - Method in class com.atlassian.gadgets.test.TestApplicationProperties
 
getViewer() - Method in class com.atlassian.gadgets.GadgetRequestContext
Returns the viewer (the current user) for this request.
getViewType() - Method in class com.atlassian.gadgets.view.View
Returns the ViewType of this gadget which will be rendered.
getWidth() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
getWidth() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
getWidth() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getWidth() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the width of the gadget in this spec

H

hasEditLink() - Method in class com.atlassian.gadgets.test.GadgetParser
 
hashCode() - Method in class com.atlassian.gadgets.dashboard.DashboardId
 
hashCode() - Method in class com.atlassian.gadgets.dashboard.DashboardState
 
hashCode() - Method in class com.atlassian.gadgets.dashboard.DashboardTab
 
hashCode() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
hashCode() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBCategory
 
hashCode() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
 
hashCode() - Method in class com.atlassian.gadgets.GadgetId
 
hashCode() - Method in class com.atlassian.gadgets.GadgetState
 
hashCode() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
 
hashCode() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec.Key
 
hashCode() - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpec
 
hashCode() - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpecId
 
hashCode() - Method in class com.atlassian.gadgets.test.AjaxRequest
 
hasNext() - Method in enum com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Returns true if there are more possible columns after this one, false otherwise.
hasNonHiddenUserPrefs() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
Returns true if the gadget contains at least one pref that isn't hidden.
hasNonHiddenUserPrefs() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
hasNonHiddenUserPrefs() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
hasParameter(String) - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
 
height(int) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the height of the GadgetSpec under construction and return this Builder to allow further construction to be done.
hex(char) - Static method in class com.atlassian.gadgets.dashboard.internal.util.JavaScript
Returns an upper case hexadecimal String for the given character.
html(String) - Method in class com.atlassian.gadgets.renderer.internal.servlet.GadgetSpecUrlRenderPermissionServletFilter.Unescaper
Just returns the text parameter.
HttpClientFetcher - Class in com.atlassian.gadgets.renderer.internal.http
Implementation of a HttpFetcher using HttpClient.
HttpClientFetcher(HttpCache) - Constructor for class com.atlassian.gadgets.renderer.internal.http.HttpClientFetcher
 

I

ignoreCache(boolean) - Method in class com.atlassian.gadgets.GadgetRequestContext.Builder
Set the cache setting of the GadgetRequestContext under construction and return this Builder to allow further construction to be done.
IllegalUriParameterException - Exception in com.atlassian.gadgets.util
Exception thrown when a parameter found in the URI of a request is invalid.
IllegalUriParameterException(String, Throwable) - Constructor for exception com.atlassian.gadgets.util.IllegalUriParameterException
 
IllegalUriParameterException(String) - Constructor for exception com.atlassian.gadgets.util.IllegalUriParameterException
 
inCategory(Category) - Static method in class com.atlassian.gadgets.directory.internal.DirectoryPredicates
 
InconsistentDashboardStateException - Exception in com.atlassian.gadgets.dashboard.internal
 
InconsistentDashboardStateException(String) - Constructor for exception com.atlassian.gadgets.dashboard.internal.InconsistentDashboardStateException
 
index() - Method in enum com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Returns the actual value of the ColumnIndex as an int.
init(Plugin, Element) - Method in class com.atlassian.gadgets.publisher.internal.GadgetModuleDescriptor
Initializes this module descriptor from the specified XML element, parsed from atlassian-plugins.xml.
init(FilterConfig) - Method in class com.atlassian.gadgets.refimpl.ui.DashboardFilter
 
init(FilterConfig) - Method in class com.atlassian.gadgets.renderer.internal.servlet.GadgetSpecUrlRenderPermissionServletFilter
 
init(Map<String, String>) - Method in class com.atlassian.gadgets.spi.util.UserHasWritePermissionToDashboard
 
InjectorProvider - Class in com.atlassian.gadgets.renderer.internal.guice
A Provider that creates and returns the Guice Injector
InjectorProvider(SalModule, ShindigModule, AuthModule) - Constructor for class com.atlassian.gadgets.renderer.internal.guice.InjectorProvider
 
internalEntries() - Method in class com.atlassian.gadgets.directory.internal.impl.AbstractDirectoryEntryProvider
 
internalEntries() - Method in class com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider
 
internalEntries() - Method in class com.atlassian.gadgets.directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider
 
internalEntries() - Method in class com.atlassian.gadgets.directory.internal.impl.PluginExternalGadgetSpecDirectoryEntryProvider
 
InvalidDirectoryGadgetUriException - Exception in com.atlassian.gadgets.util
Thrown when a directory gadget URI is either not a valid URI or if it does not begin with http:// or https://.
InvalidDirectoryGadgetUriException(Throwable) - Constructor for exception com.atlassian.gadgets.util.InvalidDirectoryGadgetUriException
 
InvalidDirectoryGadgetUriException(String) - Constructor for exception com.atlassian.gadgets.util.InvalidDirectoryGadgetUriException
 
isColumnSizingFair(DashboardState.ColumnIndex) - Method in enum com.atlassian.gadgets.dashboard.Layout
Checks if the column shares the space with the other columns on the screen equally or if it is greedy and should take up more space.
isDebuggingEnabled() - Method in class com.atlassian.gadgets.GadgetRequestContext
Returns true if the gadget should be rendered with debugging enabled, otherwise.
isDeletable() - Method in interface com.atlassian.gadgets.directory.internal.Directory.Entry
Can this Gadget Spec File be removed from the directory?
isDeletable() - Method in class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Whehter or not this gadget spec file can be removed from the directory.
isDraggable() - Method in class com.atlassian.gadgets.test.DashboardParser
 
isElement(Node) - Static method in class com.atlassian.gadgets.test.Nodes
 
isHostedExternally() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
Returns true if this spec is hosted externally (meaning it is not part of a plugin served by the Gadgets Publisher plugin), false otherwise.
isLoaded() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
Tells if the gadget has been loaded successfully
isLoaded() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
isLoaded() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
isMaximizable() - Method in interface com.atlassian.gadgets.dashboard.internal.Gadget
 
isMaximizable() - Method in class com.atlassian.gadgets.dashboard.internal.impl.GadgetImpl
 
isMaximizable() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
isReadableBy(DashboardId, String) - Method in class com.atlassian.gadgets.refimpl.PermissionServiceImpl
 
isReadableBy(DashboardId, String) - Method in interface com.atlassian.gadgets.spi.PermissionService
Returns true if the user identified by username has permission to view the dashboard identified by the DashboardId, false otherwise.
isRequired() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
isRequired() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
isRequired() - Method in interface com.atlassian.gadgets.dashboard.internal.UserPref
Returns true if the pref is required.
isRequired() - Method in class com.atlassian.gadgets.spec.UserPrefSpec
Returns true if the pref is required.
isScrolling() - Method in class com.atlassian.gadgets.spec.GadgetSpec
Get the scrolling setting of the gadget in this spec
isSelected() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation.EnumValueRepresentation
 
isValid(InputStream) - Method in interface com.atlassian.gadgets.publisher.internal.GadgetSpecValidator
Returns true if the specified gadget spec is valid.
isValid(InputStream) - Method in class com.atlassian.gadgets.publisher.internal.impl.GadgetSpecValidatorImpl
Returns true if the specified gadget spec is valid against the XML schema provided at construction time, false otherwise.
isValid(String) - Static method in class com.atlassian.gadgets.util.Uri
Returns true if the gadget URI is a valid URI and begins with http:// or https://, false otherwise.
isWritable() - Method in class com.atlassian.gadgets.dashboard.internal.impl.TabImpl
 
isWritable() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation
 
isWritable() - Method in interface com.atlassian.gadgets.dashboard.internal.Tab
 
isWritable() - Method in class com.atlassian.gadgets.view.View
Returns true if the viewer is allowed to make changes to the gadget state.
isWritableBy(DashboardId, String) - Method in class com.atlassian.gadgets.refimpl.PermissionServiceImpl
 
isWritableBy(DashboardId, String) - Method in interface com.atlassian.gadgets.spi.PermissionService
Returns true if the user identified by username has permission to modify the dashboard identified by the DashboardId, false otherwise.
Iterables - Class in com.atlassian.gadgets.dashboard.util
Convenience methods for dealing with Iterables, since we want to avoid introducing a dependency on Google Collections in our public API

J

JavaScript - Class in com.atlassian.gadgets.dashboard.internal.util
Escaping that was ripped from Apache Commons-Lang StringUtils class, modified to escape the '<' character as a unicode string as described in AG-1005.
JavaScript() - Constructor for class com.atlassian.gadgets.dashboard.internal.util.JavaScript
 
JAXBCategory - Class in com.atlassian.gadgets.directory.internal.jaxb
Provides a JAXB view of Category values.
JAXBCategory(Category) - Constructor for class com.atlassian.gadgets.directory.internal.jaxb.JAXBCategory
Constructor.
JAXBDirectoryContents - Class in com.atlassian.gadgets.directory.internal.jaxb
Models the contents of the directory.
JAXBDirectoryEntry - Class in com.atlassian.gadgets.directory.internal.jaxb
Provides a JAXB view of Directory.Entry implementations.
JAXBDirectoryEntry(Directory.Entry) - Constructor for class com.atlassian.gadgets.directory.internal.jaxb.JAXBDirectoryEntry
Constructor.
json(Dashboard, GadgetRequestContext, boolean) - Method in class com.atlassian.gadgets.dashboard.internal.velocity.DashboardEmbedder
 

L

layout(Layout) - Method in class com.atlassian.gadgets.dashboard.DashboardState.Builder
Set the Layout of the DashboardState under construction and return this Builder to allow further construction to be done.
Layout - Enum in com.atlassian.gadgets.dashboard
Dashboards can be laid out in multiple ways: with a single column (A), with two columns of equal size (AA), with two columns where one is smaller and the other is larger (AB), etc.
locale(Locale) - Method in class com.atlassian.gadgets.GadgetRequestContext.Builder
Set the Locale of the GadgetRequestContext under construction and return this Builder to allow further construction to be done.
LocalGadgetSpecFactory - Class in com.atlassian.gadgets.renderer.internal.local
An alternate implementation of Shindig's GadgetSpecFactory implementation that is capable of retrieving local gadget specs without performing an HTTP loopback request.
LocalGadgetSpecFactory(Iterable<LocalGadgetSpecProvider>, GadgetSpecFactory) - Constructor for class com.atlassian.gadgets.renderer.internal.local.LocalGadgetSpecFactory
 
LocalGadgetSpecProvider - Interface in com.atlassian.gadgets
A provider of gadget specs that are avaiable locally, without making an HTTP request to fetch them.

M

MASTER_KEY_MIN_LEN - Static variable in class com.atlassian.gadgets.renderer.internal.NonExpirableBlobCrypterImpl
minimum length of master key
matches(String) - Method in class com.atlassian.gadgets.util.UriTemplate
Returns true if the URI matches this template, false.
MONKEY_GADGET_SPEC_URI - Static variable in class com.atlassian.gadgets.test.ExampleGadgetSpecs
 
monkeyGadgetSpec() - Static method in class com.atlassian.gadgets.test.ExampleGadgetSpecs
 
moveGadget(DashboardId, GadgetId, DashboardId, DashboardState.ColumnIndex, int, GadgetRequestContext) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.AddGadgetHandler
Moves the gadget specified by id from the source dashboard to the target dashboard.
moveGadget(DashboardId, GadgetId, DashboardId, DashboardState.ColumnIndex, int, GadgetRequestContext) - Method in class com.atlassian.gadgets.dashboard.internal.rest.AddGadgetHandlerImpl
 
moveGadget(DashboardId, GadgetId, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Moves the specified gadget to the specified dashboard.

N

named(String) - Static method in enum com.atlassian.gadgets.directory.internal.Category
 
newAccessTokenProperties(ServiceProviderToken) - Method in class com.atlassian.gadgets.oauth.serviceprovider.internal.OpenSocialTokenPropertiesFactory
 
newExternalGadgetSpecId() - Method in interface com.atlassian.gadgets.refimpl.ExternalGadgetSpecIdGenerator
Creates and returns a new globally unique ID for an ExternalGadgetSpec.
newExternalGadgetSpecId() - Method in class com.atlassian.gadgets.refimpl.ExternalGadgetSpecIdGeneratorImpl
 
newRequestTokenProperties(Request) - Method in class com.atlassian.gadgets.oauth.serviceprovider.internal.OpenSocialTokenPropertiesFactory
 
newSecurityToken(GadgetState, String) - Method in class com.atlassian.gadgets.renderer.internal.SecurityTokenFactoryImpl
 
newSecurityToken(GadgetState, String) - Method in interface com.atlassian.gadgets.view.SecurityTokenFactory
Create a new security token for the gadget.
next() - Method in enum com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Returns the next column index after this one if there is one, equivalent to doing i+1 when the index is an int.
NO_CURRENT_REQUEST - Static variable in class com.atlassian.gadgets.GadgetRequestContext
 
Nodes - Class in com.atlassian.gadgets.test
 
Nodes.XPath - Class in com.atlassian.gadgets.test
 
Nodes.XPath.XPathException - Exception in com.atlassian.gadgets.test
 
Nodes.XPath.XPathException(Throwable) - Constructor for exception com.atlassian.gadgets.test.Nodes.XPath.XPathException
 
NonExpirableBlobCrypterImpl - Class in com.atlassian.gadgets.renderer.internal
Simple implementation of BlobCrypter that doesn't check for expiration.
NonExpirableBlobCrypterImpl(PluginSettingsFactory, TransactionTemplate) - Constructor for class com.atlassian.gadgets.renderer.internal.NonExpirableBlobCrypterImpl
Constructor.

O

OpenSocialConsumerInformationRenderer - Class in com.atlassian.gadgets.oauth.serviceprovider.internal
 
OpenSocialConsumerInformationRenderer(TemplateRenderer, GadgetSpecFactory, GadgetRequestContextFactory) - Constructor for class com.atlassian.gadgets.oauth.serviceprovider.internal.OpenSocialConsumerInformationRenderer
 
OpenSocialTokenPropertiesFactory - Class in com.atlassian.gadgets.oauth.serviceprovider.internal
 
OpenSocialTokenPropertiesFactory(GadgetSpecFactory) - Constructor for class com.atlassian.gadgets.oauth.serviceprovider.internal.OpenSocialTokenPropertiesFactory
 

P

paramsAsMap() - Method in class com.atlassian.gadgets.view.View
Returns an unmodifiable Map of all view parameters.
parse(String) - Static method in enum com.atlassian.gadgets.spec.DataType
Parses a data type from the input string.
parseDashboard(Document) - Static method in class com.atlassian.gadgets.test.DashboardParser
 
parseDashboard(String) - Static method in class com.atlassian.gadgets.test.DashboardParser
 
parseDirectoryEntry(Node) - Static method in class com.atlassian.gadgets.test.DirectoryEntryParser
 
parseGadgets(Node) - Static method in class com.atlassian.gadgets.test.GadgetParser
 
parseGadgetSpecUrl(String) - Method in class com.atlassian.gadgets.util.GadgetSpecUrlBuilder
Parses a gadget spec URL in the format returned from #buildGadgetSpecUrl(String, String) into a PluginResourceKey containing the plugin key and resource location specified by the URL.
parseIframe(Node) - Static method in class com.atlassian.gadgets.test.GadgetIframeParser
Creates and returns a new GadgetIframeParser for the specified iframe DOM node.
parseTabs(Node) - Static method in class com.atlassian.gadgets.test.DashboardTabParser
 
PassThroughTransactionTemplate - Class in com.atlassian.gadgets.test
A TransactionTemplate implementation that simply delegates to the specified TransactionCallback.
PassThroughTransactionTemplate() - Constructor for class com.atlassian.gadgets.test.PassThroughTransactionTemplate
 
PermissionException - Exception in com.atlassian.gadgets.dashboard
Thrown if a user tries a non-permissible operation on a dashboard or gadget.
PermissionException() - Constructor for exception com.atlassian.gadgets.dashboard.PermissionException
 
PermissionService - Interface in com.atlassian.gadgets.spi
Provide a way to determine if a user has permission to perform the given operations.
PermissionServiceImpl - Class in com.atlassian.gadgets.refimpl
Simple implementation of the permission service.
PermissionServiceImpl(UserManager) - Constructor for class com.atlassian.gadgets.refimpl.PermissionServiceImpl
 
PhoneHomeServlet - Class in com.atlassian.gadgets.samples
 
PhoneHomeServlet(ApplicationProperties) - Constructor for class com.atlassian.gadgets.samples.PhoneHomeServlet
 
PLUGIN_KEY - Static variable in class com.atlassian.gadgets.refimpl.ApplicationGadgetSpecProviderImpl
 
PluginExternalGadgetSpecDirectoryEntryProvider - Class in com.atlassian.gadgets.directory.internal.impl
A DirectoryEntryProvider for external gadget specs provided by plugins.
PluginExternalGadgetSpecDirectoryEntryProvider(GadgetSpecFactory) - Constructor for class com.atlassian.gadgets.directory.internal.impl.PluginExternalGadgetSpecDirectoryEntryProvider
Creates a new instance that uses the specified GadgetSpecFactory to retrieve and parse gadget specs.
PluginGadgetFinder - Class in com.atlassian.gadgets.publisher.internal
Notifies a series of PluginGadgetSpecEventListener implementations when gadget specs are enabled and disabled by plugins.
PluginGadgetFinder(PluginAccessor, PluginEventManager, Iterable<PluginGadgetSpecEventListener>) - Constructor for class com.atlassian.gadgets.publisher.internal.PluginGadgetFinder
Creates a new PublishedGadgetFinder.
PluginGadgetSpec - Class in com.atlassian.gadgets.plugins
A gadget spec provided by a plugin.
PluginGadgetSpec(Plugin, String, String, Map<String, String>) - Constructor for class com.atlassian.gadgets.plugins.PluginGadgetSpec
Constructs a new PluginGadgetSpec from the specified plugin and location.
PluginGadgetSpec.Key - Class in com.atlassian.gadgets.plugins
An immutable representation of a unique identifier for plugin gadget specs, composed of a plugin key and resource location path name.
PluginGadgetSpec.Key(String, String) - Constructor for class com.atlassian.gadgets.plugins.PluginGadgetSpec.Key
Constructs a new PluginGadgetSpec.Key from the specified plugin key and resource location.
pluginGadgetSpecDisabled(PluginGadgetSpec) - Method in class com.atlassian.gadgets.directory.internal.impl.PluginExternalGadgetSpecDirectoryEntryProvider
 
pluginGadgetSpecDisabled(PluginGadgetSpec) - Method in interface com.atlassian.gadgets.plugins.PluginGadgetSpecEventListener
Called when a gadget spec is disabled from a plugin.
pluginGadgetSpecDisabled(PluginGadgetSpec) - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
pluginGadgetSpecEnabled(PluginGadgetSpec) - Method in class com.atlassian.gadgets.directory.internal.impl.PluginExternalGadgetSpecDirectoryEntryProvider
 
pluginGadgetSpecEnabled(PluginGadgetSpec) - Method in interface com.atlassian.gadgets.plugins.PluginGadgetSpecEventListener
Called when a gadget spec is enabled from a plugin.
pluginGadgetSpecEnabled(PluginGadgetSpec) - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
PluginGadgetSpecEventListener - Interface in com.atlassian.gadgets.plugins
A listener for gadget spec modules that are enabled and disabled in plugins.
PluginGadgetSpecProviderPermission - Interface in com.atlassian.gadgets.spi
Used to check if a gadget spec that has been loaded from a plugin should appear in the gadget browser.
pluginModuleDisabled(PluginModuleDisabledEvent) - Method in class com.atlassian.gadgets.publisher.internal.PluginGadgetFinder
Called by the plugin framework when plugin modules are disabled.
pluginModuleEnabled(PluginModuleEnabledEvent) - Method in class com.atlassian.gadgets.publisher.internal.PluginGadgetFinder
Called by the plugin framework when plugin modules are enabled.
PluginSettingsDashboardStateStore - Class in com.atlassian.gadgets.refimpl
 
PluginSettingsDashboardStateStore(PluginSettingsFactory) - Constructor for class com.atlassian.gadgets.refimpl.PluginSettingsDashboardStateStore
 
PluginSettingsExternalGadgetSpecStore - Class in com.atlassian.gadgets.refimpl
This implementation stores ExternalGadgetSpecs to the SAL PluginSettings API.
PluginSettingsExternalGadgetSpecStore(PluginSettingsFactory, ExternalGadgetSpecIdGenerator) - Constructor for class com.atlassian.gadgets.refimpl.PluginSettingsExternalGadgetSpecStore
 
prependGadgetToColumn(GadgetState, DashboardState.ColumnIndex) - Method in class com.atlassian.gadgets.dashboard.DashboardState
Returns a new DashboardState built with the same data as this, except that the column with index index has had a new gadget added to its top
process(InputStream, OutputStream) - Method in interface com.atlassian.gadgets.publisher.internal.GadgetProcessor
Applies an implementation-defined transformation to the XML stream provided by the specified InputStream while writing the result to the specified OutputStream.
process(InputStream, OutputStream) - Method in class com.atlassian.gadgets.publisher.internal.impl.GadgetProcessorImpl
 
provideValidationRules(ValidationPattern) - Method in class com.atlassian.gadgets.publisher.internal.GadgetModuleDescriptor
 
PublishedGadgetSpecNotFoundException - Exception in com.atlassian.gadgets.publisher.internal
 
PublishedGadgetSpecNotFoundException(Throwable) - Constructor for exception com.atlassian.gadgets.publisher.internal.PublishedGadgetSpecNotFoundException
 
PublishedGadgetSpecNotFoundException(String) - Constructor for exception com.atlassian.gadgets.publisher.internal.PublishedGadgetSpecNotFoundException
 
PublishedGadgetSpecStoreImpl - Class in com.atlassian.gadgets.publisher.internal.impl
A fairly naive implementation that processes gadget spec file and substitutes values into it on the fly.
PublishedGadgetSpecStoreImpl(GadgetSpecUrlBuilder, GadgetSpecValidator, GadgetProcessor, PluginGadgetSpecProviderPermission, ApplicationProperties) - Constructor for class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
PublishedGadgetSpecWriter - Interface in com.atlassian.gadgets.publisher.internal
Writes XML gadget spec files from an underlying store to arbitrary output streams.
putGadgetInDirectory(HttpServletRequest, Reader) - Method in class com.atlassian.gadgets.directory.internal.DirectoryResource
Adds the specified gadget URL to the directory listing.

R

range(DashboardState.ColumnIndex, DashboardState.ColumnIndex) - Static method in enum com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Returns an immutable Iterable over ColumnIndexes starting from start and ending with end, inclusive.
rearrangeGadgets(GadgetLayout) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Rearrange and reposition the gadgets on the dashboard according to the specified layout.
rearrangeGadgets(GadgetLayout) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
RemovableGadgetSpecServlet - Class in com.atlassian.gadgets.samples
A servlet used for testing purposes that can dynamically change the gadget it serves.
RemovableGadgetSpecServlet() - Constructor for class com.atlassian.gadgets.samples.RemovableGadgetSpecServlet
 
remove(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
 
remove(ExternalGadgetSpecId) - Method in interface com.atlassian.gadgets.directory.internal.ConfigurableExternalGadgetSpecStore
Removes the gadget spec with the specified ID from the store
remove(ExternalGadgetSpecId) - Method in class com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider
 
remove(DashboardId) - Method in class com.atlassian.gadgets.refimpl.PluginSettingsDashboardStateStore
 
remove(ExternalGadgetSpecId) - Method in class com.atlassian.gadgets.refimpl.PluginSettingsExternalGadgetSpecStore
 
remove(DashboardId) - Method in interface com.atlassian.gadgets.spi.DashboardStateStore
Removes the DashboardState identified by the DashboardId from the persistent data store.
remove(ExternalGadgetSpecId) - Method in interface com.atlassian.gadgets.spi.ExternalGadgetSpecStore
Removes the spec URI corresponding to the specified externalGadgetSpecId from the persistent data store.
removeGadget(GadgetId) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Remove the gadget with the provided id from the dashboard.
removeGadget(GadgetId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
RemoveGadgetChange - Class in com.atlassian.gadgets.spi.changes
Details of removing a gadget from a dashboard.
RemoveGadgetChange(GadgetId) - Constructor for class com.atlassian.gadgets.spi.changes.RemoveGadgetChange
 
removeToken(SecurityToken, OAuthStore.ConsumerInfo, String, String) - Method in class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthStore
 
removeViewType(ViewType) - Static method in class com.atlassian.gadgets.view.ViewType
Removes a ViewType.
render(String, Writer) - Method in class com.atlassian.gadgets.dashboard.internal.DashboardTemplateRenderer
 
render(String, Map<String, Object>, Writer) - Method in class com.atlassian.gadgets.dashboard.internal.DashboardTemplateRenderer
 
render(ServiceProviderToken, HttpServletRequest, Writer) - Method in class com.atlassian.gadgets.oauth.serviceprovider.internal.OpenSocialConsumerInformationRenderer
 
RenderedGadgetUriBuilder - Interface in com.atlassian.gadgets.view
Builds URLs to the rendered gadget.
renderFragment(String, Map<String, Object>) - Method in class com.atlassian.gadgets.dashboard.internal.DashboardTemplateRenderer
 
RepresentationFactory - Interface in com.atlassian.gadgets.dashboard.internal.rest.representations
Factory to construct new REST representations given the required domain objects.
RepresentationFactoryImpl - Class in com.atlassian.gadgets.dashboard.internal.rest.representations
 
RepresentationFactoryImpl(RenderedGadgetUriBuilder, DashboardUrlBuilder) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.representations.RepresentationFactoryImpl
 
required(boolean) - Method in class com.atlassian.gadgets.spec.UserPrefSpec.Builder
Set the setting of the UserPrefSpec under construction whether it is required or not and return this Builder to allow further construction to be done.
resolve(String) - Method in class com.atlassian.gadgets.dashboard.internal.DashboardTemplateRenderer
 
resolveUriAgainstBase(String, URI) - Static method in class com.atlassian.gadgets.util.Uri
Resolves a possibly relative URI against a specified base.
resolveUriAgainstBase(String, String) - Static method in class com.atlassian.gadgets.util.Uri
Resolves a possibly relative URI (in String form) against a specified base.
RESOURCE_NAME - Static variable in class com.atlassian.gadgets.refimpl.ApplicationGadgetSpecProviderImpl
 
retrieve(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
 
retrieve(DashboardId) - Method in class com.atlassian.gadgets.refimpl.PluginSettingsDashboardStateStore
 
retrieve(DashboardId) - Method in interface com.atlassian.gadgets.spi.DashboardStateStore
Retrieve the DashboardState with the DashboardId from the data store.
RpcRelay - Class in com.atlassian.gadgets.renderer.internal.servlet
The fallback Shindig RPC mechanism for all browsers is IFRC (Inter Fame Relay Communication).
RpcRelay() - Constructor for class com.atlassian.gadgets.renderer.internal.servlet.RpcRelay
 

S

SalModule - Class in com.atlassian.gadgets.renderer.internal.guice
 
SalModule(ApplicationProperties, TrustedApplicationsManager, UserManager, PluginSettingsFactory) - Constructor for class com.atlassian.gadgets.renderer.internal.guice.SalModule
 
save(DashboardState, String) - Method in interface com.atlassian.gadgets.dashboard.DashboardService
Save the DashboardState if the user has permission.
save(Dashboard) - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardRepository
 
save(Dashboard) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardRepositoryImpl
 
save(DashboardState, String) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardServiceImpl
 
scrolling(boolean) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the scrolling setting of the GadgetSpec under construction and return this Builder to allow further construction to be done.
SecurityTokenFactory - Interface in com.atlassian.gadgets.view
A factory for generating security tokens that is used when rendering gadgets.
SecurityTokenFactoryImpl - Class in com.atlassian.gadgets.renderer.internal
 
SecurityTokenFactoryImpl(BlobCrypter, ContainerDomainProvider, ApplicationProperties) - Constructor for class com.atlassian.gadgets.renderer.internal.SecurityTokenFactoryImpl
 
SecurityTokenServlet - Class in com.atlassian.gadgets.renderer.internal.servlet
 
SecurityTokenServlet(SecurityTokenDecoder, UserManager) - Constructor for class com.atlassian.gadgets.renderer.internal.servlet.SecurityTokenServlet
 
setGadgetColor(DashboardId, GadgetRequestContext, GadgetId, Color) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.ChangeGadgetColorHandler
Sets the color of the specified gadget to the specified color.
setGadgetColor(DashboardId, GadgetRequestContext, GadgetId, Color) - Method in class com.atlassian.gadgets.dashboard.internal.rest.ChangeGadgetColorHandlerImpl
 
setTokenInfo(SecurityToken, OAuthStore.ConsumerInfo, String, String, OAuthStore.TokenInfo) - Method in class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthStore
 
ShindigModule - Class in com.atlassian.gadgets.renderer.internal.guice
Injects everything from the shindig.properties and atlassian-gadgets.properties as a Named value and sets up custom components to override the default Shindig implementations.
ShindigModule(SecurityTokenDecoder, Iterable<LocalGadgetSpecProvider>) - Constructor for class com.atlassian.gadgets.renderer.internal.guice.ShindigModule
 
shouldDisplay(Map<String, Object>) - Method in class com.atlassian.gadgets.spi.util.UserHasWritePermissionToDashboard
 
sign(OAuthAccessor, String, String, List<OAuth.Parameter>) - Method in class com.atlassian.gadgets.renderer.internal.oauth.AtlassianOAuthFetcher
 
specUri(String) - Method in class com.atlassian.gadgets.GadgetState.SpecUriBuilder
Sets the spec URI of the GadgetState under construction and returns a Builder to allow the Color and user prefs to be set.
specUri(URI) - Method in class com.atlassian.gadgets.GadgetState.SpecUriBuilder
Sets the spec URI of the GadgetState under construction and returns a Builder to allow the Color and user prefs to be set.
STANDARD - Static variable in class com.atlassian.gadgets.test.TestApplicationProperties
An ApplicationProperties implementation used for testing that uses the canonical base URL for the server under test.
StateConverter - Interface in com.atlassian.gadgets.dashboard.internal
Converts stored states into usable objects
StateConverterImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
 
StateConverterImpl(GadgetFactory) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.StateConverterImpl
 
stripNulls(Iterable<T>) - Static method in class com.atlassian.gadgets.directory.internal.impl.AbstractDirectoryEntryProvider
 
supportsViewType(ViewType) - Method in class com.atlassian.gadgets.spec.GadgetSpec
Check if a particular view is supported in this spec

T

Tab - Interface in com.atlassian.gadgets.dashboard.internal
Internal representation of a DashboardTab.
TabImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
 
TabImpl(DashboardTab, boolean) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.TabImpl
 
TestApplicationProperties - Class in com.atlassian.gadgets.test
 
TestApplicationProperties(String) - Constructor for class com.atlassian.gadgets.test.TestApplicationProperties
 
thumbnail(URI) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the thumbnail URI of the GadgetSpec under construction and return this Builder to allow further construction to be done.
title(String) - Method in class com.atlassian.gadgets.dashboard.DashboardState.Builder
Set the title of the DashboardState under construction and return this Builder to allow further construction to be done.
title(String) - Method in class com.atlassian.gadgets.dashboard.DashboardState.TitleBuilder
Sets the title of the DashboardState under construction and returns a Builder to allow the Layout and the columns to be set.
title(String) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the title of the GadgetSpec under construction and return this Builder to allow further construction to be done.
titleUrl(URI) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the title URI of the GadgetSpec under construction and return this Builder to allow further construction to be done.
toString() - Method in class com.atlassian.gadgets.dashboard.DashboardId
 
toString() - Method in class com.atlassian.gadgets.dashboard.DashboardState
 
toString() - Method in class com.atlassian.gadgets.dashboard.DashboardTab
 
toString() - Method in class com.atlassian.gadgets.dashboard.internal.AbstractViewComponent
 
toString() - Method in class com.atlassian.gadgets.directory.internal.impl.ConfigurableExternalGadgetSpecDirectoryEntryProvider
 
toString() - Method in class com.atlassian.gadgets.directory.internal.impl.GadgetSpecProviderDirectoryEntryProvider
 
toString() - Method in class com.atlassian.gadgets.directory.internal.impl.PluginExternalGadgetSpecDirectoryEntryProvider
 
toString() - Method in class com.atlassian.gadgets.GadgetId
 
toString() - Method in class com.atlassian.gadgets.GadgetState
 
toString() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec.Key
 
toString() - Method in class com.atlassian.gadgets.plugins.PluginGadgetSpec
 
toString() - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
toString() - Method in class com.atlassian.gadgets.spec.GadgetSpec
 
toString() - Method in class com.atlassian.gadgets.spec.UserPrefSpec
 
toString() - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpecId
 
toString() - Method in class com.atlassian.gadgets.test.AjaxRequest
 
toString() - Method in class com.atlassian.gadgets.test.GadgetParser.ParsedUserPref
 
toString() - Method in class com.atlassian.gadgets.view.ViewType
 
TransactionalDashboardStateStoreImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
A DashboardStateStore implementation that adds a transactional wrapper around an existing DashboardStateStore
TransactionalDashboardStateStoreImpl(DashboardStateStore, TransactionTemplate) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
Constructor.
TREE_GADGET_SPEC_URI - Static variable in class com.atlassian.gadgets.test.ExampleGadgetSpecs
 
treeGadgetSpec() - Static method in class com.atlassian.gadgets.test.ExampleGadgetSpecs
 
TrustedAppContentFetcherFactory - Class in com.atlassian.gadgets.renderer.internal.http
Adds Trusted Application headers to all requests.
TrustedAppContentFetcherFactory(RemoteContentFetcherFactory, OAuthFetcherFactory, TrustedApplicationsManager, UserManager) - Constructor for class com.atlassian.gadgets.renderer.internal.http.TrustedAppContentFetcherFactory
 
TrustedAppMakeRequestHandler - Class in com.atlassian.gadgets.renderer.internal.servlet
 
TrustedAppMakeRequestHandler(TrustedAppContentFetcherFactory, ContentRewriterRegistry) - Constructor for class com.atlassian.gadgets.renderer.internal.servlet.TrustedAppMakeRequestHandler
 

U

UnavailableFeatureException - Exception in com.atlassian.gadgets.directory.internal.impl
Thrown when trying to add a gadget spec to the directory that requires features that are unavailable in the container
UnavailableFeatureException(String, Throwable) - Constructor for exception com.atlassian.gadgets.directory.internal.impl.UnavailableFeatureException
 
UnavailableFeatureException(String) - Constructor for exception com.atlassian.gadgets.directory.internal.impl.UnavailableFeatureException
 
unsupportedFeatureNames(Iterable<String>) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the list of unsupported features for the GadgetSpec under construction and return this Builder to allow further construction to be done.
unwrap(String, int) - Method in class com.atlassian.gadgets.renderer.internal.BlobCrypterImpl
 
unwrap(String, int) - Method in class com.atlassian.gadgets.renderer.internal.NonExpirableBlobCrypterImpl
 
update(DashboardState, Iterable<DashboardChange>) - Method in class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
 
update(DashboardState, Iterable<DashboardChange>) - Method in class com.atlassian.gadgets.refimpl.PluginSettingsDashboardStateStore
 
update(DashboardState, Iterable<DashboardChange>) - Method in interface com.atlassian.gadgets.spi.DashboardStateStore
Update the stored DashboardState in the persistent data store, using the changes passed in.
updateGadgetUserPrefs(GadgetId, Map<String, String>) - Method in interface com.atlassian.gadgets.dashboard.internal.Dashboard
Save user prefs for a gadget
updateGadgetUserPrefs(GadgetId, Map<String, String>) - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardImpl
 
UpdateGadgetUserPrefsChange - Class in com.atlassian.gadgets.spi.changes
Details of updating the user preferences of a gadget on a dashboard.
UpdateGadgetUserPrefsChange(GadgetId, Map<String, String>) - Constructor for class com.atlassian.gadgets.spi.changes.UpdateGadgetUserPrefsChange
 
UpdateGadgetUserPrefsHandler - Interface in com.atlassian.gadgets.dashboard.internal.rest
Interface for updating the values of user prefs in an active gadget.
UpdateGadgetUserPrefsHandlerImpl - Class in com.atlassian.gadgets.dashboard.internal.rest
Default implementation that updates the prefs in a live gadget.
UpdateGadgetUserPrefsHandlerImpl(DashboardRepository, I18nResolver) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.UpdateGadgetUserPrefsHandlerImpl
Constructor.
UpdateLayoutChange - Class in com.atlassian.gadgets.spi.changes
Details of updating the layout of a dashboard.
UpdateLayoutChange(Layout, GadgetLayout) - Constructor for class com.atlassian.gadgets.spi.changes.UpdateLayoutChange
 
updateUserPrefs(DashboardId, GadgetRequestContext, GadgetId, MultivaluedMap<String, String>) - Method in interface com.atlassian.gadgets.dashboard.internal.rest.UpdateGadgetUserPrefsHandler
Changes the user prefs on the specified gadget and dashboard to the values supplied by the query.
updateUserPrefs(DashboardId, GadgetRequestContext, GadgetId, MultivaluedMap<String, String>) - Method in class com.atlassian.gadgets.dashboard.internal.rest.UpdateGadgetUserPrefsHandlerImpl
 
updateUserPrefsViaPOST(String, DashboardId, GadgetId, HttpServletRequest, MultivaluedMap<String, String>) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Forwards POST requests (coming from Ajax or web browsers) to the PUT handler for user pref changes.
updateUserPrefsViaPUT(DashboardId, GadgetId, HttpServletRequest, UriInfo) - Method in class com.atlassian.gadgets.dashboard.internal.rest.GadgetResource
Updates the user prefs of the specified gadget.
Uri - Class in com.atlassian.gadgets.util
Utility class for dealing with URIs.
UriParameterConverter - Class in com.atlassian.gadgets.util
Utility class that can be used to convert from Strings to other types.
UriParameterConverter() - Constructor for class com.atlassian.gadgets.util.UriParameterConverter
 
UriTemplate - Class in com.atlassian.gadgets.util
Used to match and extract parameter values from request URIs against a URI template.
UriTemplate(String) - Constructor for class com.atlassian.gadgets.util.UriTemplate
 
UrlBuilder - Interface in com.atlassian.gadgets.util
Builds URLs to resources.
UrlHostnameMismatchException - Exception in com.atlassian.gadgets.dashboard.internal.diagnostics
 
UrlHostnameMismatchException(String, String) - Constructor for exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlHostnameMismatchException
 
UrlPortMismatchException - Exception in com.atlassian.gadgets.dashboard.internal.diagnostics
 
UrlPortMismatchException(int, int) - Constructor for exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlPortMismatchException
 
UrlSchemeMismatchException - Exception in com.atlassian.gadgets.dashboard.internal.diagnostics
 
UrlSchemeMismatchException(String, String) - Constructor for exception com.atlassian.gadgets.dashboard.internal.diagnostics.UrlSchemeMismatchException
 
UserHasWritePermissionToDashboard - Class in com.atlassian.gadgets.spi.util
A Condition that can be used when creating web-items that allow the user to modify the dashboard in some way, such as by adding a gadget to it.
UserHasWritePermissionToDashboard(PermissionService) - Constructor for class com.atlassian.gadgets.spi.util.UserHasWritePermissionToDashboard
 
UserPref - Interface in com.atlassian.gadgets.dashboard.internal
A living breathing user pref with a current value
UserPrefImpl - Class in com.atlassian.gadgets.dashboard.internal.impl
 
UserPrefImpl(UserPrefSpec, String) - Constructor for class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
UserPrefRepresentation - Class in com.atlassian.gadgets.dashboard.internal.rest.representations
Provides a JAXB view of a UserPref, so that we can build new gadgets on the fly in Javascript.
UserPrefRepresentation(UserPref) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
UserPrefRepresentation.EnumValueRepresentation - Class in com.atlassian.gadgets.dashboard.internal.rest.representations
 
UserPrefRepresentation.EnumValueRepresentation(String, String, boolean) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation.EnumValueRepresentation
 
userPrefs(Map<String, String>) - Method in class com.atlassian.gadgets.GadgetState.Builder
Set the Map of user preference values for the GadgetState under construction and return this Builder to allow further construction to be done.
userPrefs(Iterable<UserPrefSpec>) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the list of UserPrefSpec objects for the GadgetSpec under construction and return this Builder to allow further construction to be done.
UserPrefSpec - Class in com.atlassian.gadgets.spec
Represents a user pref containing the details from the gadget spec XML
userPrefSpec(String) - Static method in class com.atlassian.gadgets.spec.UserPrefSpec
Factory method to create a new builder which can be used to create UserPrefSpec objects.
userPrefSpec(UserPrefSpec) - Static method in class com.atlassian.gadgets.spec.UserPrefSpec
Factory method which allows you to create a new UserPrefSpec object based on an existing UserPrefSpec.
UserPrefSpec.Builder - Class in com.atlassian.gadgets.spec
A builder that facilitates construction of UserPrefSpec objects.
UserPrefsRepresentation - Class in com.atlassian.gadgets.dashboard.internal.rest.representations
Provides a JAXB view of a collection of all UserPrefs for a GadgetRepresentation
UserPrefsRepresentation(Iterable<UserPref>, String) - Constructor for class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefsRepresentation
 

V

value() - Method in class com.atlassian.gadgets.dashboard.DashboardId
Returns the value of the identifier as a String.
value() - Method in class com.atlassian.gadgets.GadgetId
Returns the value of the identifier as a String
value() - Method in class com.atlassian.gadgets.spi.ExternalGadgetSpecId
Returns the value of this ExternalGadgetSpecId as a String.
valueOf(String) - Static method in enum com.atlassian.gadgets.dashboard.Color
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.atlassian.gadgets.dashboard.DashboardId
Convert the String value to a DashboardId object.
valueOf(String) - Static method in enum com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.gadgets.dashboard.Layout
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.gadgets.directory.internal.Category
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.atlassian.gadgets.GadgetId
Converts the String value to a GadgetId object.
valueOf(String) - Static method in enum com.atlassian.gadgets.spec.DataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class com.atlassian.gadgets.spi.ExternalGadgetSpecId
Converts the specified String into an ExternalGadgetSpecId.
valueOf(String) - Static method in enum com.atlassian.gadgets.spi.Vote
Returns the enum constant of this type with the specified name.
valueOf(Node) - Static method in class com.atlassian.gadgets.test.Nodes
 
valueOf(String) - Static method in class com.atlassian.gadgets.view.ViewType
Returns the ViewType associated with the value.
values() - Static method in enum com.atlassian.gadgets.dashboard.Color
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.gadgets.dashboard.DashboardState.ColumnIndex
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.gadgets.dashboard.Layout
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.gadgets.directory.internal.Category
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.gadgets.spec.DataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.gadgets.spi.Vote
Returns an array containing the constants of this enum type, in the order they are declared.
VelocityViewFactory - Class in com.atlassian.gadgets.dashboard.internal.velocity
 
VelocityViewFactory(TemplateRenderer, StateConverter, PermissionService, RepresentationFactory, DashboardEmbedder) - Constructor for class com.atlassian.gadgets.dashboard.internal.velocity.VelocityViewFactory
 
version(long) - Method in class com.atlassian.gadgets.dashboard.DashboardState.Builder
Set the version of the DashboardState under construction and return this Builder to allow further construction to be done.
View - Class in com.atlassian.gadgets.view
Models information the renderer needs to know about a gadget to render it properly.
View.Builder - Class in com.atlassian.gadgets.view
Builder for View.
View.Builder() - Constructor for class com.atlassian.gadgets.view.View.Builder
 
ViewComponent - Interface in com.atlassian.gadgets.view
A ViewComponent represents a view of an entity in the gadgets system.
viewer(String) - Method in class com.atlassian.gadgets.GadgetRequestContext.Builder
Set the current user of the GadgetRequestContext under construction and return this Builder to allow further construction to be done.
viewsNames(Set<String>) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the list of view names for the GadgetSpec under construction and return this Builder to allow further construction to be done.
viewType(ViewType) - Method in class com.atlassian.gadgets.view.View.Builder
Sets the ViewType to use
ViewType - Class in com.atlassian.gadgets.view
Represents a context under which a gadget will be viewed.
visit(AddGadgetChange) - Method in interface com.atlassian.gadgets.spi.changes.DashboardChange.Visitor
Process the adding of a gadget.
visit(GadgetColorChange) - Method in interface com.atlassian.gadgets.spi.changes.DashboardChange.Visitor
Process a gadgets chrome color changing.
visit(RemoveGadgetChange) - Method in interface com.atlassian.gadgets.spi.changes.DashboardChange.Visitor
Process the removal of a gadget.
visit(UpdateGadgetUserPrefsChange) - Method in interface com.atlassian.gadgets.spi.changes.DashboardChange.Visitor
Process the updating of a gadgets user preferences.
visit(UpdateLayoutChange) - Method in interface com.atlassian.gadgets.spi.changes.DashboardChange.Visitor
Process a dashboard layout update.
Vote - Enum in com.atlassian.gadgets.spi
Votes are used in the gadget system to determine whether a user is allowed to perform certain actions, such as seeing a gadget in the gadget browser or being allowed to render a gadget on their dashboard.
voteOn(String) - Method in class com.atlassian.gadgets.directory.internal.impl.GadgetSpecUrlRenderPermissionImpl
 
voteOn(PluginGadgetSpec) - Method in class com.atlassian.gadgets.publisher.internal.impl.AggregatePluginGadgetSpecProviderPermissionImpl
 
voteOn(PluginGadgetSpec) - Method in class com.atlassian.gadgets.refimpl.AllowAdminOnlyPluginGadgetSpecProviderPermissionImpl
 
voteOn(String) - Method in interface com.atlassian.gadgets.spi.GadgetSpecUrlRenderPermission
Returns the implementation's Vote on whether the specified gadget spec should be allowed to render.
voteOn(PluginGadgetSpec) - Method in interface com.atlassian.gadgets.spi.PluginGadgetSpecProviderPermission
Returns the implementation's Vote on whether the specified gadget spec should be appear in the gadget browser.

W

WebItemFinder - Class in com.atlassian.gadgets.util
 
WebItemFinder(WebInterfaceManager, ApplicationProperties, I18nResolver) - Constructor for class com.atlassian.gadgets.util.WebItemFinder
 
WebItemFinder.GadgetWebLabel - Class in com.atlassian.gadgets.util
 
WebItemFinder.GadgetWebLabel(WebLabel, Map<String, Object>) - Constructor for class com.atlassian.gadgets.util.WebItemFinder.GadgetWebLabel
 
WebItemFinder.GadgetWebLink - Class in com.atlassian.gadgets.util
 
WebItemFinder.GadgetWebLink(WebLink, Map<String, Object>) - Constructor for class com.atlassian.gadgets.util.WebItemFinder.GadgetWebLink
 
WebItemFinder.WebItem - Class in com.atlassian.gadgets.util
 
WebItemFinder.WebItem(WebItemModuleDescriptor<?>, Map<String, Object>) - Constructor for class com.atlassian.gadgets.util.WebItemFinder.WebItem
 
webResourceManager - Variable in class com.atlassian.gadgets.util.AbstractUrlBuilder
 
width(int) - Method in class com.atlassian.gadgets.spec.GadgetSpec.Builder
Set the width of the GadgetSpec under construction and return this Builder to allow further construction to be done.
wrap(Map<String, String>) - Method in class com.atlassian.gadgets.renderer.internal.BlobCrypterImpl
 
writable(boolean) - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation.Builder
 
writable(boolean) - Method in class com.atlassian.gadgets.view.View.Builder
Sets whether this view is writable.
writeGadgetSpecTo(URI, OutputStream) - Method in interface com.atlassian.gadgets.LocalGadgetSpecProvider
Writes the gadget spec found at the specified URI, to the specified OutputStream.
writeGadgetSpecTo(String, String, OutputStream) - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
writeGadgetSpecTo(URI, OutputStream) - Method in class com.atlassian.gadgets.publisher.internal.impl.PublishedGadgetSpecStoreImpl
 
writeGadgetSpecTo(String, String, OutputStream) - Method in interface com.atlassian.gadgets.publisher.internal.PublishedGadgetSpecWriter
Writes the gadget spec from the specified plugin, with the specified resource location within the plugin, to the specified OutputStream.
writeTo(Writer) - Method in interface com.atlassian.gadgets.view.ViewComponent
Renders the component represented by this view and writes it to the Writer.

X

XercesParseModule - Class in com.atlassian.gadgets.renderer.internal.guice
Replacement for the Shindig ParseModule which uses a hard-coded Xerces DOMImplementation instead of some hacky classloader lookups.
XercesParseModule() - Constructor for class com.atlassian.gadgets.renderer.internal.guice.XercesParseModule
 
XercesParseModule.XercesDOMImplementationProvider - Class in com.atlassian.gadgets.renderer.internal.guice
 
XercesParseModule.XercesDOMImplementationProvider() - Constructor for class com.atlassian.gadgets.renderer.internal.guice.XercesParseModule.XercesDOMImplementationProvider
 

A B C D E F G H I J L M N O P R S T U V W X

Copyright © 2010 Atlassian. All Rights Reserved.