|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.refimpl | Provides an implementation of the SPI for the refapp. |
| 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 | |
| com.atlassian.gadgets.test | |
| 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,
String colorParam,
javax.servlet.http.HttpServletRequest request)
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,
String colorParam,
javax.servlet.http.HttpServletRequest request)
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 |
DeleteGadgetHandler.deleteGadget(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
GadgetId gadgetId)
Removes the specified gadget from the specified dashboard. |
javax.ws.rs.core.Response |
DeleteGadgetHandlerImpl.deleteGadget(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
GadgetId gadgetId)
|
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 |
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 |
AddGadgetHandlerImpl.moveGadget(DashboardId targetDashboardId,
GadgetId gadgetId,
DashboardId sourceDashboardId,
DashboardState.ColumnIndex columnIndex,
int rowIndex,
GadgetRequestContext gadgetRequestContext)
|
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 |
UpdateGadgetUserPrefsHandler.updateUserPrefs(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
GadgetId gadgetId,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams)
Changes the user prefs on the specified gadget and dashboard to the values supplied by the query. |
javax.ws.rs.core.Response |
UpdateGadgetUserPrefsHandlerImpl.updateUserPrefs(DashboardId dashboardId,
GadgetRequestContext gadgetRequestContext,
GadgetId gadgetId,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams)
|
javax.ws.rs.core.Response |
GadgetResource.updateUserPrefsViaPOST(String method,
DashboardId dashboardId,
GadgetId gadgetId,
javax.servlet.http.HttpServletRequest request,
javax.ws.rs.core.MultivaluedMap<String,String> formParams)
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,
javax.ws.rs.core.UriInfo uriInfo)
Updates the user prefs of the specified gadget. |
| Uses of GadgetId in com.atlassian.gadgets.refimpl |
|---|
| Methods in com.atlassian.gadgets.refimpl with parameters of type GadgetId | |
|---|---|
DashboardState |
PluginSettingsDashboardStateStore.findDashboardWithGadget(GadgetId gadgetId)
|
| Uses of GadgetId in com.atlassian.gadgets.spi |
|---|
| Methods in com.atlassian.gadgets.spi that return types with arguments of type GadgetId | |
|---|---|
Iterable<GadgetId> |
GadgetLayout.getGadgetsInColumn(int column)
|
| Methods in com.atlassian.gadgets.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.spi with type arguments of type GadgetId | |
|---|---|
GadgetLayout(List<? extends Iterable<GadgetId>> columnLayout)
|
|
| Uses of GadgetId in com.atlassian.gadgets.spi.changes |
|---|
| Methods in com.atlassian.gadgets.spi.changes that return GadgetId | |
|---|---|
GadgetId |
GadgetColorChange.getGadgetId()
Get the id of the gadget we are changing the color of |
GadgetId |
RemoveGadgetChange.getGadgetId()
Get the id of the gadget we are removing |
GadgetId |
UpdateGadgetUserPrefsChange.getGadgetId()
Get the id of the gadget we are updating user prefs for |
| Constructors in com.atlassian.gadgets.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.test |
|---|
| Methods in com.atlassian.gadgets.test that return GadgetId | |
|---|---|
GadgetId |
GadgetParser.getId()
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||