Class ListDocumentsUseCase
java.lang.Object
com.irurueta.authserver.bff.application.documents.ListDocumentsUseCase
Use case that lists the documents of the signed-in user. Which documents the user sees (their own, or every
document for an administrator) is decided by the resource server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DocumentGatewayPort to the documents on the resource server. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
documentGateway
Port to the documents on the resource server.
-
-
Constructor Details
-
ListDocumentsUseCase
public ListDocumentsUseCase()
-
-
Method Details
-
execute
Lists the documents of the signed-in user.- Returns:
- the documents, empty when there are none.
-