All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portal.kernel.service.persistence.OrganizationFinderUtil Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.kernel.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;

/**
 * @author Brian Wing Shun Chan
 * @generated
 */
@ProviderType
public class OrganizationFinderUtil {

	public static int countByKeywords(
		long companyId, long parentOrganizationId,
		String parentOrganizationIdComparator, String keywords, String type,
		Long regionId, Long countryId,
		java.util.LinkedHashMap params) {

		return getFinder().countByKeywords(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			keywords, type, regionId, countryId, params);
	}

	public static int countByO_U(long organizationId, long userId) {
		return getFinder().countByO_U(organizationId, userId);
	}

	public static int countByC_PO_N_T_S_C_Z_R_C(
		long companyId, long parentOrganizationId,
		String parentOrganizationIdComparator, String name, String type,
		String street, String city, String zip, Long regionId, Long countryId,
		java.util.LinkedHashMap params, boolean andOperator) {

		return getFinder().countByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			name, type, street, city, zip, regionId, countryId, params,
			andOperator);
	}

	public static int countByC_PO_N_T_S_C_Z_R_C(
		long companyId, long parentOrganizationId,
		String parentOrganizationIdComparator, String[] names, String type,
		String[] streets, String[] cities, String[] zips, Long regionId,
		Long countryId, java.util.LinkedHashMap params,
		boolean andOperator) {

		return getFinder().countByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			names, type, streets, cities, zips, regionId, countryId, params,
			andOperator);
	}

	public static int countO_ByKeywords(
		long companyId, long parentOrganizationId,
		String parentOrganizationIdComparator, String keywords, String type,
		Long regionId, Long countryId,
		java.util.LinkedHashMap params) {

		return getFinder().countO_ByKeywords(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			keywords, type, regionId, countryId, params);
	}

	public static int countO_ByO_U(long organizationId, long userId) {
		return getFinder().countO_ByO_U(organizationId, userId);
	}

	public static int countO_ByC_PO_N_T_S_C_Z_R_C(
		long companyId, long parentOrganizationId,
		String parentOrganizationIdComparator, String name, String type,
		String street, String city, String zip, Long regionId, Long countryId,
		java.util.LinkedHashMap params, boolean andOperator) {

		return getFinder().countO_ByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			name, type, street, city, zip, regionId, countryId, params,
			andOperator);
	}

	public static int countO_ByC_PO_N_T_S_C_Z_R_C(
		long companyId, long parentOrganizationId,
		String parentOrganizationIdComparator, String[] names, String type,
		String[] streets, String[] cities, String[] zips, Long regionId,
		Long countryId, java.util.LinkedHashMap params,
		boolean andOperator) {

		return getFinder().countO_ByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			names, type, streets, cities, zips, regionId, countryId, params,
			andOperator);
	}

	public static int countO_U_ByC_P(
		long companyId, long parentOrganizationId,
		com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) {

		return getFinder().countO_U_ByC_P(
			companyId, parentOrganizationId, queryDefinition);
	}

	public static java.util.List
		findByKeywords(
			long companyId, long parentOrganizationId,
			String parentOrganizationIdComparator, String keywords, String type,
			Long regionId, Long countryId,
			java.util.LinkedHashMap params, int start, int end,
			com.liferay.portal.kernel.util.OrderByComparator
				 obc) {

		return getFinder().findByKeywords(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			keywords, type, regionId, countryId, params, start, end, obc);
	}

	public static java.util.List
		findByNoAssets() {

		return getFinder().findByNoAssets();
	}

	public static java.util.List findByC_P(
		long companyId, long parentOrganizationId, long previousOrganizationId,
		int size) {

		return getFinder().findByC_P(
			companyId, parentOrganizationId, previousOrganizationId, size);
	}

	public static java.util.List
		findByC_PO_N_T_S_C_Z_R_C(
			long companyId, long parentOrganizationId,
			String parentOrganizationIdComparator, String name, String type,
			String street, String city, String zip, Long regionId,
			Long countryId, java.util.LinkedHashMap params,
			boolean andOperator, int start, int end,
			com.liferay.portal.kernel.util.OrderByComparator
				 obc) {

		return getFinder().findByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			name, type, street, city, zip, regionId, countryId, params,
			andOperator, start, end, obc);
	}

	public static java.util.List
		findByC_PO_N_T_S_C_Z_R_C(
			long companyId, long parentOrganizationId,
			String parentOrganizationIdComparator, String[] names, String type,
			String[] streets, String[] cities, String[] zips, Long regionId,
			Long countryId, java.util.LinkedHashMap params,
			boolean andOperator, int start, int end,
			com.liferay.portal.kernel.util.OrderByComparator
				 obc) {

		return getFinder().findByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			names, type, streets, cities, zips, regionId, countryId, params,
			andOperator, start, end, obc);
	}

	public static java.util.List
		findO_ByKeywords(
			long companyId, long parentOrganizationId,
			String parentOrganizationIdComparator, String keywords, String type,
			Long regionId, Long countryId,
			java.util.LinkedHashMap params, int start, int end,
			com.liferay.portal.kernel.util.OrderByComparator
				 obc) {

		return getFinder().findO_ByKeywords(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			keywords, type, regionId, countryId, params, start, end, obc);
	}

	public static java.util.List
		findO_ByNoAssets() {

		return getFinder().findO_ByNoAssets();
	}

	public static java.util.List findO_ByC_P(
		long companyId, long parentOrganizationId, long previousOrganizationId,
		int size) {

		return getFinder().findO_ByC_P(
			companyId, parentOrganizationId, previousOrganizationId, size);
	}

	public static java.util.List
		findO_ByC_PO_N_T_S_C_Z_R_C(
			long companyId, long parentOrganizationId,
			String parentOrganizationIdComparator, String name, String type,
			String street, String city, String zip, Long regionId,
			Long countryId, java.util.LinkedHashMap params,
			boolean andOperator, int start, int end,
			com.liferay.portal.kernel.util.OrderByComparator
				 obc) {

		return getFinder().findO_ByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			name, type, street, city, zip, regionId, countryId, params,
			andOperator, start, end, obc);
	}

	public static java.util.List
		findO_ByC_PO_N_T_S_C_Z_R_C(
			long companyId, long parentOrganizationId,
			String parentOrganizationIdComparator, String[] names, String type,
			String[] streets, String[] cities, String[] zips, Long regionId,
			Long countryId, java.util.LinkedHashMap params,
			boolean andOperator, int start, int end,
			com.liferay.portal.kernel.util.OrderByComparator
				 obc) {

		return getFinder().findO_ByC_PO_N_T_S_C_Z_R_C(
			companyId, parentOrganizationId, parentOrganizationIdComparator,
			names, type, streets, cities, zips, regionId, countryId, params,
			andOperator, start, end, obc);
	}

	public static java.util.List findO_U_ByC_P(
		long companyId, long parentOrganizationId,
		com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition) {

		return getFinder().findO_U_ByC_P(
			companyId, parentOrganizationId, queryDefinition);
	}

	public static OrganizationFinder getFinder() {
		if (_finder == null) {
			_finder = (OrganizationFinder)PortalBeanLocatorUtil.locate(
				OrganizationFinder.class.getName());
		}

		return _finder;
	}

	public void setFinder(OrganizationFinder finder) {
		_finder = finder;
	}

	private static OrganizationFinder _finder;

}