M
- EDMX model typepublic interface MetaDataAccessor<M>
Modifier and Type | Method and Description |
---|---|
void |
evict(String tenantId)
evicts CDS and EDMX models for the specified tenant
|
CdsModel |
getCdsModel(ModelId modelId,
int maxAgeSeconds) |
default CdsModel |
getCdsModel(String tenantId) |
M |
getEdmx(ModelId modelId,
int maxAgeSeconds) |
default M |
getEdmx(String tenantId,
String serviceName,
String language) |
default void |
refresh(String tenantId)
Synchronously CDS and EDMX models for the specified tenant if they have
changed
|
void |
refresh(String tenantId,
int maxAgeSeconds)
TODO sync Rereads CDS and EDMX models for the specified tenant if they have
changed
|
default M getEdmx(String tenantId, String serviceName, String language)
serviceName
- service name, can be empty or nulllanguage
- language, can be empty or nullM getEdmx(ModelId modelId, int maxAgeSeconds)
modelId
- model identifiermaxAgeSeconds
- maximum acceptable age of resourcedefault CdsModel getCdsModel(String tenantId)
tenantId
- tenant identifierCdsModel getCdsModel(ModelId modelId, int maxAgeSeconds)
modelId
- model identifiermaxAgeSeconds
- maximum acceptable age of resourcedefault void refresh(String tenantId)
tenantId
- tenant identifiervoid refresh(String tenantId, int maxAgeSeconds)
tenantId
- tenant identifiermaxAgeSeconds
- maximum acceptable age of resourcevoid evict(String tenantId)
tenantId
- tenant identifierCopyright © 2021 SAP. All rights reserved.