Package de.xima.fc.interfaces
Interface IEntityContext
-
- All Superinterfaces:
AutoCloseable
,Closeable
,de.xima.cmn.dao.interfaces.IBaseEntityContext
- All Known Implementing Classes:
AEntityContext
,ContextualEntityContext
,EntityContext
,JSFEntityContext
,RequestEntityContext
public interface IEntityContext extends de.xima.cmn.dao.interfaces.IBaseEntityContext
Interface for theIEntityContext
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 ofIAbstractDao
.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.
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IEntityContext
features(de.xima.cmn.dao.enums.EEntityContextFeature... features)
Benutzer
getBenutzer()
Deprecated.UsegetUser()
instead.Map<Object,Object>
getParameters()
IUser
getUser()
UserContext
getUserContext()
boolean
hasBenutzer()
IEntityContext
postCommit(de.xima.cmn.dao.interfaces.IPostCommitListener listener)
IEntityContext
postRollback(de.xima.cmn.dao.interfaces.IPostRollbackListener listener)
IEntityContext
preCommit(de.xima.cmn.dao.interfaces.IPreCommitListener listener)
IEntityContext
preRollback(de.xima.cmn.dao.interfaces.IPreRollbackListener listener)
void
reopen()
void
setSkipValidation(boolean skip)
void
setUserContext(UserContext uc)
boolean
skipValidation()
-
-
-
Method Detail
-
getUser
IUser getUser()
-
hasBenutzer
boolean hasBenutzer()
-
reopen
void reopen()
-
getUserContext
UserContext getUserContext()
-
setUserContext
void setUserContext(UserContext uc)
-
setSkipValidation
void setSkipValidation(boolean skip)
-
skipValidation
boolean skipValidation()
-
postCommit
IEntityContext postCommit(de.xima.cmn.dao.interfaces.IPostCommitListener listener)
-
postRollback
IEntityContext postRollback(de.xima.cmn.dao.interfaces.IPostRollbackListener listener)
-
preCommit
IEntityContext preCommit(de.xima.cmn.dao.interfaces.IPreCommitListener listener)
-
preRollback
IEntityContext preRollback(de.xima.cmn.dao.interfaces.IPreRollbackListener listener)
-
features
IEntityContext features(de.xima.cmn.dao.enums.EEntityContextFeature... features)
-
getBenutzer
@Deprecated Benutzer getBenutzer()
Deprecated.UsegetUser()
instead.
-
-