BookmarkDataService

public interface BookmarkDataService extends MotechDataService<Bookmark>

Interface for repository that persists simple records and allows CRUD. MotechDataService base class will provide the implementation of this class as well as methods for adding, deleting, saving and finding all instances. In this class we define and custom lookups we may need.

Methods

findBookmarkById

Bookmark findBookmarkById(Long id)

findBookmarksForUser

List<Bookmark> findBookmarksForUser(String externalId)

findBookmarksForUserParams

List<Bookmark> findBookmarksForUserParams(String externalId, QueryParams queryParams)