
com.liferay.commerce.term.internal.search.CommerceTermEntrySearcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.commerce.term.service
Show all versions of com.liferay.commerce.term.service
Liferay Commerce Term Service
/**
* SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/
package com.liferay.commerce.term.internal.search;
import com.liferay.commerce.term.model.CommerceTermEntry;
import com.liferay.portal.kernel.search.BaseSearcher;
import com.liferay.portal.kernel.search.Field;
import org.osgi.service.component.annotations.Component;
/**
* @author Alessio Antonio Rendina
*/
@Component(
property = "model.class.name=com.liferay.commerce.term.model.CommerceTermEntry",
service = BaseSearcher.class
)
public class CommerceTermEntrySearcher extends BaseSearcher {
public CommerceTermEntrySearcher() {
setDefaultSelectedFieldNames(
Field.COMPANY_ID, Field.ENTRY_CLASS_NAME, Field.ENTRY_CLASS_PK,
Field.NAME);
setFilterSearch(true);
setPermissionAware(true);
}
@Override
public String getClassName() {
return _CLASS_NAME;
}
private static final String _CLASS_NAME = CommerceTermEntry.class.getName();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy