Class MCRObjectInfoEntityQueryResolver
java.lang.Object
org.mycore.backend.jpa.objectinfo.MCRObjectInfoEntityQueryResolver
- All Implemented Interfaces:
MCRObjectQueryResolver
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.mycore.datamodel.objectinfo.MCRObjectQueryResolver
MCRObjectQueryResolver.InstanceHolder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyLastId
(MCRObjectQuery query, CriteriaBuilder criteriaBuilder, CriteriaQuery<MCRObjectInfoEntity> criteriaQuery, Root<MCRObjectInfoEntity> source, List<Predicate> filters) protected void
applySort
(MCRObjectQuery query, CriteriaBuilder criteriaBuilder, CriteriaQuery<MCRObjectInfoEntity> criteriaQuery, Root<MCRObjectInfoEntity> source) protected TypedQuery<MCRObjectInfoEntity>
convertQuery
(MCRObjectQuery query) int
count
(MCRObjectQuery objectQuery) Gets the count of object info which match the restrictions of query ignoring limit and offsetgetIdDates
(MCRObjectQuery objectQuery) Gets all the object info which match the restrictions of the querygetIds
(MCRObjectQuery objectQuery) Gets all object info which match the restrictions of the querygetInfos
(MCRObjectQuery objectQuery) Gets all the object info which match the restrictions of the query
-
Constructor Details
-
MCRObjectInfoEntityQueryResolver
public MCRObjectInfoEntityQueryResolver()
-
-
Method Details
-
convertQuery
-
applySort
protected void applySort(MCRObjectQuery query, CriteriaBuilder criteriaBuilder, CriteriaQuery<MCRObjectInfoEntity> criteriaQuery, Root<MCRObjectInfoEntity> source) -
applyLastId
protected void applyLastId(MCRObjectQuery query, CriteriaBuilder criteriaBuilder, CriteriaQuery<MCRObjectInfoEntity> criteriaQuery, Root<MCRObjectInfoEntity> source, List<Predicate> filters) -
getIds
Description copied from interface:MCRObjectQueryResolver
Gets all object info which match the restrictions of the query- Specified by:
getIds
in interfaceMCRObjectQueryResolver
- Parameters:
objectQuery
- the query- Returns:
- the ids of the objects
-
getIdDates
Description copied from interface:MCRObjectQueryResolver
Gets all the object info which match the restrictions of the query- Specified by:
getIdDates
in interfaceMCRObjectQueryResolver
- Parameters:
objectQuery
- the query- Returns:
- the ids and dates of the object info
-
getInfos
Description copied from interface:MCRObjectQueryResolver
Gets all the object info which match the restrictions of the query- Specified by:
getInfos
in interfaceMCRObjectQueryResolver
- Parameters:
objectQuery
- the query- Returns:
- the info
-
count
Description copied from interface:MCRObjectQueryResolver
Gets the count of object info which match the restrictions of query ignoring limit and offset- Specified by:
count
in interfaceMCRObjectQueryResolver
- Parameters:
objectQuery
- the query- Returns:
- the count of the object info
-