Package io.jmix.core
Interface DataLoadContext
- All Known Implementing Classes:
LoadContext
,ValueLoadContext
public interface DataLoadContext
Base interface for load contexts used in
DataManager
.-
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.LockModeType
void
setLockMode
(jakarta.persistence.LockModeType lockMode) setQueryString
(String queryString)
-
Method Details
-
setQueryString
- Parameters:
queryString
- query string. Only named parameters are supported.- Returns:
- query definition object
-
setLockMode
void setLockMode(jakarta.persistence.LockModeType lockMode) - Parameters:
lockMode
- lock mode to be used when executing query
-
getLockMode
@Nullable jakarta.persistence.LockModeType getLockMode()- Returns:
- lock mode to be used when executing query
-