Uses of Class
com.atlassian.gadgets.GadgetId

Packages that use GadgetId
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.spi Contains the service provider interfaces (SPIs) that host applications must implement in order to use the dashboard plugin(s). 
com.atlassian.gadgets.dashboard.spi.changes This package contains classes for managing changes to the dashboard state. 
com.atlassian.gadgets.refimpl Provides an implementation of the SPI for the refapp. 
 

Uses of GadgetId in com.atlassian.gadgets
 

Methods in com.atlassian.gadgets that return GadgetId
 GadgetId GadgetNotFoundException.getGadgetId()
           
 GadgetId GadgetState.getId()
          Returns the unique identifier, represented by a GadgetId, for the gadget's state.
static GadgetId GadgetId.valueOf(String id)
          Converts the String value to a GadgetId object.
 

Methods in com.atlassian.gadgets with parameters of type GadgetId
static GadgetState.SpecUriBuilder GadgetState.gadget(GadgetId gadgetId)
          Factory method to create a new builder which can be used to create GadgetState objects.
 

Constructors in com.atlassian.gadgets with parameters of type GadgetId
GadgetNotFoundException(GadgetId gadgetId)
           
 

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

Methods in com.atlassian.gadgets.dashboard.internal that return GadgetId
 GadgetId GadgetNotLoadedException.getGadgetId()
           
 GadgetId Gadget.getId()
           
 

Methods in com.atlassian.gadgets.dashboard.internal with parameters of type GadgetId
 String DashboardUrlBuilder.buildGadgetColorUrl(DashboardId dashboardId, GadgetId gadgetId)
          Returns the URL to the color resource of a gadget.
 String DashboardUrlBuilder.buildGadgetUrl(DashboardId dashboardId, GadgetId gadgetId)
          Returns the URL to a gadget resource on a dashboard.
 String DashboardUrlBuilder.buildGadgetUserPrefsUrl(DashboardId dashboardId, GadgetId gadgetId)
          Returns the URL to the user prefs resource of a gadget.
 void Dashboard.changeGadgetColor(GadgetId gadgetId, Color color)
          Change the color of the gadgets chrome.
 DashboardId DashboardRepository.findDashboardByGadgetId(GadgetId gadgetId)
           
 Gadget Dashboard.findGadget(GadgetId gadgetId)
          Lookup a Gadget in this Dashboard given the gadget's id.
 void Dashboard.removeGadget(GadgetId gadgetId)
          Remove the gadget with the provided id from the dashboard.
 void Dashboard.updateGadgetUserPrefs(GadgetId gadgetId, Map<String,String> prefValues)
          Save user prefs for a gadget
 

Constructors in com.atlassian.gadgets.dashboard.internal with parameters of type GadgetId
GadgetNotLoadedException(GadgetId gadgetId)
           
 

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

Methods in com.atlassian.gadgets.dashboard.internal.impl that return GadgetId
 GadgetId GadgetImpl.getId()
           
 

Methods in com.atlassian.gadgets.dashboard.internal.impl with parameters of type GadgetId
 String DashboardUrlBuilderImpl.buildGadgetColorUrl(DashboardId dashboardId, GadgetId gadgetId)
           
 String DashboardUrlBuilderImpl.buildGadgetUrl(DashboardId dashboardId, GadgetId gadgetId)
           
 String DashboardUrlBuilderImpl.buildGadgetUserPrefsUrl(DashboardId dashboardId, GadgetId gadgetId)
           
 void DashboardImpl.changeGadgetColor(GadgetId gadgetId, Color color)
           
 DashboardId DashboardRepositoryImpl.findDashboardByGadgetId(GadgetId gadgetId)
           
 DashboardState TransactionalDashboardStateStoreImpl.findDashboardWithGadget(GadgetId gadgetId)
           
 Gadget DashboardImpl.findGadget(GadgetId gadgetId)
           
 void DashboardImpl.removeGadget(GadgetId gadgetId)
           
 void DashboardImpl.updateGadgetUserPrefs(GadgetId gadgetId, Map<String,String> prefValues)
           
 

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

Methods in com.atlassian.gadgets.dashboard.internal.rest with parameters of type GadgetId
 javax.ws.rs.core.Response GadgetResource.changeGadgetColor(DashboardId dashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request, String entity)
          Changes the specified gadget's color in response to a PUT request.
 javax.ws.rs.core.Response GadgetResource.changeGadgetColorViaPOST(String method, DashboardId dashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request, String entity)
          Forwards POST requests (coming from Ajax or web browsers) to the PUT handler for color changing.
 javax.ws.rs.core.Response GadgetResource.deleteGadget(DashboardId dashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request)
          Deletes the specified gadget from the specified dashboard when invoked as a DELETE request.
 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 GadgetResource.deleteOrMoveGadgetViaPost(String method, DashboardId dashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request)
          Deletes or moves the specified gadget from the specified dashboard when invoked as a POST request.
 javax.ws.rs.core.Response GadgetResource.getRenderedGadget(DashboardId dashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request)
          Returns a Gadget's JSON or XMl representation.
 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 GadgetResource.moveGadget(DashboardId targetDashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request)
          Moves the specified gadget to the specified dashboard.
 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 ChangeGadgetColorHandlerImpl.setGadgetColor(DashboardId dashboardId, GadgetRequestContext gadgetRequestContext, GadgetId gadgetId, Color 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.
 javax.ws.rs.core.Response GadgetResource.updateUserPrefsViaPOST(String method, DashboardId dashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request, String entity)
          Forwards POST requests (coming from Ajax or web browsers) to the PUT handler for user pref changes.
 javax.ws.rs.core.Response GadgetResource.updateUserPrefsViaPUT(DashboardId dashboardId, GadgetId gadgetId, javax.servlet.http.HttpServletRequest request, String entity)
          Updates the user prefs of the specified gadget.
 

Uses of GadgetId in com.atlassian.gadgets.dashboard.spi
 

Methods in com.atlassian.gadgets.dashboard.spi that return types with arguments of type GadgetId
 Iterable<GadgetId> GadgetLayout.getGadgetsInColumn(int column)
          Returns the IDs of the gadgets that appear in a given column.
 

Methods in com.atlassian.gadgets.dashboard.spi with parameters of type GadgetId
 DashboardState DashboardStateStore.findDashboardWithGadget(GadgetId gadgetId)
          Retrieve the DashboardState for the dashboard containing the gadget whose identifier is gadgetID
 

Constructor parameters in com.atlassian.gadgets.dashboard.spi with type arguments of type GadgetId
GadgetLayout(List<? extends Iterable<GadgetId>> columnLayout)
           
 

Uses of GadgetId in com.atlassian.gadgets.dashboard.spi.changes
 

Methods in com.atlassian.gadgets.dashboard.spi.changes that return GadgetId
 GadgetId UpdateGadgetUserPrefsChange.getGadgetId()
          Get the id of the gadget we are updating user prefs for
 GadgetId RemoveGadgetChange.getGadgetId()
          Get the id of the gadget we are removing
 GadgetId GadgetColorChange.getGadgetId()
          Get the id of the gadget we are changing the color of
 

Constructors in com.atlassian.gadgets.dashboard.spi.changes with parameters of type GadgetId
GadgetColorChange(GadgetId gadgetId, Color color)
           
RemoveGadgetChange(GadgetId gadgetId)
           
UpdateGadgetUserPrefsChange(GadgetId gadgetId, Map<String,String> prefValues)
           
 

Uses of GadgetId in com.atlassian.gadgets.refimpl
 

Methods in com.atlassian.gadgets.refimpl with parameters of type GadgetId
 DashboardState PluginSettingsDashboardStateStore.findDashboardWithGadget(GadgetId gadgetId)
           
 



Copyright © 2012 Atlassian. All Rights Reserved.