public class LoggingFactory extends HibernateFactory
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SETUP_LOG_USER |
Constructor and Description |
---|
LoggingFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
clearLogId()
Clears the log_id record
|
protected org.apache.log4j.Logger |
getLogger()
Get the Logger for the derived class so log messages show up on the
correct class
|
static void |
setLogAuth(java.lang.Long userId)
Sets the log_id record
|
static void |
setLogAuthLogin(java.lang.String login)
Sets the log_id record according to the login
used for 1st user creation
|
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, stringToByteArray
public static final java.lang.String SETUP_LOG_USER
protected org.apache.log4j.Logger getLogger()
HibernateFactory
getLogger
in class HibernateFactory
public static void clearLogId()
public static void setLogAuth(java.lang.Long userId)
userId
- user idpublic static void setLogAuthLogin(java.lang.String login)
login
- user login