|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GadgetRequestContext | |
|---|---|
| com.atlassian.gadgets | This package contains the main APIs for interacting with gadgets. |
| com.atlassian.gadgets.dashboard.view | |
| com.atlassian.gadgets.directory | |
| 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.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.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) |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||