New publications

TODO:

* [x] tests
why its replaced by DQL ? Shouldnt we change it also in repository and use one method from repository ?