|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Visitor
s Visitor#visit(AddGadgetChange)
method.
Visitor
s DashboardChange.Visitor.visit(GadgetColorChange)
method.
Visitor
s DashboardChange.Visitor.visit(RemoveGadgetChange)
method.
Visitor
s Visitor#visit(UpdateGadgetUserPrefsChange)
method.
Visitor
s DashboardChange.Visitor.visit(UpdateLayoutChange)
method.
ExternalGadgetSpec
wrapper for it.
name
value
pair
name
value
pairs
PluginGadgetSpecProviderPermission
which aggregates all the imported services
and consults them to determine the outcome of the vote while dealing with all the vagaries of dynamic services coming
and going.PluginGadgetSpec
for a "admin-only" parameter and, if the value is true
, only allows
admins to see the gadget in the gadget browser.ApplicationProperties
implementation used for testing that uses a non-canonical base URL for the
server under test.
this
, except that the column with index
index
has had a new gadget added to its bottom
ContainerConfig
so that we can use our own configuration and
have a chance to customize it for the specific deployment of the application using ApplicationProperties
.GadgetOAuthCallbackGenerator
does because we can't redirect to gadget specific callbacks and aren't implementing locked domains.OAuthFetcherFactory
to return our own AtlassianOAuthFetcher
instead
of the regular OAuthFetcher
.OAuthStore
interface that uses the ConsumerService
and ConsumerTokenStore
from the Atlassian OAuth Consumer Plugin to get consumer information and store tokens.Module
to configure Shindigs authentication.GadgetSpec
under construction and return this Builder
to allow further construction to be done.
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
DashboardState
GadgetRequestContext
.
GadgetState
GadgetSpec
UserPrefSpec
ViewSettings
object using the values in this
Builder
.
Plugin
.
true
if the user identified by username
has permission to add new external gadgets to the
directory, remove external gadgets that were previously added, and otherwise configure the directory.
true
if the gadget represented by state
can be rendered with the given ViewType
for
the locale
specified in the GadgetRequestContext
.
Iterable
to make sure that none of the elements are null
request
has permission to add entries to or remove entries from the
directory.
Dashboard
Color
of the GadgetState
under construction and return this Builder
to allow further construction to be done.
DashboardState
under construction and return this Builder
to allow further construction to be done.
ExternalGadgetSpecStore
to enforce the contract of that
interface (normalizing URIs on add, preventing duplicate storage, etc.) and so that user-added gadgets may be
persisted in between application sessions.column
exists in this layout.
true
if the URI is in the store, false
otherwise.
true
if the URI is in the store, false
otherwise.
Dashboard
from a DashboardState
Gadget
from a GadgetState
gadgetUri
to a URI
object.
Dashboard
, this creates a new JAXB dashboard representation.
ViewComponent
that will render the DashboardState
and DashboardTab
s
customizing the view based on the permissions the user has to view/edit the dashboard and the
specified Locale
.
Gadget
instance from the specified GadgetState
.
Gadget
, this creates a new JAXB gadget representation
GadgetState
instance from the specified spec URI, using the next available unique ID.
GadgetState
instance for the specified gadget spec URI.
ViewComponent
that will render the GadgetState
, customizing the view based
on the Locale
specified in the GadgetRequestContext
and the desired ViewType
.
ViewType
with the given canonical name and optional aliases.
DashboardState
object based on an existing
DashboardState
.
DashboardState
objects.
DashboardState
.DashboardState
object.DashboardId
does not exist.DashboardRepository
which delegates
retrieval and save operations to a DashboardStateStore
.Dashboard
TODO : AG-428 We should add LINK elements to this representation, as the REST Guidleines recommend.DashboardState
, after checking to make sure that the user has access to the
dashboard.DashboardService
.Layout
or the columns of the DashboardState
under construction to
be set.ColumnIndex
is the enumeration
of those columns.DashboardState
object under construction.DashboardState
objects to/from the persistent
store.ViewComponent
s for dashboards displaying other dashboards available
as tabs.DataType
of the UserPrefSpec
under construction and return this Builder
to allow further construction to be done.
View
, which uses the default ViewType
and
is writable.
UserPrefSpec
under construction and return this Builder
to allow further construction to be done.
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
UserPrefSpec
under construction and return this Builder
to allow further construction to be done.
Iterable
s to determine if they are of equal lengths and contain equal elements in the same order.
String
.
locale
.
ExternalGadgetSpec
s from the data store.
Map
of the possible values for an enumerated UserPrefSpec
under
construction and return this Builder
to allow further construction to be done.
String
using JavaScript String
rules.
String
using JavaScript String
rules to a Writer
.
ExternalGadgetSpec
.ExternalGadgetSpec
objects.ExternalGadgetSpecIdGenerator
.Map
of parameter names and their values.
Map
of Feature
for the GadgetSpec
under construction and return
this Builder
to allow further construction to be done.
DashboardState
for the dashboard containing the gadget whose identifier is gadgetID
index
as an instance of ColumnIndex
.
GadgetState
object based on an existing
GadgetState
.
GadgetState
objects.
GadgetFactory
that delegates to a GadgetStateFactory
and a GadgetSpecFactory
and returns GadgetImpl
instances.GadgetFactoryImpl
that delegates to the specified factory.
Gadget
implementation.Layout
.GadgetId
does not exist.GadgetProcessor
that handles host-specific
base URLs and the pseudomacro #requireResource.GadgetRequestContext
objects.GadgetRequestContext
instances
from various sources.GadgetRequestContextFactory
.GadgetSpec
objects.
GadgetSpec
object based on an existing
GadgetSpec
.
GadgetSpec
objects.GadgetSpecs
GadgetSpecFactory
.DirectoryEntryProvider
that aggregates an arbitrary number of
GadgetSpecProvider
implementations to produce its results.GadgetSpecUrlBuilder
that uses the specified ApplicationProperties
to determine
the application base URL.
GadgetSpecUrlRenderPermission
implementations provided by OSGi to see if gadgets may be rendered.Color
and the user preferences of the GadgetState
under
construction.GadgetState
instances for gadget spec URIs.GadgetStateFactory
.GadgetStateFactoryImpl
that uses the specified PluginSettingsFactory
to store
the next available gadget ID.
ViewComponent
s for gadgets.GadgetViewFactory
.DashboardState
if the user has permission.
GadgetRequestContext
based on the values in
the specified request
.
ViewType
ViewType
Dashboard
, in the order that they
occurred.
Color
scheme that should be used to decorate the chrome surrounding the gadget.
Iterable
over the ColumnIndex
es that exist in this layout.
Iterable
of the columns in this DashboardState
(which contain the
GadgetState
s).
DataType
of this pref.
DataType
of this pref.
locale
.
isLoaded()
returns false
Gadgets
on the dashboard
Iterable
of the GadgetState
s in the given column
.
GadgetSpec
from a GadgetState
GadgetSpec
from a spec URI
URI
of the gadget spec, which defines the gadget as described in the
gadget spec reference.
DashboardId
, for the dashboard's state.
GadgetId
, for the gadget's state.
ExternalGadgetSpec
, guaranteed to be unique
across the host application.
Layout
of the dashboard.
Layout
type, e.g.
isHostedExternally()
returns true, this method returns the absolute URL of the gadget spec file,
beginning with http or https.
PluginGadgetSpec
created for this module descriptor.
AtlassianOAuthFetcher
URI
of the rendered gadget represented by this parser.
Map
of the user preference values for the gadget, keyed by the name of the user preference.
DashboardState
s, to
make sure the same object is stored and retrieved
ViewType
of this gadget which will be rendered.
true
if there are more possible columns after this one, false
otherwise.
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
String
for the given
character.
text
parameter.
HttpFetcher
using HttpClient
.GadgetRequestContext
under construction and return this Builder
to allow further construction to be done.
ColumnIndex
as an int
.
atlassian-plugins.xml
.
Provider
that creates and returns the Guice Injector
URI
or if it does not begin with http:// or
https://.column
shares the space with the other columns on the screen equally or if it is greedy
and should take up more space.
true
if the gadget should be rendered with debugging enabled, otherwise.
true
if the user identified by username
has permission to view the dashboard identified
by the DashboardId
, false
otherwise.
true
if the gadget URI is a valid URI
and begins with http:// or https://,
false
otherwise.
true
if the user identified by username
has permission to modify the dashboard identified
by the DashboardId
, false
otherwise.
Iterable
s, since we want to avoid introducing a dependency on Google Collections
in our public APICategory
values.Layout
of the DashboardState
under construction and return this Builder
to allow further construction to be done.
Locale
of the GadgetRequestContext
under construction and return this Builder
to allow further construction to be done.
GadgetSpecFactory
implementation that is capable of retrieving local
gadget specs without performing an HTTP loopback request.true
if the URI matches this template, false
.
ExternalGadgetSpec
.
int
.
Map
of all view parameters.
#buildGadgetSpecUrl(String, String)
into a PluginResourceKey
containing the plugin key and resource location specified by the URL.
GadgetIframeParser
for the specified iframe DOM node.
TransactionTemplate
implementation that simply delegates to the
specified TransactionCallback
.DirectoryEntryProvider
for external gadget specs provided by
plugins.GadgetSpecFactory
to retrieve and parse gadget specs.
PluginGadgetSpecEventListener
implementations when gadget specs are enabled and disabled
by plugins.PublishedGadgetFinder
.
PluginGadgetSpec
from the specified plugin and location.
PluginGadgetSpec.Key
from the specified plugin key and resource location.
ExternalGadgetSpec
s to the SAL PluginSettings
API.this
, except that the column with index
index
has had a new gadget added to its top
InputStream
while writing the result to the specified OutputStream
.
Iterable
over ColumnIndex
es starting from start
and
ending with end
, inclusive.
DashboardState
identified by the DashboardId
from the persistent data store.
externalGadgetSpecId
from the persistent data store.
ViewType
.
UserPrefSpec
under construction whether it is required or not and
return this Builder
to allow further construction to be done.
DashboardState
with the DashboardId
from the data store.
DashboardState
if the user has permission.
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
GadgetState
under construction and returns a Builder
to allow
the Color
and user prefs to be set.
GadgetState
under construction and returns a Builder
to allow
the Color
and user prefs to be set.
ApplicationProperties
implementation used for testing that uses the canonical base URL for the server
under test.
DashboardTab
.URI
of the GadgetSpec
under construction and return this Builder
to allow further construction to be done.
DashboardState
under construction and return this Builder
to allow further construction to be done.
DashboardState
under construction and returns a Builder
to allow
the Layout
and the columns to be set.
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
URI
of the GadgetSpec
under construction and return this Builder
to allow further construction to be done.
DashboardStateStore
implementation that adds a
transactional wrapper around an existing DashboardStateStore
GadgetSpec
under construction and return
this Builder
to allow further construction to be done.
DashboardState
in the persistent data store, using the changes
passed in.
String
s to other types.Condition
that can be used when creating web-items that allow the user to modify the dashboard in some
way, such as by adding a gadget to it.Map
of user preference values for the GadgetState
under construction and return
this Builder
to allow further construction to be done.
UserPrefSpec
objects for the GadgetSpec
under construction and return
this Builder
to allow further construction to be done.
UserPrefSpec
objects.
UserPrefSpec
object based on an existing
UserPrefSpec
.
UserPrefSpec
objects.UserPref
s for a GadgetRepresentation
String
.
String
ExternalGadgetSpecId
as a String
.
String
value to a DashboardId
object.
String
value to a GadgetId
object.
String
into an ExternalGadgetSpecId
.
ViewType
associated with the value
.
DashboardState
under construction and return this Builder
to allow further construction to be done.
View
.ViewComponent
represents a view of an entity in the gadgets system.GadgetRequestContext
under construction and return this Builder
to allow further construction to be done.
GadgetSpec
under construction and return
this Builder
to allow further construction to be done.
ViewType
to use
Vote
s are used in the gadget system to determine whether a user is allowed to perform certain actions, such
as seeing a gadget in the gadget browser or being allowed to render a gadget on their dashboard.Vote
on whether the specified gadget
spec should be allowed to render.
Vote
on whether the specified gadget spec should be appear in the
gadget browser.
GadgetSpec
under construction and return this Builder
to allow further construction to be done.
OutputStream
.
OutputStream
.
Writer
.
ParseModule
which uses a hard-coded Xerces
DOMImplementation
instead of some hacky classloader lookups.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |