java.lang.Object
com.irurueta.authserver.serviceclient.application.documents.ListDocumentsUseCase

@Service public class ListDocumentsUseCase extends Object
Use case that lists the documents the service client may see with its own (client credentials) token.
  • Field Details

    • documentGateway

      private final DocumentGateway documentGateway
      Port to the documents on the resource server.
  • Constructor Details

    • ListDocumentsUseCase

      public ListDocumentsUseCase()
  • Method Details

    • execute

      public List<Document> execute()
      Lists the documents the service client may see.
      Returns:
      the documents, empty when there are none.