@FunctionalInterface
public interface SearchPermissionFilterContributor
SearchPermissionFieldContributor
.
Register implementations of this interface as OSGi components using the
service SearchPermissionFilterContributor
.
Modifier and Type | Method and Description |
---|---|
void |
contribute(com.liferay.portal.kernel.search.filter.BooleanFilter booleanFilter,
long companyId,
long[] groupIds,
long userId,
com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
java.lang.String className)
Contributes filters to check against indexed fields.
|
void contribute(com.liferay.portal.kernel.search.filter.BooleanFilter booleanFilter, long companyId, long[] groupIds, long userId, com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker, java.lang.String className)
booleanFilter
- the parent search result permission checking filtercompanyId
- the primary key of the company in the current search
contextgroupIds
- the primary keys of the groups in the current search
contextuserId
- the primary key of the user in the current search contextpermissionChecker
- the permission checker in useclassName
- the class name of the entity being permission checked