com.atlassian.jira.portal
Class PortletConfigurationImpl

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

public class PortletConfigurationImpl
extends java.lang.Object
implements PortletConfiguration


Constructor Summary
PortletConfigurationImpl(org.ofbiz.core.entity.GenericValue gv)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.Integer getColumn()
           
 java.lang.String getDefaultProperty(java.lang.String propertyKey)
           
 org.ofbiz.core.entity.GenericValue getGenericValue()
           
 java.lang.Long getId()
           
 java.lang.String getKey()
           
 java.lang.Long getLongProperty(java.lang.String propertyKey)
           
 com.atlassian.configurable.ObjectConfiguration getObjectConfiguration()
           
 Portlet getPortlet()
           
 com.opensymphony.module.propertyset.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()
           
 java.lang.String getTextProperty(java.lang.String propertyKey)
           
 boolean hasProperty(java.lang.String propertyKey)
           
 boolean isUsingDefaultPortalConfig(com.opensymphony.user.User user)
           
 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(org.ofbiz.core.entity.GenericValue gv)
Method Detail

getId

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

getGenericValue

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

getKey

public java.lang.String getKey()
Specified by:
getKey in interface com.atlassian.configurable.ObjectConfigurable

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 com.atlassian.configurable.ObjectConfiguration getObjectConfiguration()
                                                                      throws com.atlassian.configurable.ObjectConfigurationException
Specified by:
getObjectConfiguration in interface com.atlassian.configurable.ObjectConfigurable
Throws:
com.atlassian.configurable.ObjectConfigurationException

hasProperty

public boolean hasProperty(java.lang.String propertyKey)
                    throws com.atlassian.configurable.ObjectConfigurationException
Specified by:
hasProperty in interface com.atlassian.configurable.ObjectConfigurable
Throws:
com.atlassian.configurable.ObjectConfigurationException

getProperty

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

Specified by:
getProperty in interface com.atlassian.configurable.ObjectConfigurable
Parameters:
propertyKey -
Returns:
Throws:
com.atlassian.configurable.ObjectConfigurationException

getTextProperty

public java.lang.String getTextProperty(java.lang.String propertyKey)
                                 throws com.atlassian.configurable.ObjectConfigurationException
Throws:
com.atlassian.configurable.ObjectConfigurationException

getLongProperty

public java.lang.Long getLongProperty(java.lang.String propertyKey)
                               throws com.atlassian.configurable.ObjectConfigurationException
Specified by:
getLongProperty in interface com.atlassian.configurable.ObjectConfigurable
Throws:
com.atlassian.configurable.ObjectConfigurationException

getDefaultProperty

public java.lang.String getDefaultProperty(java.lang.String propertyKey)
                                    throws com.atlassian.configurable.ObjectConfigurationException
Specified by:
getDefaultProperty in interface com.atlassian.configurable.ObjectConfigurable
Throws:
com.atlassian.configurable.ObjectConfigurationException

getProperties

public com.opensymphony.module.propertyset.PropertySet getProperties()
Specified by:
getProperties in interface com.atlassian.configurable.ObjectConfigurable

compareTo

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

isUsingDefaultPortalConfig

public boolean isUsingDefaultPortalConfig(com.opensymphony.user.User user)


Copyright © 2002-2005 Atlassian. All Rights Reserved.