Uses of Class
com.atlassian.gadgets.GadgetRequestContext

Packages that use GadgetRequestContext
com.atlassian.gadgets This package contains the main APIs for interacting with gadgets. 
com.atlassian.gadgets.dashboard.internal   
com.atlassian.gadgets.dashboard.internal.impl   
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   
com.atlassian.gadgets.dashboard.internal.velocity   
com.atlassian.gadgets.dashboard.view   
com.atlassian.gadgets.directory   
com.atlassian.gadgets.directory.internal   
com.atlassian.gadgets.directory.internal.impl   
com.atlassian.gadgets.directory.internal.jaxb Contains JAXB model classes that can be served through REST modules. 
com.atlassian.gadgets.embedded.internal Handles construction of gadget <iframes>, rendering, and URLs to Shindig's gadget rendering servlet. 
com.atlassian.gadgets.renderer.internal   
com.atlassian.gadgets.spec Contains classes related to Gadgets' Specification XML. 
com.atlassian.gadgets.view Contains classes related to the rendering and display of gadgets. 
 

Uses of GadgetRequestContext in com.atlassian.gadgets
 

Fields in com.atlassian.gadgets declared as GadgetRequestContext
static GadgetRequestContext GadgetRequestContext.NO_CURRENT_REQUEST
           
 

Methods in com.atlassian.gadgets that return GadgetRequestContext
 GadgetRequestContext GadgetRequestContext.Builder.build()
          Returns the final constructed GadgetRequestContext.
 GadgetRequestContext GadgetRequestContextFactory.get(javax.servlet.http.HttpServletRequest request)
          Returns a GadgetRequestContext based on the values in the specified request.
 

Uses of GadgetRequestContext in com.atlassian.gadgets.dashboard.internal
 

Methods in com.atlassian.gadgets.dashboard.internal with parameters of type GadgetRequestContext
 Dashboard StateConverter.convertStateToDashboard(DashboardState state, GadgetRequestContext gadgetRequestContext)
          Creates a Dashboard from a DashboardState
 Gadget StateConverter.convertStateToGadget(GadgetState state, GadgetRequestContext gadgetRequestContext)
          Creates a Gadget from a GadgetState
 Gadget GadgetFactory.createGadget(GadgetState state, GadgetRequestContext gadgetRequestContext)
           
 Gadget GadgetFactory.createGadget(String gadgetSpecUrl, GadgetRequestContext gadgetRequestContext)
           
 Dashboard DashboardRepository.get(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext)
           
 

Uses of GadgetRequestContext in com.atlassian.gadgets.dashboard.internal.impl
 

Methods in com.atlassian.gadgets.dashboard.internal.impl with parameters of type GadgetRequestContext
 Dashboard StateConverterImpl.convertStateToDashboard(DashboardState state, GadgetRequestContext gadgetRequestContext)
           
 Gadget StateConverterImpl.convertStateToGadget(GadgetState state, GadgetRequestContext gadgetRequestContext)
           
 Gadget GadgetFactoryImpl.createGadget(GadgetState state, GadgetRequestContext gadgetRequestContext)
          Constructs a Gadget instance from the specified GadgetState.
 Gadget GadgetFactoryImpl.createGadget(String gadgetSpecUrl, GadgetRequestContext gadgetRequestContext)
          Creates a new gadget from the spec at the specified URL.
 Dashboard DashboardRepositoryImpl.get(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext)
           
 

Constructors in com.atlassian.gadgets.dashboard.internal.impl with parameters of type GadgetRequestContext
DashboardImpl(DashboardState state, StateConverter stateConverter, GadgetRequestContext gadgetRequestContext)
           
 

Uses of GadgetRequestContext in com.atlassian.gadgets.dashboard.internal.rest
 

Methods in com.atlassian.gadgets.dashboard.internal.rest with parameters of type GadgetRequestContext
 javax.ws.rs.core.Response AddGadgetHandlerImpl.addGadget(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, String gadgetUrl)
           
 javax.ws.rs.core.Response AddGadgetHandler.addGadget(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, String gadgetUrl)
          Adds the specified gadget to the specified dashboard.
 javax.ws.rs.core.Response AddGadgetHandlerImpl.addGadget(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, String gadgetUrl, DashboardState.ColumnIndex columnIndex)
           
 javax.ws.rs.core.Response AddGadgetHandler.addGadget(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, String gadgetUrl, DashboardState.ColumnIndex columnIndex)
          Adds the specified gadget to the specified dashboard in the specified column.
 javax.ws.rs.core.Response ChangeLayoutHandlerImpl.changeLayout(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, org.json.JSONObject newLayout)
           
 javax.ws.rs.core.Response ChangeLayoutHandler.changeLayout(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, org.json.JSONObject newLayout)
          Attempts to change the layout of the specified dashboard.
 javax.ws.rs.core.Response DeleteGadgetHandlerImpl.deleteGadget(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, GadgetId gadgetId)
           
 javax.ws.rs.core.Response DeleteGadgetHandler.deleteGadget(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, GadgetId gadgetId)
          Removes the specified gadget from the specified dashboard.
 javax.ws.rs.core.Response AddGadgetHandlerImpl.moveGadget(DashboardId targetDashboardId, GadgetId gadgetId, DashboardId sourceDashboardId, DashboardState.ColumnIndex columnIndex, int rowIndex, GadgetRequestContext gadgetRequestContext)
           
 javax.ws.rs.core.Response AddGadgetHandler.moveGadget(DashboardId targetDashboardId, GadgetId gadgetId, DashboardId sourceDashboardId, DashboardState.ColumnIndex columnIndex, int rowIndexAsInt, GadgetRequestContext gadgetRequestContext)
          Moves the gadget specified by id from the source dashboard to the target dashboard.
 javax.ws.rs.core.Response ChangeGadgetColorHandlerImpl.setGadgetColor(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, GadgetId gadgetId, Color color)
           
 javax.ws.rs.core.Response ChangeGadgetColorHandler.setGadgetColor(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, GadgetId gadgetId, Color color)
          Sets the color of the specified gadget to the specified color.
 javax.ws.rs.core.Response UpdateGadgetUserPrefsHandlerImpl.updateUserPrefs(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, GadgetId gadgetId, Map<String,String> prefs)
           
 javax.ws.rs.core.Response UpdateGadgetUserPrefsHandler.updateUserPrefs(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, GadgetId gadgetId, Map<String,String> prefs)
          Changes the user prefs on the specified gadget and dashboard to the values supplied by the query.
 

Uses of GadgetRequestContext in com.atlassian.gadgets.dashboard.internal.rest.representations
 

Methods in com.atlassian.gadgets.dashboard.internal.rest.representations with parameters of type GadgetRequestContext
 DashboardRepresentation RepresentationFactoryImpl.createDashboardRepresentation(Dashboard dashboard, GadgetRequestContext gadgetRequestContext, boolean writable)
           
 DashboardRepresentation RepresentationFactory.createDashboardRepresentation(Dashboard dashboard, GadgetRequestContext gadgetRequestContext, boolean writable)
          Given a Dashboard, this creates a new JAXB dashboard representation.
 GadgetRepresentation RepresentationFactoryImpl.createGadgetRepresentation(DashboardId dashboardId, Gadget gadget, GadgetRequestContext gadgetRequestContext, boolean writable, DashboardState.ColumnIndex column)
           
 GadgetRepresentation RepresentationFactory.createGadgetRepresentation(DashboardId dashboardId, Gadget gadget, GadgetRequestContext gadgetRequestContext, boolean writable, DashboardState.ColumnIndex column)
          Given a Gadget, this creates a new JAXB gadget representation
 

