SuccessChanges

Summary

  1. tsk62 Adds methods services to return data related to paginated results (details)
Commit efd8843457567036b41dbcf6b5e34e29e9069530 by miguel.ferreiro.diaz
tsk62 Adds methods services to return data related to paginated results
The PaginatedResults class has been defined to manage the information of
the ret urned page and the total number of elements returned by the
query without paging
, which helps to compute the total number of page into which the request
data is
divided. In addition, it adds the methods which use the new
PaginatedResults cl ass and it has adapted the methods they were
paginating to make use of the new m ethods created and to avoid
duplicate code. Finally, the PaginatedResults class is not tested due to
being composed uniquely by setters and getters and the resp ective tests
for the new methods have been included in the service layer.
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teama/microstories/service/test/StoryServiceIntegrationTest.java (diff)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/StoryService.java (diff)
The file was addedservice/src/main/java/es/uvigo/esei/dgss/teama/microstories/service/PaginatedResults.java (diff)
The file was modifiedtests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoriesDataset.java (diff)