Interface SearchPermissionFieldContributor
public interface SearchPermissionFieldContributor
Indexes new permission checking fields in a search document. These fields can
be matched when returning search results via a corresponding
SearchPermissionFilterContributor.
Register implementations of this interface as OSGi components using the
service SearchPermissionFieldContributor.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcontribute(com.liferay.portal.kernel.search.Document document, String className, long classPK) Contributes permission checking fields to the search document.
-
Method Details
-
contribute
Contributes permission checking fields to the search document.- Parameters:
document- the document being indexedclassName- the class name of the entity being indexedclassPK- the primary key of the entity being indexed
-