|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.common.server.session.CrispoManagerEJBImpl
public class CrispoManagerEJBImpl
The CRISPO (Config Response Is Sweetly Persisted ... Oy!) Manager deals
with storing configuration data typically associated with
ConfigResponse
objects;
Constructor Summary | |
---|---|
CrispoManagerEJBImpl()
|
Method Summary | |
---|---|
Crispo |
create(ConfigResponse cfg)
Create a new Crispo, filled out with the values from a ConfigResponse |
Crispo |
createCrispo(java.util.Map keyVals)
Create a new Crispo from a Map of String
key/value pairs |
void |
deleteCrispo(Crispo c)
Delete a Crispo and all the options contained within. |
void |
ejbActivate()
|
void |
ejbCreate()
|
void |
ejbPassivate()
|
void |
ejbRemove()
|
java.util.Collection |
findAll()
|
Crispo |
findById(java.lang.Integer id)
|
java.util.List |
findOptionByKey(java.lang.String key)
Find a List of CrispoOptions given the search key. |
java.util.List |
findOptionByValue(java.lang.String val)
Find a List of CrispoOptions given the search value. |
static org.hyperic.hq.common.shared.CrispoManagerLocal |
getOne()
|
void |
setSessionContext(javax.ejb.SessionContext c)
|
void |
update(Crispo c,
ConfigResponse cfg)
Update a crispo, matching the saved crispo to the values in the config repsonse. |
void |
updateOption(CrispoOption o,
java.lang.String val)
Update the given CrispoOption with the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CrispoManagerEJBImpl()
Method Detail |
---|
public Crispo createCrispo(java.util.Map keyVals)
Crispo
from a Map
of String
key/value pairs
public java.util.Collection findAll()
Crispo
s in the systempublic Crispo findById(java.lang.Integer id)
public void deleteCrispo(Crispo c)
Crispo
and all the options contained within.
public Crispo create(ConfigResponse cfg)
ConfigResponse
public void update(Crispo c, ConfigResponse cfg)
public java.util.List findOptionByKey(java.lang.String key)
key
- The key to search for
public java.util.List findOptionByValue(java.lang.String val)
val
- The value to search for
public void updateOption(CrispoOption o, java.lang.String val)
o
- The CrispoOption to updateval
- The new value for this optionpublic static org.hyperic.hq.common.shared.CrispoManagerLocal getOne()
public void ejbCreate()
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext c)
setSessionContext
in interface javax.ejb.SessionBean
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |