public class DefaultSearchRestrictionDao extends DefaultGenericDao<SearchRestrictionModel> implements SearchRestrictionDao
SearchRestrictionDao interface.| Constructor and Description |
|---|
DefaultSearchRestrictionDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<SearchRestrictionModel> |
findActiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal,
boolean includePrincipalGroups,
java.util.Collection<ComposedTypeModel> types)
Finds active
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. |
java.util.List<SearchRestrictionModel> |
findInactiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal,
boolean includePrincipalGroups,
java.util.Collection<ComposedTypeModel> types)
Finds all
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. |
java.util.List<SearchRestrictionModel> |
findSearchRestrictionsByPrincipalAndType(PrincipalModel principal,
boolean includePrincipalGroups,
java.util.Collection<ComposedTypeModel> types)
Finds all
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. |
java.util.List<SearchRestrictionModel> |
findSearchRestrictionsByType(ComposedTypeModel type)
Finds all
SearchRestrictionModel objects for ComposedTypeModel |
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServicepublic java.util.List<SearchRestrictionModel> findActiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal, boolean includePrincipalGroups, java.util.Collection<ComposedTypeModel> types)
SearchRestrictionDaoSearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. If includePrincipalGroups is true then also all user
groups for PrincipalModel will be used in the search.findActiveSearchRestrictionsByPrincipalAndType in interface SearchRestrictionDaoprincipal - the principal for which restrictions will be searched.includePrincipalGroups - determines whether include principal groups in search.types - the collection of ComposedTypeModel objects for which restriction will be obtained.SearchRestrictionModel objects or empty list when no result has been found.public java.util.List<SearchRestrictionModel> findInactiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal, boolean includePrincipalGroups, java.util.Collection<ComposedTypeModel> types)
SearchRestrictionDaoSearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. If includePrincipalGroups is true then also all user
groups for PrincipalModel will be used in the search.findInactiveSearchRestrictionsByPrincipalAndType in interface SearchRestrictionDaoprincipal - the principal for which restrictions will be searched.includePrincipalGroups - determines whether include principal groups in search.types - the collection of ComposedTypeModel objects for which restriction will be obtained.SearchRestrictionModel objects or empty list when no result has been found.public java.util.List<SearchRestrictionModel> findSearchRestrictionsByPrincipalAndType(PrincipalModel principal, boolean includePrincipalGroups, java.util.Collection<ComposedTypeModel> types)
SearchRestrictionDaoSearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. If includePrincipalGroups is true then also all user
groups for PrincipalModel will be used in the search.findSearchRestrictionsByPrincipalAndType in interface SearchRestrictionDaoprincipal - the principal for which restrictions will be searched.includePrincipalGroups - determines whether include principal groups in search.types - the collection of ComposedTypeModel objects for which restriction will be obtained.SearchRestrictionModel objects or empty list when no result has been found.public java.util.List<SearchRestrictionModel> findSearchRestrictionsByType(ComposedTypeModel type)
SearchRestrictionModel objects for ComposedTypeModelfindSearchRestrictionsByType in interface SearchRestrictionDaotype - the ComposedTypeModel object for which restriction will be obtained.SearchRestrictionModel objects or empty list when no result has been found.Copyright © 2018 SAP SE. All Rights Reserved.