com.atlassian.jira.functest.config.dashboard
Class ConfigDashboard

java.lang.Object
  extended by com.atlassian.jira.functest.config.dashboard.ConfigDashboard
All Implemented Interfaces:
ConfigSharedEntity

public class ConfigDashboard
extends Object
implements ConfigSharedEntity

Represents a PortalPage from JIRA's configuration (aka. dashboards).

Example:

   <PortalPage id="10000" pagename="System Dashboard" sequence="0" favCount="0" layout="AA" version="0"/>
 

Since:
v4.2

Constructor Summary
ConfigDashboard()
           
ConfigDashboard(ConfigDashboard other)
           
ConfigDashboard(org.dom4j.Element element)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDescription()
           
 String getEntityType()
           
 Long getFavouriteCount()
           
 List<ConfigGadget> getGadgets()
           
 Long getId()
           
 String getLayout()
           
 String getName()
           
 String getOwner()
           
 Long getSequence()
           
 Long getVersion()
           
 int hashCode()
           
 boolean isSystem()
           
 ConfigDashboard reorderGadgets()
           
 boolean save(org.dom4j.Element element)
           
 ConfigDashboard setDescription(String description)
           
 ConfigDashboard setFavouriteCount(Long favouriteCount)
           
 ConfigDashboard setGadgets(Collection<? extends ConfigGadget> gadgets)
           
 ConfigDashboard setId(Long id)
           
 ConfigDashboard setLayout(String layout)
           
 ConfigDashboard setName(String name)
           
 ConfigDashboard setOwner(String owner)
           
 ConfigDashboard setSequence(Long sequence)
           
 ConfigDashboard setVersion(Long version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigDashboard

public ConfigDashboard()

ConfigDashboard

public ConfigDashboard(ConfigDashboard other)

ConfigDashboard

public ConfigDashboard(org.dom4j.Element element)
Method Detail

save

public boolean save(org.dom4j.Element element)

getEntityType

public String getEntityType()
Specified by:
getEntityType in interface ConfigSharedEntity

getId

public Long getId()
Specified by:
getId in interface ConfigSharedEntity

setId

public ConfigDashboard setId(Long id)

getSequence

public Long getSequence()

setSequence

public ConfigDashboard setSequence(Long sequence)

getOwner

public String getOwner()

setOwner

public ConfigDashboard setOwner(String owner)

getName

public String getName()

setName

public ConfigDashboard setName(String name)

getDescription

public String getDescription()

setDescription

public ConfigDashboard setDescription(String description)

getFavouriteCount

public Long getFavouriteCount()

setFavouriteCount

public ConfigDashboard setFavouriteCount(Long favouriteCount)

getVersion

public Long getVersion()

setVersion

public ConfigDashboard setVersion(Long version)

getLayout

public String getLayout()

setLayout

public ConfigDashboard setLayout(String layout)

isSystem

public boolean isSystem()

setGadgets

public ConfigDashboard setGadgets(Collection<? extends ConfigGadget> gadgets)

getGadgets

public List<ConfigGadget> getGadgets()

reorderGadgets

public ConfigDashboard reorderGadgets()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.