|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.portal.PortletConfigurationManagerImpl
public class PortletConfigurationManagerImpl
Constructor Summary | |
---|---|
PortletConfigurationManagerImpl(PortletConfigurationStore portletConfigurationStore)
|
Method Summary | |
---|---|
PortletConfiguration |
add(Long pageId,
String portletKey,
Integer column,
Integer row)
Create a new portlet configuration for the passed parameters. |
void |
delete(PortletConfiguration pc)
Remove the passed portlet configuration. |
List |
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 getByPortalPage(Long portalPageId)
PortletConfigurationManager
PortletConfiguration
associated with the passed Portal Page.
getByPortalPage
in interface PortletConfigurationManager
portalPageId
- the portal page to query.
public PortletConfiguration getByPortletId(Long portletId)
PortletConfigurationManager
getByPortletId
in interface PortletConfigurationManager
portletId
- the id of the portlet configuration to return.
public void delete(PortletConfiguration pc)
PortletConfigurationManager
delete
in interface PortletConfigurationManager
pc
- the portlet configuration to remove.public PortletConfiguration add(Long pageId, String portletKey, Integer column, Integer row)
PortletConfigurationManager
add
in interface PortletConfigurationManager
pageId
- the portal page the configuration will belong to.portletKey
- the portal the configuration will be associated with.column
- the column location for the new configuration.row
- the row location for the new configuration.
public void store(PortletConfiguration pc)
PortletConfigurationManager
store
in interface PortletConfigurationManager
pc
- the portlet configuration to change.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |