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


Constructor Summary
  AbstractPortalPageConfigurationImpl(org.ofbiz.core.entity.GenericValue portalPage, OfBizDelegator delegator)
           
protected AbstractPortalPageConfigurationImpl(java.util.List portletConfigsList)
           
 
Method Summary
 PortletConfiguration addPortletConfig(java.lang.String portletId, int column, int row)
           
 void deletePortletConfig(java.lang.Long portletConfigId)
           
 java.util.List getColumn(int num)
           
 int getColumnCount()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.util.List getLeftPortletConfigs()
           
 java.lang.String getPageName()
           
protected  org.ofbiz.core.entity.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 movePortletPositionFirst(java.lang.Long id)
           
 void movePortletPositionLast(java.lang.Long id)
           
 void movePortletPositionRow(java.lang.Long portletConfigId, boolean forward)
           
protected  void putInColumn(PortletConfiguration portletConfig)
           
 void reload()
          Re-initialize this portal page configuration from the database.
protected  void removePortletConfig(PortletConfiguration pc)
           
protected  void renumberList(java.util.List portletConfigs)
           
protected  void renumberList(java.util.List portletConfigs, java.lang.Integer columnPosition)
           
 void store()
           
 
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(org.ofbiz.core.entity.GenericValue portalPage,
                                           OfBizDelegator delegator)

AbstractPortalPageConfigurationImpl

protected AbstractPortalPageConfigurationImpl(java.util.List portletConfigsList)
Method Detail

reload

public void reload()
Description copied from interface: PortalPageConfiguration
Re-initialize this portal page configuration from the database.

Specified by:
reload in interface PortalPageConfiguration

getId

public java.lang.Long getId()
Specified by:
getId in interface PortalPageConfiguration

getPageName

public java.lang.String getPageName()
Specified by:
getPageName in interface PortalPageConfiguration

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface PortalPageConfiguration

getPortalPage

protected org.ofbiz.core.entity.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)

renumberList

protected void renumberList(java.util.List portletConfigs,
                            java.lang.Integer columnPosition)

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

movePortletPositionFirst

public void movePortletPositionFirst(java.lang.Long id)
Specified by:
movePortletPositionFirst in interface PortalPageConfiguration

movePortletPositionLast

public void movePortletPositionLast(java.lang.Long id)
Specified by:
movePortletPositionLast in interface PortalPageConfiguration

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface PortalPageConfiguration

getColumn

public java.util.List getColumn(int num)
Specified by:
getColumn in interface PortalPageConfiguration

deletePortletConfig

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

store

public void store()
           throws PortletConfigurationException
Specified by:
store in interface PortalPageConfiguration
Throws:
PortletConfigurationException

removePortletConfig

protected void removePortletConfig(PortletConfiguration pc)
                            throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2005 Atlassian. All Rights Reserved.