com.atlassian.jira.portal
Class AbstractPortalPageConfigurationImpl

java.lang.Object
  extended bycom.atlassian.jira.portal.AbstractPortalPageConfigurationImpl
All Implemented Interfaces:
PortalPageConfiguration
Direct Known Subclasses:
DefaultPortalPageConfigurationImpl, PortalPageConfigurationImpl

public abstract class AbstractPortalPageConfigurationImpl
extends java.lang.Object
implements PortalPageConfiguration

Created by IntelliJ IDEA. User: Owen Date: 11/06/2003 Time: 17:02:09 To change this template use Options | File Templates.


Constructor Summary
AbstractPortalPageConfigurationImpl(GenericValue portalpage)
           
 
Method Summary
 PortletConfiguration addPortletConfig(java.lang.String portletId, int column, int row)
           
 void deletePortletConfig(java.lang.Long portletConfigId)
           
 java.util.List getLeftPortletConfigs()
           
protected  GenericValue getPortalPage()
           
 PortletConfiguration getPortletConfig(java.lang.Long portletConfigId)
           
protected  java.util.List getPortletConfigsList()
           
protected  java.util.Map getPortletConfigsMap()
           
 java.util.List getPortletConfigurations(java.lang.String portletId)
           
 java.util.List getRightPortletConfigs()
           
 void movePortletPositionColumn(java.lang.Long portletConfigId, java.lang.Integer column)
           
 void movePortletPositionRow(java.lang.Long portletConfigId, boolean forward)
           
protected  void putInColumn(PortletConfiguration portletConfig)
           
protected  void removePortletConfig(PortletConfiguration pc)
           
protected  void renumberList(java.util.List portletConfigs)
           
 void store(User user, java.lang.String pagename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.portal.PortalPageConfiguration
deletePortletConfigs, isDefault
 

Constructor Detail

AbstractPortalPageConfigurationImpl

public AbstractPortalPageConfigurationImpl(GenericValue portalpage)
Method Detail

getPortalPage

protected GenericValue getPortalPage()

getPortletConfigsList

protected java.util.List getPortletConfigsList()

getPortletConfigsMap

protected java.util.Map getPortletConfigsMap()

getLeftPortletConfigs

public java.util.List getLeftPortletConfigs()
Specified by:
getLeftPortletConfigs in interface PortalPageConfiguration

getRightPortletConfigs

public java.util.List getRightPortletConfigs()
Specified by:
getRightPortletConfigs in interface PortalPageConfiguration

getPortletConfig

public PortletConfiguration getPortletConfig(java.lang.Long portletConfigId)
Specified by:
getPortletConfig in interface PortalPageConfiguration

getPortletConfigurations

public java.util.List getPortletConfigurations(java.lang.String portletId)
Specified by:
getPortletConfigurations in interface PortalPageConfiguration

putInColumn

protected void putInColumn(PortletConfiguration portletConfig)

renumberList

protected void renumberList(java.util.List portletConfigs)

movePortletPositionColumn

public void movePortletPositionColumn(java.lang.Long portletConfigId,
                                      java.lang.Integer column)
Specified by:
movePortletPositionColumn in interface PortalPageConfiguration

movePortletPositionRow

public void movePortletPositionRow(java.lang.Long portletConfigId,
                                   boolean forward)
Specified by:
movePortletPositionRow in interface PortalPageConfiguration

addPortletConfig

public PortletConfiguration addPortletConfig(java.lang.String portletId,
                                             int column,
                                             int row)
                                      throws PortletConfigurationException
Specified by:
addPortletConfig in interface PortalPageConfiguration
Throws:
PortletConfigurationException

deletePortletConfig

public void deletePortletConfig(java.lang.Long portletConfigId)
                         throws PortletConfigurationException
Specified by:
deletePortletConfig in interface PortalPageConfiguration
Throws:
PortletConfigurationException

store

public void store(User user,
                  java.lang.String pagename)
           throws PortletConfigurationException
Specified by:
store in interface PortalPageConfiguration
Throws:
PortletConfigurationException

removePortletConfig

protected void removePortletConfig(PortletConfiguration pc)
                            throws GenericEntityException
Throws:
GenericEntityException