public interface SearchRestrictionDao
| Modifier and Type | Method and Description |
|---|---|
List<SearchRestrictionModel> |
findActiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal,
boolean includePrincipalGroups,
Collection<ComposedTypeModel> types)
Finds active
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. |
List<SearchRestrictionModel> |
findInactiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal,
boolean includePrincipalGroups,
Collection<ComposedTypeModel> types)
Finds all
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. |
List<SearchRestrictionModel> |
findSearchRestrictionsByPrincipalAndType(PrincipalModel principal,
boolean includePrincipalGroups,
Collection<ComposedTypeModel> types)
Finds all
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. |
List<SearchRestrictionModel> |
findSearchRestrictionsByType(ComposedTypeModel type)
Finds all
SearchRestrictionModel objects for ComposedTypeModel |
List<SearchRestrictionModel> findSearchRestrictionsByPrincipalAndType(PrincipalModel principal, boolean includePrincipalGroups, Collection<ComposedTypeModel> types)
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. If includePrincipalGroups is true then also all user
groups for PrincipalModel will be used in the search.principal - 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.List<SearchRestrictionModel> findSearchRestrictionsByType(ComposedTypeModel type)
SearchRestrictionModel objects for ComposedTypeModeltype - the ComposedTypeModel object for which restriction will be obtained.SearchRestrictionModel objects or empty list when no result has been found.List<SearchRestrictionModel> findActiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal, boolean includePrincipalGroups, Collection<ComposedTypeModel> types)
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. If includePrincipalGroups is true then also all user
groups for PrincipalModel will be used in the search.principal - 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.List<SearchRestrictionModel> findInactiveSearchRestrictionsByPrincipalAndType(PrincipalModel principal, boolean includePrincipalGroups, Collection<ComposedTypeModel> types)
SearchRestrictionModel objects for PrincipalModel and
ComposedTypeModel. If includePrincipalGroups is true then also all user
groups for PrincipalModel will be used in the search.principal - 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.Copyright © 2017 SAP SE. All Rights Reserved.