public class KPIImpl extends Object implements KPI
Modifier and Type | Field and Description |
---|---|
protected String |
code |
protected DataDisplayer |
dataDisplayer |
protected String |
dataDisplayerUid |
protected String |
dataDisplayerXML |
protected DataProviderImpl |
dataProvider |
protected Map<String,String> |
descriptions |
protected Long |
id |
Constructor and Description |
---|
KPIImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
deserializeDataDisplayer() |
boolean |
equals(Object obj) |
String |
getCode() |
DataDisplayer |
getDataDisplayer() |
protected String |
getDataDisplayerUid() |
protected String |
getDataDisplayerXML() |
DataProvider |
getDataProvider() |
String |
getDescription(Locale l) |
Map<String,String> |
getDescriptionI18nMap() |
protected Map |
getDescriptions() |
Long |
getId() |
int |
hashCode() |
boolean |
isPersistent() |
protected void |
persist(int op) |
void |
save() |
protected void |
serializeDataDisplayer() |
void |
setCode(String code) |
void |
setDataDisplayer(DataDisplayer dataDisplayer) |
protected void |
setDataDisplayerUid(String dataDisplayerUid) |
protected void |
setDataDisplayerXML(String dataDisplayerXML) |
void |
setDataProvider(DataProvider dataProvider) |
void |
setDescription(String descr,
Locale l) |
void |
setDescriptionI18nMap(Map descriptions) |
protected void |
setDescriptions(Map descriptions) |
void |
setId(Long id) |
String |
toString() |
void |
update() |
protected Long id
protected String code
protected DataProviderImpl dataProvider
protected String dataDisplayerUid
protected String dataDisplayerXML
protected transient DataDisplayer dataDisplayer
public boolean isPersistent()
isPersistent
in interface org.jboss.dashboard.database.Persistent
public String getDescription(Locale l)
getDescription
in interface KPI
public void setDescription(String descr, Locale l)
setDescription
in interface KPI
public void setDescriptionI18nMap(Map descriptions)
setDescriptionI18nMap
in interface KPI
public Map<String,String> getDescriptionI18nMap()
getDescriptionI18nMap
in interface KPI
public DataProvider getDataProvider()
getDataProvider
in interface KPI
public void setDataProvider(DataProvider dataProvider)
setDataProvider
in interface KPI
public DataDisplayer getDataDisplayer()
getDataDisplayer
in interface KPI
public void setDataDisplayer(DataDisplayer dataDisplayer)
setDataDisplayer
in interface KPI
public void save() throws Exception
save
in interface org.jboss.dashboard.database.Persistent
Exception
public void update() throws Exception
update
in interface org.jboss.dashboard.database.Persistent
Exception
public void delete() throws Exception
delete
in interface org.jboss.dashboard.database.Persistent
Exception
protected void serializeDataDisplayer()
protected void deserializeDataDisplayer()
protected String getDataDisplayerUid()
protected void setDataDisplayerUid(String dataDisplayerUid)
protected String getDataDisplayerXML()
protected void setDataDisplayerXML(String dataDisplayerXML)
protected Map getDescriptions()
protected void setDescriptions(Map descriptions)
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.