public interface IEntityContext
extends de.xima.cmn.dao.interfaces.IBaseEntityContext
IEntityContext
which is required for database transactions. Often you do not have to use
any methods of this context yourself and just pass it to the appropriate database interaction methods as defined by
the various implementations of IAbstractDao
.
In case you open this context manually, you must make sure you close it as well once you do not need it anymore. Please note that in many cases you do not have to (and should not) open this context manually, and instead use the context you are given.
Modifier and Type | Method and Description |
---|---|
IEntityContext |
features(de.xima.cmn.dao.enums.EEntityContextFeature... features) |
Benutzer |
getBenutzer() |
Map<Object,Object> |
getParameters() |
UserContext |
getUserContext() |
boolean |
hasBenutzer() |
IEntityContext |
postCommit(de.xima.cmn.dao.interfaces.IPostCommitListener listener) |
IEntityContext |
postRollback(de.xima.cmn.dao.interfaces.IPostRollbackListener listener) |
void |
reopen() |
void |
setSkipValidation(boolean skip) |
void |
setUserContext(UserContext uc) |
boolean |
skipValidation() |
Benutzer getBenutzer()
boolean hasBenutzer()
void reopen()
UserContext getUserContext()
void setUserContext(UserContext uc)
void setSkipValidation(boolean skip)
boolean skipValidation()
IEntityContext postCommit(de.xima.cmn.dao.interfaces.IPostCommitListener listener)
IEntityContext postRollback(de.xima.cmn.dao.interfaces.IPostRollbackListener listener)
IEntityContext features(de.xima.cmn.dao.enums.EEntityContextFeature... features)
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.