com.atlassian.jira.portal
Class PortletConfigurationImpl
java.lang.Object
com.atlassian.jira.portal.PortletConfigurationImpl
- All Implemented Interfaces:
- com.atlassian.configurable.ObjectConfigurable, PortletConfiguration, Comparable
public class PortletConfigurationImpl
- extends Object
- implements PortletConfiguration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletConfigurationImpl
public PortletConfigurationImpl(Long portalPageId,
String key,
Integer column,
Integer row)
PortletConfigurationImpl
public PortletConfigurationImpl(Long id,
Long portalPageId,
String key,
Integer column,
Integer row)
PortletConfigurationImpl
public PortletConfigurationImpl(org.ofbiz.core.entity.GenericValue gv)
- Deprecated. Please use one of the other constructors instead
- Parameters:
gv
-
getId
public Long getId()
- Specified by:
getId
in interface PortletConfiguration
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()
- This may return null if the object was not initialized using the GenericValue constructor
- Specified by:
getGenericValue
in interface PortletConfiguration
getPortlet
public Portlet getPortlet()
- Specified by:
getPortlet
in interface PortletConfiguration
getColumn
public Integer getColumn()
- Specified by:
getColumn
in interface PortletConfiguration
getKey
public String getKey()
- Specified by:
getKey
in interface com.atlassian.configurable.ObjectConfigurable
setColumn
public void setColumn(Integer column)
- Specified by:
setColumn
in interface PortletConfiguration
getRow
public Integer getRow()
- Specified by:
getRow
in interface PortletConfiguration
getPortalPageId
public Long getPortalPageId()
- Specified by:
getPortalPageId
in interface PortletConfiguration
setPortalPageId
public void setPortalPageId(Long portalPageId)
- Specified by:
setPortalPageId
in interface PortletConfiguration
setRow
public void setRow(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(String propertyKey)
throws com.atlassian.configurable.ObjectConfigurationException
- Specified by:
hasProperty
in interface com.atlassian.configurable.ObjectConfigurable
- Throws:
com.atlassian.configurable.ObjectConfigurationException
getProperty
public String getProperty(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
-
- Throws:
com.atlassian.configurable.ObjectConfigurationException
getTextProperty
public String getTextProperty(String propertyKey)
throws com.atlassian.configurable.ObjectConfigurationException
- Specified by:
getTextProperty
in interface com.atlassian.configurable.ObjectConfigurable
- Throws:
com.atlassian.configurable.ObjectConfigurationException
getLongProperty
public Long getLongProperty(String propertyKey)
throws com.atlassian.configurable.ObjectConfigurationException
- Specified by:
getLongProperty
in interface com.atlassian.configurable.ObjectConfigurable
- Throws:
com.atlassian.configurable.ObjectConfigurationException
getDefaultProperty
public String getDefaultProperty(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(Object o)
- Specified by:
compareTo
in interface Comparable
isUsingDefaultPortalConfig
public boolean isUsingDefaultPortalConfig(User user)
Copyright © 2002-2007 Atlassian. All Rights Reserved.