Uses of GadgetRequestContext in com.atlassian.gadgets.dashboard.internal.velocity
 

Methods in com.atlassian.gadgets.dashboard.internal.velocity with parameters of type GadgetRequestContext
 ViewComponent VelocityViewFactory.createDashboardView(Iterable<DashboardTab> tabs, DashboardState selectedTabDashboardState, String username, int maxGadgets, GadgetRequestContext gadgetRequestContext)
           
 String DashboardEmbedder.json(Dashboard dashboard, GadgetRequestContext gadgetRequestContext, boolean writable)
           
 

Uses of GadgetRequestContext in com.atlassian.gadgets.dashboard.view
 

Methods in com.atlassian.gadgets.dashboard.view with parameters of type GadgetRequestContext
 ViewComponent DashboardTabViewFactory.createDashboardView(Iterable<DashboardTab> tabs, DashboardState selectedTabDashboardState, String username, int maxGadgets, GadgetRequestContext gadgetRequestContext)
          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.
 

Uses of GadgetRequestContext in com.atlassian.gadgets.directory
 

Methods in com.atlassian.gadgets.directory with parameters of type GadgetRequestContext
 Iterable<Directory.Entry> Directory.getEntries(GadgetRequestContext gadgetRequestContext)
          Returns all the entries available, localized by the locale.
 

Uses of GadgetRequestContext in com.atlassian.gadgets.directory.internal
 

Methods in com.atlassian.gadgets.directory.internal with parameters of type GadgetRequestContext
 Iterable<Directory.Entry> DirectoryEntryProvider.entries(GadgetRequestContext gadgetRequestContext)
          Returns all the entries available, localized by the locale.
 

Uses of GadgetRequestContext in com.atlassian.gadgets.directory.internal.impl
 

Methods in com.atlassian.gadgets.directory.internal.impl with parameters of type GadgetRequestContext
protected  com.google.common.base.Function<URI,Directory.Entry> PluginExternalGadgetSpecDirectoryEntryProvider.convertToLocalizedDirectoryEntry(GadgetRequestContext gadgetRequestContext)
           
protected  com.google.common.base.Function<URI,Directory.Entry> GadgetSpecProviderDirectoryEntryProvider.convertToLocalizedDirectoryEntry(GadgetRequestContext gadgetRequestContext)
           
protected  com.google.common.base.Function<ExternalGadgetSpec,Directory.Entry> ConfigurableExternalGadgetSpecDirectoryEntryProvider.convertToLocalizedDirectoryEntry(GadgetRequestContext gadgetRequestContext)
           
protected abstract  com.google.common.base.Function<T,Directory.Entry> AbstractDirectoryEntryProvider.convertToLocalizedDirectoryEntry(GadgetRequestContext gadgetRequestContext)
           
 Iterable<Directory.Entry> AbstractDirectoryEntryProvider.entries(GadgetRequestContext gadgetRequestContext)
           
 Iterable<Directory.Entry> DirectoryImpl.getEntries(GadgetRequestContext gadgetRequestContext)
           
protected  GadgetSpec AbstractDirectoryEntryProvider.getGadgetSpec(URI gadgetSpecUri, GadgetRequestContext gadgetRequestContext)
           
 

Uses of GadgetRequestContext in com.atlassian.gadgets.directory.internal.jaxb
 

Methods in com.atlassian.gadgets.directory.internal.jaxb with parameters of type GadgetRequestContext
static JAXBDirectoryContents JAXBDirectoryContents.getDirectoryContents(Directory directory, GadgetRequestContext gadgetRequestContext)
           
 

Uses of GadgetRequestContext in com.atlassian.gadgets.embedded.internal
 

