public interface ModelManager
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT_ATTRIBUTE |
| Modifier and Type | Method and Description |
|---|---|
ModelInfo |
getAdminModelInfo(String adminName) |
javax.persistence.EntityManager |
getEntityManager() |
MetadataIntegrator |
getMetadataIntegrator() |
com.github.ideahut.qms.shared.client.object.Grid |
getModelGrid(String name) |
Set<String> |
getModelGridNames() |
ModelIgnoreMember |
getModelIgnoreMember() |
ModelInfo |
getModelInfo(Class<?> modelClass) |
ModelInfo |
getTableModelInfo(String tableName) |
void |
ignoreLazyMember(Class<?> type,
String... exceptFields) |
void |
ignoreLazyMember(ModelInfo modelInfo,
String... exceptFields) |
<T> void |
loadLazy(T modelObject,
ModelInfo modelInfo,
List<String> fields) |
<T> void |
loadLazy(T modelObject,
ModelInfo modelInfo,
String... fields) |
<T> T |
transaction(boolean readOnly,
Callable<T> callable) |
<T> T |
transaction(boolean readOnly,
SessionCallable<T> callable) |
<T> T |
transaction(Callable<T> callable) |
<T> T |
transaction(SessionCallable<T> callable) |
static final String CONTEXT_ATTRIBUTE
com.github.ideahut.qms.shared.client.object.Grid getModelGrid(String name)
javax.persistence.EntityManager getEntityManager()
MetadataIntegrator getMetadataIntegrator()
ModelIgnoreMember getModelIgnoreMember()
<T> T transaction(boolean readOnly,
Callable<T> callable)
<T> T transaction(Callable<T> callable)
<T> T transaction(boolean readOnly,
SessionCallable<T> callable)
<T> T transaction(SessionCallable<T> callable)
Copyright © 2020. All rights reserved.