Interface SavedQueryUserRightsDao

All Superinterfaces:
SavedQueryDao
All Known Implementing Classes:
SavedQueryUserRightsDaoImpl

public interface SavedQueryUserRightsDao extends SavedQueryDao
Interface that provides methods to deal with saved queries corresponding for user rights.
  • Method Details

    • findReadableSavedQueriesByUser

      Collection<CockpitSavedQueryModel> findReadableSavedQueriesByUser(UserModel userModel)
      Get the readable collection of SavedQueries for user defined in userModel. Result collection includes:
      • queries created by user
      • queries which the user can access through privileges
      • 'global' queries which do not have assigned user
      Parameters:
      userModel - the user model
      Returns:
      the readable collection of SavedQueries for user
    • findSharedQueriesByUser

      Collection<CockpitSavedQueryModel> findSharedQueriesByUser(UserModel userModel)
    • findNotSharedQueriesByUser

      Collection<CockpitSavedQueryModel> findNotSharedQueriesByUser(UserModel userModel)