public class CrashManager extends BaseManager
| Constructor and Description |
|---|
CrashManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteCrash(User user,
java.lang.Long crashId)
Delete a crash from database and filer.
|
static Crash |
lookupCrashByUserAndId(User user,
java.lang.Long crashId)
Lookup Crash by its ID and User.
|
static CrashFile |
lookupCrashFileByUserAndId(User user,
java.lang.Long crashFileId)
Lookup CrashFile by its ID and User.
|
static CrashNote |
lookupCrashNoteByIdAndCrash(java.lang.Long crashNoteId,
Crash crash)
Lookup CrashNote by id and crash
|
static CrashNote |
lookupCrashNoteByUserAndId(User user,
java.lang.Long crashNoteId) |
makeDataResult, makeDataResult, makeDataResult, makeDataResult, makeDataResultNoPagination, makeDataResultNoPagination, processListControl, processPageControlpublic static Crash lookupCrashByUserAndId(User user, java.lang.Long crashId)
user - User to check the permissions for.crashId - ID of the crash to search for.public static CrashFile lookupCrashFileByUserAndId(User user, java.lang.Long crashFileId)
user - The user to check the permissions for.crashFileId - ID of the crash file to search for.public static void deleteCrash(User user, java.lang.Long crashId)
user - User to check the permissions for.crashId - The id of the crash to delete.public static CrashNote lookupCrashNoteByIdAndCrash(java.lang.Long crashNoteId, Crash crash)
crashNoteId - crash note idcrash - crash