public class CrashFactory extends HibernateFactory
| Modifier and Type | Method and Description |
|---|---|
static void |
delete(Crash crash)
Delete a crash.
|
static void |
delete(CrashNote crashNoteIn)
Deletes a CrashNote object
|
protected org.apache.log4j.Logger |
getLogger()
Get the Logger for the derived class so log messages show up on the
correct class
|
static java.util.List<CrashNote> |
listCrashNotesByCrash(Crash crashIn)
Lists crash notes of a specified crash
|
static java.util.List<CrashSystemsDto> |
listCrashSystems(User userIn,
Org orgIn,
java.lang.String uuidIn)
List systems and further details showing crash with given uuid
|
static java.util.List<IdenticalCrashesDto> |
listCrashUuidDetails(User userIn,
Org orgIn,
java.lang.String uuidIn)
List summary for software crashes with a given uuid
|
static java.util.List<IdenticalCrashesDto> |
listIdenticalCrashesForOrg(User userIn,
Org orgIn)
List Software crashes for a given user and org grouped by crash uuid
|
static Crash |
lookupById(java.lang.Long id)
Lookup a Crash by its id
|
static CrashFile |
lookupCrashFileById(java.lang.Long id)
Lookup a CrashFile by its id
|
static CrashNote |
lookupCrashNoteById(java.lang.Long crashNoteId) |
static CrashNote |
lookupCrashNoteByIdAndCrash(java.lang.Long crashNoteIdIn,
Crash crashIn)
Lookup CrashNote by id and crash
|
static void |
save(CrashNote crashNoteIn)
Saves CrashNote object
|
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, stringToByteArrayprotected org.apache.log4j.Logger getLogger()
HibernateFactorygetLogger in class HibernateFactorypublic static Crash lookupById(java.lang.Long id)
id - the id to search forpublic static void delete(Crash crash)
crash - Crash to delete.public static CrashFile lookupCrashFileById(java.lang.Long id)
id - the id to search forpublic static CrashNote lookupCrashNoteByIdAndCrash(java.lang.Long crashNoteIdIn, Crash crashIn)
crashNoteIdIn - crash note idcrashIn - crashpublic static CrashNote lookupCrashNoteById(java.lang.Long crashNoteId)
crashNoteId - Crash note idpublic static java.util.List<CrashNote> listCrashNotesByCrash(Crash crashIn)
crashIn - crashpublic static void save(CrashNote crashNoteIn)
crashNoteIn - crash note to savepublic static void delete(CrashNote crashNoteIn)
crashNoteIn - crash note to deletepublic static java.util.List<IdenticalCrashesDto> listIdenticalCrashesForOrg(User userIn, Org orgIn)
userIn - The org to return the list fororgIn - The org to return the list forpublic static java.util.List<IdenticalCrashesDto> listCrashUuidDetails(User userIn, Org orgIn, java.lang.String uuidIn)
userIn - The org to return the summary fororgIn - The org to return the summary foruuidIn - Crash uuid to return the summary forpublic static java.util.List<CrashSystemsDto> listCrashSystems(User userIn, Org orgIn, java.lang.String uuidIn)
userIn - The org to return the list fororgIn - The org to return the list foruuidIn - Crash uuid to return the list for