Methods in com.atlassian.gadgets.embedded.internal with parameters of type GadgetRequestContext
 URI GadgetUrlBuilder.build(GadgetState gadget, ModuleId moduleId, View view, GadgetRequestContext gadgetRequestContext)
           
 URI GadgetUrlBuilder.build(GadgetState gadget, View view, GadgetRequestContext gadgetRequestContext)
          Deprecated. as of 2.0, use GadgetUrlBuilder.build(GadgetState, ModuleId, View, GadgetRequestContext)
 boolean GadgetViewFactoryImpl.canRenderInViewType(GadgetState state, ViewType viewType, GadgetRequestContext gadgetRequestContext)
           
 ViewComponent GadgetViewFactoryImpl.createGadgetView(GadgetState state, ModuleId moduleId, View view, GadgetRequestContext gadgetRequestContext)
           
 ViewComponent GadgetViewFactoryImpl.createGadgetView(GadgetState state, View view, GadgetRequestContext gadgetRequestContext)
          Deprecated. as of 2.0, use GadgetViewFactory.createGadgetView(com.atlassian.gadgets.GadgetState,com.atlassian.gadgets.view.ModuleId,com.atlassian.gadgets.view.View,com.atlassian.gadgets.GadgetRequestContext)
 

Uses of GadgetRequestContext in com.atlassian.gadgets.renderer.internal
 

Methods in com.atlassian.gadgets.renderer.internal that return GadgetRequestContext
 GadgetRequestContext GadgetRequestContextFactoryImpl.get(javax.servlet.http.HttpServletRequest request)
           
 

Methods in com.atlassian.gadgets.renderer.internal with parameters of type GadgetRequestContext
 GadgetSpec GadgetSpecFactoryImpl.getGadgetSpec(GadgetState gadgetState, GadgetRequestContext gadgetRequestContext)
           
 GadgetSpec GadgetSpecFactoryImpl.getGadgetSpec(URI uri, GadgetRequestContext gadgetRequestContext)
           
 

Uses of GadgetRequestContext in com.atlassian.gadgets.spec
 

Methods in com.atlassian.gadgets.spec with parameters of type GadgetRequestContext
 GadgetSpec GadgetSpecFactory.getGadgetSpec(GadgetState gadgetState, GadgetRequestContext gadgetRequestContext)
          Create a GadgetSpec from a GadgetState
 GadgetSpec GadgetSpecFactory.getGadgetSpec(URI uri, GadgetRequestContext gadgetRequestContext)
          Create a GadgetSpec from a spec URI
 

Uses of GadgetRequestContext in com.atlassian.gadgets.view
 

Methods in com.atlassian.gadgets.view with parameters of type GadgetRequestContext
 URI RenderedGadgetUriBuilder.build(GadgetState gadgetState, ModuleId moduleId, View view, GadgetRequestContext gadgetRequestContext)
          Returns the URL to the rendered gadget.
 URI RenderedGadgetUriBuilder.build(GadgetState gadgetState, View view, GadgetRequestContext gadgetRequestContext)
          Deprecated. as of 2.0, use RenderedGadgetUriBuilder.build(GadgetState, ModuleId, View, GadgetRequestContext)
 boolean GadgetViewFactory.canRenderInViewType(GadgetState state, ViewType viewType, GadgetRequestContext gadgetRequestContext)
          Returns true if the gadget represented by state can be rendered with the given ViewType for the locale specified in the GadgetRequestContext.
 ViewComponent GadgetViewFactory.createGadgetView(GadgetState state, ModuleId moduleId, View view, GadgetRequestContext gadgetRequestContext)
          Returns a ViewComponent that will render the GadgetState, customizing the view based on the Locale specified in the GadgetRequestContext and the desired ViewType.
 ViewComponent GadgetViewFactory.createGadgetView(GadgetState state, View view, GadgetRequestContext gadgetRequestContext)
          Deprecated. as of 2.0, use GadgetViewFactory.createGadgetView(com.atlassian.gadgets.GadgetState, ModuleId, View,com.atlassian.gadgets.GadgetRequestContext)
 



Copyright © 2011 Atlassian. All Rights Reserved.