Replies: 2 comments 4 replies
-
We had talked about that but haven't made a decission yet. My vote would be in favor of separate. the pagination object hold an otherwise complete DTO. However, I'm not sure quite how well this works for things like Rating tables. Arguably it's not super difficult to recombine, and that COULD be handled as part of the cwms-radar-client that's being created. But it is a concern. It's also possible we'll just use a different mechanism for the ratings and don't need to paginate them. |
Beta Was this translation helpful? Give feedback.
-
There are several classes that inherit from CwmsDTOPaginated (e.g. Pools, Clobs, Blobs, Catalog, TimeSeries ). All of those classes, except for TimeSeries, contains an inner list of some DTO type. Clobs, for example, has a List clobs field. The Clob DTO doesn't know or care about pagination. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is pagination (page, nextPage, total, pageSize) staying inside TimeSeries? Or should it be moved above or next-to the TimeSeries object in the results?
Beta Was this translation helpful? Give feedback.
All reactions