All,

I am currently working on RAVE-1010 
(https://issues.apache.org/jira/browse/RAVE-1010) updating the service layers 
to support crud operations from the rest API.

I was planning to add getAll, getCountAll, and getLimitedList to the services 
with respective repositories who also implement those methods.

Right now some of the services (WidgetService) return SearchResult objects, 
while others (CategoryService) return List<Category>.

Should I be switching all services to return SearchResult objects?

Also I noticed on some of the methods in interfaces for the services have 
spring annotations of @PostAuthorize or @PostFilter.

I was wondering what the appropriate use cases are as they are not on every 
service interface, nor on every method in the interface.

Thanks,
Dan Gornstein

Reply via email to