Interface LockedDocumentsQuery
- All Superinterfaces:
QueryBuilder<DocumentLocks>
Interface for building queries to retrieve
DocumentLocks entities.
This interface extends QueryBuilder and provides methods to construct queries
based on attributes of a DocumentLocks, such as ID, document ID, user information,
and timestamps. It supports method chaining for constructing complex queries.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondocumentId(DocumentId documentId) Sets the document ID associated with theDocumentLocksin the query.lockingSessionId(String lockingSessionId) Sets the project associated with theDocumentLocksin the query.Sets the user who acquired theDocumentLocksin the query.openedFrom(LocalDateTime openedFrom) Sets the starting timestamp for when some of theDocumentLockswere acquired.openedUntil(LocalDateTime openedUntil) Sets the ending timestamp for when some of theDocumentLockswere acquired.Sets the project associated with theDocumentLocksin the query.Sets the project associated with theDocumentLocksin the query.Methods inherited from interface com.priint.pubserverapi.query.QueryBuilder
list, singleResult
-
Method Details
-
documentId
Sets the document ID associated with theDocumentLocksin the query.- Parameters:
documentId- the ID of the document associated with the checked-out record- Returns:
- the current
LockedDocumentsQueryinstance for method chaining
-
tenant
Sets the project associated with theDocumentLocksin the query.- Parameters:
tenant- identifier of the tenant the locked document belongs to- Returns:
- the current
LockedDocumentsQueryinstance for method chaining
-
project
Sets the project associated with theDocumentLocksin the query.- Parameters:
project- identifier of the project the checked-out document belongs to- Returns:
- the current
LockedDocumentsQueryinstance for method chaining
-
openedBy
Sets the user who acquired theDocumentLocksin the query.- Parameters:
openedBy- the username or identifier of the user who opened the document- Returns:
- the current
LockedDocumentsQueryinstance for method chaining
-
openedFrom
Sets the starting timestamp for when some of theDocumentLockswere acquired.- Parameters:
openedFrom- the start time to filter documents opened after this time- Returns:
- the current
LockedDocumentsQueryinstance for method chaining
-
openedUntil
Sets the ending timestamp for when some of theDocumentLockswere acquired.- Parameters:
openedUntil- the end time to filter documents opened before this time- Returns:
- the current
LockedDocumentsQueryinstance for method chaining
-
lockingSessionId
Sets the project associated with theDocumentLocksin the query.- Parameters:
lockingSessionId- identifier of the session that created the lock for the document- Returns:
- the current
LockedDocumentsQueryinstance for method chaining
-