com.liferay.organizations.internal.search.OrganizationSearcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.organizations.service
Show all versions of com.liferay.organizations.service
Liferay Organizations Service
The newest version!
/**
* 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.organizations.internal.search;
import com.liferay.portal.kernel.model.Organization;
import com.liferay.portal.kernel.search.BaseSearcher;
import com.liferay.portal.kernel.search.Field;
import org.osgi.service.component.annotations.Component;
/**
* @author Igor Fabiano Nazar
* @author Luan Maoski
*/
@Component(
property = "model.class.name=com.liferay.portal.kernel.model.Organization",
service = BaseSearcher.class
)
public class OrganizationSearcher extends BaseSearcher {
public static final String CLASS_NAME = Organization.class.getName();
public OrganizationSearcher() {
setDefaultSelectedFieldNames(
Field.COMPANY_ID, Field.ORGANIZATION_ID, Field.UID);
setPermissionAware(true);
setStagingAware(false);
}
@Override
public String getClassName() {
return CLASS_NAME;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy