|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.portal.PortletConfigurationManagerImpl
public class PortletConfigurationManagerImpl
| Constructor Summary | |
|---|---|
PortletConfigurationManagerImpl(PortletConfigurationStore portletConfigurationStore)
|
|
| Method Summary | |
|---|---|
PortletConfiguration |
addGadget(Long portalPageId,
Integer column,
Integer row,
URI gadgetXml,
com.atlassian.gadgets.dashboard.Color color,
Map<String,String> userPreferences)
Create a new portlet configuration for the passed parameters. |
void |
delete(PortletConfiguration pc)
Remove the passed portlet configuration. |
List<PortletConfiguration> |
getByPortalPage(Long portalPageId)
Get all the PortletConfiguration associated with the passed Portal Page. |
PortletConfiguration |
getByPortletId(Long portletId)
Get the passed portlet configuration. |
void |
store(PortletConfiguration pc)
Update the passed portlet configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PortletConfigurationManagerImpl(PortletConfigurationStore portletConfigurationStore)
| Method Detail |
|---|
public List<PortletConfiguration> getByPortalPage(Long portalPageId)
PortletConfigurationManagerPortletConfiguration associated with the passed Portal Page.
getByPortalPage in interface PortletConfigurationManagerportalPageId - the portal page to query.
public PortletConfiguration getByPortletId(Long portletId)
PortletConfigurationManager
getByPortletId in interface PortletConfigurationManagerportletId - the id of the portlet configuration to return.
public void delete(PortletConfiguration pc)
PortletConfigurationManager
delete in interface PortletConfigurationManagerpc - the portlet configuration to remove.
public PortletConfiguration addGadget(Long portalPageId,
Integer column,
Integer row,
URI gadgetXml,
com.atlassian.gadgets.dashboard.Color color,
Map<String,String> userPreferences)
PortletConfigurationManager
addGadget in interface PortletConfigurationManagerportalPageId - 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.
public void store(PortletConfiguration pc)
PortletConfigurationManager
store in interface PortletConfigurationManagerpc - the portlet configuration to change.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||