Interface SelectionService
- All Known Implementing Classes:
SelectionServiceImpl
public interface SelectionService
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrimaryKeyListresolveEntities(EntitySelectionBean entitySelection) resolveEntities(EntitySelectionBean EntitySelection, boolean ignoreMissingEntities) voidrestrictToSelection(EntitySelectionBean entitySelection, QueryBuilderBase<?, ?> queryBuilder) Restricts the query to the selected entities.
-
Method Details
-
resolveEntities
-
resolveEntities
-
restrictToSelection
Restricts the query to the selected entities. UnlikeresolveEntities(EntitySelectionBean), aSelectionType.QUERYselection (e.g. all entities of a list) is not resolved to its keys: its search conditions are added to the query instead, which is much faster for large selections. Read permissions are therefore only applied as query conditions (like for the count of a list), the selected entities are not checked one by one. A selection with a limit is resolved to its keys.- Throws:
BadRequestException- if the selection is invalid or does not match the entity model of the query
-