Package de.xima.fc.filter.db
Class RequestEMManager
- java.lang.Object
-
- de.xima.fc.filter.db.RequestEMManager
-
public class RequestEMManager extends Object
-
-
Constructor Summary
Constructors Constructor Description RequestEMManager()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
beginTransaction()
static void
closeEntityManager()
static void
commit()
static UserContext
getDefaultUserContext()
static javax.persistence.EntityManager
getEntityManager()
static boolean
isDbRunning()
static <I extends Number & Comparable<I>>
booleanisEntityDetached(de.xima.cmn.dao.interfaces.IEntity<I> entity)
static boolean
isTransactionActive()
static void
rollback()
static void
setDbRunning(boolean dbRunning)
static void
setDefaultUserContext(UserContext uc)
-
-
-
Method Detail
-
getEntityManager
public static javax.persistence.EntityManager getEntityManager()
-
closeEntityManager
public static void closeEntityManager()
-
beginTransaction
public static void beginTransaction()
-
rollback
public static void rollback()
-
commit
public static void commit()
-
isTransactionActive
public static boolean isTransactionActive()
-
isDbRunning
public static boolean isDbRunning()
-
setDbRunning
public static void setDbRunning(boolean dbRunning)
-
setDefaultUserContext
public static void setDefaultUserContext(UserContext uc)
-
getDefaultUserContext
public static UserContext getDefaultUserContext()
-
isEntityDetached
public static <I extends Number & Comparable<I>> boolean isEntityDetached(de.xima.cmn.dao.interfaces.IEntity<I> entity)
-
-