concept responsibility in category design

appears as: responsibilities, responsibility
Object Design Style Guide

This is an excerpt from Manning's book Object Design Style Guide.

Situations like this usually require a redistribution of responsibilities. The object that can retrieve a User entity might just as well be able to persist any changes that are made to it. In fact, such an object would follow an established pattern, the Repository pattern. Since we already have a UserRepository class, it would make sense to add a flush(), or (now that we have the opportunity to choose another name) save() method to it:

The solution is to divide the entity’s responsibilities. First, we’ll create a new object that can be used to retrieve information about a purchase order. Let’s call it Purchase-OrderForStockReport.