com.atlassian.jira.portal
Interface PortletConfigurationManager

All Known Implementing Classes:
PortletConfigurationManagerImpl

public interface PortletConfigurationManager

Manager for the PortletConfiguration domain object.


Method Summary
 PortletConfiguration add(Long portalPageId, 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.
 

Method Detail

getByPortalPage

List getByPortalPage(Long portalPageId)
Get all the PortletConfiguration associated with the passed Portal Page.

Parameters:
portalPageId - the portal page to query.
Returns:
a list of portlet configurations on the passed page.

getByPortletId

PortletConfiguration getByPortletId(Long portletId)
Get the passed portlet configuration.

Parameters:
portletId - the id of the portlet configuration to return.
Returns:
the porlet configuration identified by the passed id.

delete

void delete(PortletConfiguration pc)
Remove the passed portlet configuration.

Parameters:
pc - the portlet configuration to remove.

store

void store(PortletConfiguration pc)
Update the passed portlet configuration.

Parameters:
pc - the portlet configuration to change.

add

PortletConfiguration add(Long portalPageId,
                         String portletKey,
                         Integer column,
                         Integer row)
Create a new portlet configuration for the passed parameters.

Parameters:
portalPageId - 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.
Returns:
the new portlet configuration.


Copyright © 2002-2009 Atlassian. All Rights Reserved.