java.lang.Object | |
↳ | com.atlassian.jira.portal.OfbizPortletConfigurationStore |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
OfbizPortletConfigurationStore.Columns | |||||||||||
OfbizPortletConfigurationStore.UserPreferenceColumns |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | TABLE | ||||||||||
String | USER_PREFERENCES_TABLE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates and adds a new
PortletConfiguration to given PortalPage. | |||||||||||
Deletes the given
PortletConfiguration . | |||||||||||
Returns an iterable over all PortletConfigurations available in the database.
| |||||||||||
Get all
PortletConfiguration objects for a given PortalPage id. | |||||||||||
Gall a
PortletConfiguration by its id. | |||||||||||
Saves the given
PortletConfiguration . | |||||||||||
Given a gadget, this method will update the color value for this gadget.
| |||||||||||
Given a gadget, this method will update it's row, column and parent dashboard id.
| |||||||||||
Given a gadget, this method updates all userprefs for this gadget.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.portal.PortletConfigurationStore
|
Creates and adds a new PortletConfiguration
to given PortalPage. This should
be used to add a gadget.
portalPageId | The id of the page to add the configuration to. |
---|---|
portletConfigurationId | The id to use for adding the gadget. This will correspond to createGadgetState(java.net.URI) . May be null for a generated
id. |
column | The column position of the portlet. |
row | The row position of the portlet |
gadgetXml | A URI specifying the location of the gadget XML. May be null if this is a legacy portlet. |
color | The chrome color for the gadget. |
userPreferences | A map of key -> value user preference pairs used to store gadget configuration. |
Deletes the given PortletConfiguration
.
pc | The PortletConfiguration to delete. |
---|
Returns an iterable over all PortletConfigurations available in the database.
Get all PortletConfiguration
objects for a given PortalPage
id.
portalPageId | The id of the page to retreive all configurations for. |
---|
Gall a PortletConfiguration
by its id.
portletId | The id of the portlet configuration |
---|
Saves the given PortletConfiguration
.
pc | The PortletConfiguration to save. |
---|
Given a gadget, this method will update the color value for this gadget.
gadgetId | The id of the gadget being updated |
---|---|
color | The new color value for this gadget |
Given a gadget, this method will update it's row, column and parent dashboard id.
gadgetId | The id of the gadget being updated |
---|---|
row | The new row value for this gadget |
column | The new column value for this gadget |
dashboardId | The new parent dashboard id value for this gadget |
Given a gadget, this method updates all userprefs for this gadget.
gadgetId | The id of the gadget being updated |
---|---|
userPrefs | The new userprefs to set for this gadget. |