com.atlassian.jira.portal.PortletConfigurationManager |
Known Indirect Subclasses |
Manager for the PortletConfiguration
domain object.
It has a legacy name, but actually manages the Google Gadgets.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new portlet configuration for the passed parameters.
| |||||||||||
Remove the passed portlet configuration.
| |||||||||||
Get all the
PortletConfiguration associated with the passed Portal Page. | |||||||||||
Get the passed portlet configuration.
| |||||||||||
Update the passed portlet configuration.
|
Create a new portlet configuration for the passed parameters.
portalPageId | the portal page the configuration will belong to. |
---|---|
column | the column location for the new configuration. |
row | the row location for the new configuration. |
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. |
Remove the passed portlet configuration.
pc | the portlet configuration to remove. |
---|
Get all the PortletConfiguration
associated with the passed Portal Page.
portalPageId | the portal page to query. |
---|
Get the passed portlet configuration.
portletId | the id of the portlet configuration to return. |
---|
Update the passed portlet configuration.
pc | the portlet configuration to change. |
---|