A B C D E F G H I J M R S T U V W

A

AbstractViewComponent - Class in com.atlassian.gadgets.dashboard.internal
 
AbstractViewComponent(String, String) - Constructor for class com.atlassian.gadgets.dashboard.internal.AbstractViewComponent
 
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.
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.
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
 
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.

B

build() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation.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
 
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
 
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
 
buildRpcJsUrl() - Method in interface com.atlassian.gadgets.dashboard.internal.DashboardUrlBuilder
Returns the URL to the RPC javascript file for the dashboard container.
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

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
 
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
 
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
 
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
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
 
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
 

D

Dashboard - Interface in com.atlassian.gadgets.dashboard.internal
 
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
 
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
 
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.
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.
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
 
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.
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.
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
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.gadgets.dashboard.internal.diagnostics.DiagnosticsServlet
 

E

equals(Object) - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
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.

F

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
 
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
 

G

Gadget - Interface in com.atlassian.gadgets.dashboard.internal
 
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.
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.
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
 
GadgetNotLoadedException - Exception in com.atlassian.gadgets.dashboard.internal
 
GadgetNotLoadedException(GadgetId) - Constructor for exception com.atlassian.gadgets.dashboard.internal.GadgetNotLoadedException
 
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.
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
 
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
 
getAction() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefsRepresentation
 
getBaseUrl() - Method in class com.atlassian.gadgets.dashboard.internal.impl.DashboardUrlBuilderImpl
Overridden to return REST URIs instead of servlet URLs.
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
 
getColorUrl() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getColumn() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.GadgetRepresentation
 
getDashboard(DashboardId, HttpServletRequest) - Method in class com.atlassian.gadgets.dashboard.internal.rest.DashboardResource
 
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.
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.
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
 
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.
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.
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
 
getFields() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefsRepresentation
 
getGadgetId() - Method in exception com.atlassian.gadgets.dashboard.internal.GadgetNotLoadedException
 
getGadgets() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation
 
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
 
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
 
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
 
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
 
getLabel() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation.EnumValueRepresentation
 
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
 
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.
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
 
getOptions() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
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
 
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
 
getTabUri() - Method in class com.atlassian.gadgets.dashboard.internal.impl.TabImpl
 
getTabUri() - Method in interface com.atlassian.gadgets.dashboard.internal.Tab
 
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
 
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
 
getType() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation
 
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
 
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.
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
 

H

hashCode() - Method in class com.atlassian.gadgets.dashboard.internal.impl.UserPrefImpl
 
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
 
hex(char) - Static method in class com.atlassian.gadgets.dashboard.internal.util.JavaScript
Returns an upper case hexadecimal String for the given character.

I

InconsistentDashboardStateException - Exception in com.atlassian.gadgets.dashboard.internal
 
InconsistentDashboardStateException(String) - Constructor for exception com.atlassian.gadgets.dashboard.internal.InconsistentDashboardStateException
 
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
 
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.
isSelected() - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.UserPrefRepresentation.EnumValueRepresentation
 
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
 

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
 
json(Dashboard, GadgetRequestContext, boolean) - Method in class com.atlassian.gadgets.dashboard.internal.velocity.DashboardEmbedder
 

M

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.

R

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
 
remove(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
 
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
 
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
 
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
 
resolve(String) - Method in class com.atlassian.gadgets.dashboard.internal.DashboardTemplateRenderer
 
retrieve(DashboardId) - Method in class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
 

S

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
 
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
 
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
 

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
 
toString() - Method in class com.atlassian.gadgets.dashboard.internal.AbstractViewComponent
 
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.

U

update(DashboardState, Iterable<DashboardChange>) - Method in class com.atlassian.gadgets.dashboard.internal.impl.TransactionalDashboardStateStoreImpl
 
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
 
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.
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.
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
 
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
 
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

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
 

W

writable(boolean) - Method in class com.atlassian.gadgets.dashboard.internal.rest.representations.DashboardRepresentation.Builder
 

A B C D E F G H I J M R S T U V W

Copyright © 2010 Atlassian. All Rights Reserved.