Package ru.curs.celesta
Interface ICallContext
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CallContext
,SystemCallContext
public interface ICallContext extends AutoCloseable
It's a base interface of call context. Its implementations allow to execute db operations in one transaction and provides methods to access base units of celesta.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Connection
getConn()
Connection with database.DBAdaptor
getDbAdaptor()
Returns actual implementation ofDBAdaptor
.AbstractScore
getScore()
Returns Celesta score.boolean
isClosed()
Whether the context was closed.
-
-
-
Method Detail
-
getConn
Connection getConn()
Connection with database.
-
isClosed
boolean isClosed()
Whether the context was closed.
-
getScore
AbstractScore getScore()
Returns Celesta score.
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
-
-