Class SavedQueryUserRightsDaoImpl
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<CockpitSavedQueryModel>
-
- de.hybris.platform.cockpit.services.query.daos.impl.DefaultSavedQueryDao
-
- de.hybris.platform.cockpit.services.query.daos.impl.SavedQueryUserRightsDaoImpl
-
- All Implemented Interfaces:
SavedQueryDao,SavedQueryUserRightsDao,GenericDao<CockpitSavedQueryModel>
public class SavedQueryUserRightsDaoImpl extends DefaultSavedQueryDao implements SavedQueryUserRightsDao
Implementation ofSavedQueryUserRightsDao
-
-
Constructor Summary
Constructors Constructor Description SavedQueryUserRightsDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<CockpitSavedQueryModel>findNotSharedQueriesByUser(UserModel userModel)java.util.Collection<CockpitSavedQueryModel>findReadableSavedQueriesByUser(UserModel userModel)Get the readable collection of SavedQueries for user defined inuserModel.java.util.Collection<CockpitSavedQueryModel>findSharedQueriesByUser(UserModel userModel)-
Methods inherited from class de.hybris.platform.cockpit.services.query.daos.impl.DefaultSavedQueryDao
findGlobalSavedQueries, findSavedQueriesByUser
-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.cockpit.services.query.daos.SavedQueryDao
findGlobalSavedQueries, findSavedQueriesByUser
-
-
-
-
Method Detail
-
findReadableSavedQueriesByUser
public java.util.Collection<CockpitSavedQueryModel> findReadableSavedQueriesByUser(UserModel userModel)
Description copied from interface:SavedQueryUserRightsDaoGet the readable collection of SavedQueries for user defined inuserModel. Result collection includes:- queries created by user
- queries which the user can access through privileges
- 'global' queries which do not have assigned user
- Specified by:
findReadableSavedQueriesByUserin interfaceSavedQueryUserRightsDao- Parameters:
userModel- the user model- Returns:
- the readable collection of SavedQueries for user
-
findSharedQueriesByUser
public java.util.Collection<CockpitSavedQueryModel> findSharedQueriesByUser(UserModel userModel)
- Specified by:
findSharedQueriesByUserin interfaceSavedQueryUserRightsDao
-
findNotSharedQueriesByUser
public java.util.Collection<CockpitSavedQueryModel> findNotSharedQueriesByUser(UserModel userModel)
- Specified by:
findNotSharedQueriesByUserin interfaceSavedQueryUserRightsDao
-
-