Interface EntityModelServiceLocal
public interface EntityModelServiceLocal
Read-only structural metadata of the model assigned to the current authorized project session.
-
Method Summary
Modifier and TypeMethodDescriptiongetEntities(int offset, int limit) Returns entities sorted by identifier.Returns one entity of the session's model; an unknown identifier returns Optional.empty().Returns a detached model description.
-
Method Details
-
getEntityModel
EntityModelDescription getEntityModel()Returns a detached model description. Tenant, project and model are resolved from SessionApi. Labels/descriptions are source text: the SDK does not provide localized model labels. Connector configuration, method calls, test cases and content instances are excluded.- Throws:
EntityModelServiceException- for missing authorization, unavailable source or invalid model
-
getEntity
Returns one entity of the session's model; an unknown identifier returns Optional.empty(). -
getEntities
Returns entities sorted by identifier. Offset is nonnegative; limit is 1..1000. Each call reads current configuration; separate pages are not a transactional snapshot.
-