public class LocaldbFacade extends Object
| Modifier and Type | Method and Description |
|---|---|
static AgentDesc |
getAgentDesc(org.lsst.ccs.bus.data.AgentInfo agentInfo,
org.hibernate.Session sess)
Returns the persistent AgentDesc corresponding to the AgentInfo.
|
static AgentState |
getAgentState(org.lsst.ccs.bus.data.AgentInfo ai,
org.lsst.ccs.bus.states.StateBundle sb,
org.hibernate.Session sess)
Returns the AgentState corresponding to the given stateBundle.
|
static AlertDesc |
getAlertDesc(AgentDesc agentDesc,
String alertId,
org.hibernate.Session sess)
Looks for a persisted AlertDesc corresponding to the given parameters.
|
static AlertDesc |
getAlertDescOrPersist(AgentDesc agentDesc,
org.lsst.ccs.bus.data.Alert alert,
org.hibernate.Session sess) |
static BaseState |
getBaseState(org.lsst.ccs.bus.states.StateBundle sb,
org.hibernate.Session sess)
Returns a persisted BaseState corresponding to the given StateBundle.
|
static InnerStateDesc |
getInnerStateDesc(org.lsst.ccs.bus.data.AgentInfo ai,
String enumClassName,
String enumValue,
org.hibernate.Session sess)
Returns a persisted InnerStateDesc corresponding to the given parameters.
|
static StatTimeInterval |
getStatTimeInterval(long binWidth,
long dataTime,
org.hibernate.Session sess) |
public static AgentDesc getAgentDesc(org.lsst.ccs.bus.data.AgentInfo agentInfo, org.hibernate.Session sess)
agentInfo - sess - public static AlertDesc getAlertDescOrPersist(AgentDesc agentDesc, org.lsst.ccs.bus.data.Alert alert, org.hibernate.Session sess)
agentDesc - alert - sess - public static AlertDesc getAlertDesc(AgentDesc agentDesc, String alertId, org.hibernate.Session sess)
agentDesc - alertId - sess - public static InnerStateDesc getInnerStateDesc(org.lsst.ccs.bus.data.AgentInfo ai, String enumClassName, String enumValue, org.hibernate.Session sess)
ai - enumClassName - enumValue - sess - public static BaseState getBaseState(org.lsst.ccs.bus.states.StateBundle sb, org.hibernate.Session sess)
sb - sess - public static AgentState getAgentState(org.lsst.ccs.bus.data.AgentInfo ai, org.lsst.ccs.bus.states.StateBundle sb, org.hibernate.Session sess)
ai - sb - sess - public static StatTimeInterval getStatTimeInterval(long binWidth, long dataTime, org.hibernate.Session sess)
Copyright © 2016 LSST. All rights reserved.