org.rhq.core.domain.dashboard
Class Dashboard
java.lang.Object
   org.rhq.core.domain.dashboard.Dashboard
org.rhq.core.domain.dashboard.Dashboard
- All Implemented Interfaces: 
- Serializable
- public class Dashboard 
- extends Object- implements Serializable
- See Also:
- Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
CFG_COLUMNS
public static final String CFG_COLUMNS
- See Also:
- Constant Field Values
CFG_WIDTHS
public static final String CFG_WIDTHS
- See Also:
- Constant Field Values
CFG_BACKGROUND
public static final String CFG_BACKGROUND
- See Also:
- Constant Field Values
CFG_REFRESH_RATE
public static final String CFG_REFRESH_RATE
- See Also:
- Constant Field Values
Dashboard
public Dashboard()
getId
public int getId()
- 
 
- 
 
setId
public void setId(int id)
- 
 
- 
 
getName
public String getName()
- 
 
- 
 
setName
public void setName(String name)
- 
 
- 
 
isShared
public boolean isShared()
- 
 
- 
 
setShared
public void setShared(boolean shared)
- 
 
- 
 
getOwner
public Subject getOwner()
- 
 
- 
 
setOwner
public void setOwner(Subject owner)
- 
 
- 
 
getCategory
public DashboardCategory getCategory()
- 
 
- 
 
setCategory
public void setCategory(DashboardCategory category)
- 
 
- 
 
getResource
public Resource getResource()
- 
 
- 
 
setResource
public void setResource(Resource resource)
- 
 
- 
 
getGroup
public ResourceGroup getGroup()
- 
 
- 
 
setGroup
public void setGroup(ResourceGroup group)
- 
 
- 
 
getColumns
public int getColumns()
- 
 
- 
 
setColumns
public void setColumns(int columns)
- 
 
- 
 
getColumnWidths
public String[] getColumnWidths()
- 
 
- 
 
setColumnWidths
public void setColumnWidths(String... columnWidths)
- 
 
- 
 
getConfiguration
public Configuration getConfiguration()
- 
 
- 
 
setConfiguration
public void setConfiguration(Configuration configuration)
- 
 
- 
 
getPortlets
public Set<DashboardPortlet> getPortlets()
- 
 
- 
 
getPortlets
public List<DashboardPortlet> getPortlets(int column)
- 
 
- 
 
removePortlet
public boolean removePortlet(DashboardPortlet storedPortlet)
- 
 
- 
 
addPortlet
public void addPortlet(DashboardPortlet storedPortlet)
- This can be used to safely add a portlet without knowing the current portlet positioning on the
 Dashboard. It adds the portlet to the bottom of column with the least portlets.
 
- 
 
- 
- Parameters:
- storedPortlet,- MODIFIED with assigned column, index
 
addPortlet
public void addPortlet(DashboardPortlet storedPortlet,
                       int column,
                       int index)
- Call this only if you are sure the column and index are valid, not already used and not leaving gaps.
 
- 
 
- 
- Parameters:
- storedPortlet,- MODIFIED with assigned column, index
- column-
- index-
 
deepCopy
public Dashboard deepCopy(boolean keepIds)
- 
 
- 
 
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.