public class ScapFactory extends HibernateFactory
| Constructor and Description |
|---|
ScapFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
delete(XccdfTestResult tr)
Delete XCCDF TestResult
|
protected org.apache.log4j.Logger |
getLogger()
Get the Logger for the derived class so log messages
show up on the correct class.
|
static XccdfTestResult |
lookupTestResultById(java.lang.Long xid)
Lookup a XCCDF TestResult by the id
|
static XccdfTestResult |
lookupTestResultByIdAndSid(java.lang.Long xid,
java.lang.Long sid)
Lookup an XCCDF TestResult by the id and ensure it is assigned with given system
|
addConfigurator, blobToByteArray, byteArrayToBlob, closeSession, closeSessionFactory, commitTransaction, createSessionFactory, createSessionFactory, executeCallableMode, executeSelectMode, getBlobContents, getByteArrayContents, getObject, getSession, initialize, inTransaction, isClosed, isInitialized, listObjectsByNamedQuery, listObjectsByNamedQuery, listObjectsByNamedQuery, lockObject, lookupObjectByNamedQuery, lookupObjectByNamedQuery, reload, removeObject, rollbackTransaction, saveObject, saveObject, stringToByteArraypublic static XccdfTestResult lookupTestResultById(java.lang.Long xid)
xid - of the XCCDF TestResult to search forpublic static XccdfTestResult lookupTestResultByIdAndSid(java.lang.Long xid, java.lang.Long sid)
xid - of the XCCDF TestResult to search forsid - of the system expectedpublic static void delete(XccdfTestResult tr)
tr - XCCDF TestResult to deleteprotected org.apache.log4j.Logger getLogger()
getLogger in class HibernateFactory