com.atlassian.jira.portal
Class PortletConfigurationImpl

java.lang.Object
  extended bycom.atlassian.jira.portal.PortletConfigurationImpl
All Implemented Interfaces:
java.lang.Comparable, PortletConfiguration

public class PortletConfigurationImpl
extends java.lang.Object
implements PortletConfiguration


Constructor Summary
PortletConfigurationImpl(GenericValue gv)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.Integer getColumn()
           
 java.lang.String getDefaultProperty(java.lang.String propertyKey)
           
 GenericValue getGenericValue()
           
 java.lang.Long getId()
           
 java.lang.Long getLongProperty(java.lang.String propertyKey)
           
 ObjectConfiguration getObjectConfiguration()
           
 Portlet getPortlet()
           
 PropertySet getProperties()
           
 java.lang.String getProperty(java.lang.String propertyKey)
          Return the property if it is found, else return the default property
 java.lang.Integer getRow()
           
 boolean hasProperty(java.lang.String propertyKey)
           
 void setColumn(java.lang.Integer column)
           
 void setRow(java.lang.Integer row)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletConfigurationImpl

public PortletConfigurationImpl(GenericValue gv)
Method Detail

getId

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

getGenericValue

public GenericValue getGenericValue()
Specified by:
getGenericValue in interface PortletConfiguration

getPortlet

public Portlet getPortlet()
Specified by:
getPortlet in interface PortletConfiguration

getColumn

public java.lang.Integer getColumn()
Specified by:
getColumn in interface PortletConfiguration

setColumn

public void setColumn(java.lang.Integer column)
Specified by:
setColumn in interface PortletConfiguration

getRow

public java.lang.Integer getRow()
Specified by:
getRow in interface PortletConfiguration

setRow

public void setRow(java.lang.Integer row)
Specified by:
setRow in interface PortletConfiguration

getObjectConfiguration

public ObjectConfiguration getObjectConfiguration()
                                           throws ObjectConfigurationException
Throws:
ObjectConfigurationException

hasProperty

public boolean hasProperty(java.lang.String propertyKey)
                    throws ObjectConfigurationException
Throws:
ObjectConfigurationException

getProperty

public java.lang.String getProperty(java.lang.String propertyKey)
                             throws ObjectConfigurationException
Return the property if it is found, else return the default property

Parameters:
propertyKey -
Returns:
Throws:
ObjectConfigurationException

getLongProperty

public java.lang.Long getLongProperty(java.lang.String propertyKey)
                               throws ObjectConfigurationException
Throws:
ObjectConfigurationException

getDefaultProperty

public java.lang.String getDefaultProperty(java.lang.String propertyKey)
                                    throws ObjectConfigurationException
Throws:
ObjectConfigurationException

getProperties

public PropertySet getProperties()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable