public interface SearchPermissionFieldContributor
SearchPermissionFilterContributor
.
Register implementations of this interface as OSGi components using the
service SearchPermissionFieldContributor
.
Modifier and Type | Method and Description |
---|---|
void |
contribute(com.liferay.portal.kernel.search.Document document,
java.lang.String className,
long classPK)
Contributes permission checking fields to the search document.
|
void contribute(com.liferay.portal.kernel.search.Document document, java.lang.String className, long classPK)
document
- the document being indexedclassName
- the class name of the entity being indexedclassPK
- the primary key of the entity being indexed