/** * 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.exportimport.kernel.service.persistence; import aQute.bnd.annotation.ProviderType; import com.liferay.exportimport.kernel.model.ExportImportConfiguration; import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; import com.liferay.portal.kernel.dao.orm.DynamicQuery; import com.liferay.portal.kernel.service.ServiceContext; import com.liferay.portal.kernel.util.OrderByComparator; import com.liferay.portal.kernel.util.ReferenceRegistry; import java.util.List; /** * The persistence utility for the export import configuration service. This utility wraps {@link com.liferay.portlet.exportimport.service.persistence.impl.ExportImportConfigurationPersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. * * <p> * Caching information and settings can be found in <code>portal.properties</code> * </p> * * @author Brian Wing Shun Chan * @see ExportImportConfigurationPersistence * @see com.liferay.portlet.exportimport.service.persistence.impl.ExportImportConfigurationPersistenceImpl * @generated */ @ProviderType public class ExportImportConfigurationUtil { /* * NOTE FOR DEVELOPERS: * * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. */ /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache() */ public static void clearCache() { getPersistence().clearCache(); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#clearCache(com.liferay.portal.kernel.model.BaseModel) */ public static void clearCache( ExportImportConfiguration exportImportConfiguration) { getPersistence().clearCache(exportImportConfiguration); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) */ public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { return getPersistence().countWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) */ public static List<ExportImportConfiguration> findWithDynamicQuery( DynamicQuery dynamicQuery) { return getPersistence().findWithDynamicQuery(dynamicQuery); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) */ public static List<ExportImportConfiguration> findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end) { return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) */ public static List<ExportImportConfiguration> findWithDynamicQuery( DynamicQuery dynamicQuery, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .findWithDynamicQuery(dynamicQuery, start, end, orderByComparator); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel) */ public static ExportImportConfiguration update( ExportImportConfiguration exportImportConfiguration) { return getPersistence().update(exportImportConfiguration); } /** * @see com.liferay.portal.kernel.service.persistence.BasePersistence#update(com.liferay.portal.kernel.model.BaseModel, ServiceContext) */ public static ExportImportConfiguration update( ExportImportConfiguration exportImportConfiguration, ServiceContext serviceContext) { return getPersistence().update(exportImportConfiguration, serviceContext); } /** * Returns all the export import configurations where groupId = ?. * * @param groupId the group ID * @return the matching export import configurations */ public static List<ExportImportConfiguration> findByGroupId(long groupId) { return getPersistence().findByGroupId(groupId); } /** * Returns a range of all the export import configurations where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @return the range of matching export import configurations */ public static List<ExportImportConfiguration> findByGroupId(long groupId, int start, int end) { return getPersistence().findByGroupId(groupId, start, end); } /** * Returns an ordered range of all the export import configurations where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByGroupId(long groupId, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .findByGroupId(groupId, start, end, orderByComparator); } /** * Returns an ordered range of all the export import configurations where groupId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByGroupId(long groupId, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByGroupId(groupId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first export import configuration in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByGroupId_First(long groupId, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence().findByGroupId_First(groupId, orderByComparator); } /** * Returns the first export import configuration in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByGroupId_First(long groupId, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence().fetchByGroupId_First(groupId, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByGroupId_Last(long groupId, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence().findByGroupId_Last(groupId, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByGroupId_Last(long groupId, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); } /** * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ?. * * @param exportImportConfigurationId the primary key of the current export import configuration * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next export import configuration * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration[] findByGroupId_PrevAndNext( long exportImportConfigurationId, long groupId, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByGroupId_PrevAndNext(exportImportConfigurationId, groupId, orderByComparator); } /** * Removes all the export import configurations where groupId = ? from the database. * * @param groupId the group ID */ public static void removeByGroupId(long groupId) { getPersistence().removeByGroupId(groupId); } /** * Returns the number of export import configurations where groupId = ?. * * @param groupId the group ID * @return the number of matching export import configurations */ public static int countByGroupId(long groupId) { return getPersistence().countByGroupId(groupId); } /** * Returns all the export import configurations where companyId = ?. * * @param companyId the company ID * @return the matching export import configurations */ public static List<ExportImportConfiguration> findByCompanyId( long companyId) { return getPersistence().findByCompanyId(companyId); } /** * Returns a range of all the export import configurations where companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param companyId the company ID * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @return the range of matching export import configurations */ public static List<ExportImportConfiguration> findByCompanyId( long companyId, int start, int end) { return getPersistence().findByCompanyId(companyId, start, end); } /** * Returns an ordered range of all the export import configurations where companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param companyId the company ID * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByCompanyId( long companyId, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .findByCompanyId(companyId, start, end, orderByComparator); } /** * Returns an ordered range of all the export import configurations where companyId = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param companyId the company ID * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByCompanyId( long companyId, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByCompanyId(companyId, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first export import configuration in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByCompanyId_First( long companyId, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByCompanyId_First(companyId, orderByComparator); } /** * Returns the first export import configuration in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByCompanyId_First( long companyId, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .fetchByCompanyId_First(companyId, orderByComparator); } /** * Returns the last export import configuration in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByCompanyId_Last( long companyId, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByCompanyId_Last(companyId, orderByComparator); } /** * Returns the last export import configuration in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByCompanyId_Last( long companyId, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .fetchByCompanyId_Last(companyId, orderByComparator); } /** * Returns the export import configurations before and after the current export import configuration in the ordered set where companyId = ?. * * @param exportImportConfigurationId the primary key of the current export import configuration * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next export import configuration * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration[] findByCompanyId_PrevAndNext( long exportImportConfigurationId, long companyId, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByCompanyId_PrevAndNext(exportImportConfigurationId, companyId, orderByComparator); } /** * Removes all the export import configurations where companyId = ? from the database. * * @param companyId the company ID */ public static void removeByCompanyId(long companyId) { getPersistence().removeByCompanyId(companyId); } /** * Returns the number of export import configurations where companyId = ?. * * @param companyId the company ID * @return the number of matching export import configurations */ public static int countByCompanyId(long companyId) { return getPersistence().countByCompanyId(companyId); } /** * Returns all the export import configurations where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @return the matching export import configurations */ public static List<ExportImportConfiguration> findByG_T(long groupId, int type) { return getPersistence().findByG_T(groupId, type); } /** * Returns a range of all the export import configurations where groupId = ? and type = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param type the type * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @return the range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_T(long groupId, int type, int start, int end) { return getPersistence().findByG_T(groupId, type, start, end); } /** * Returns an ordered range of all the export import configurations where groupId = ? and type = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param type the type * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_T(long groupId, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .findByG_T(groupId, type, start, end, orderByComparator); } /** * Returns an ordered range of all the export import configurations where groupId = ? and type = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param type the type * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_T(long groupId, int type, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_T(groupId, type, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first export import configuration in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByG_T_First(long groupId, int type, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence().findByG_T_First(groupId, type, orderByComparator); } /** * Returns the first export import configuration in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByG_T_First(long groupId, int type, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .fetchByG_T_First(groupId, type, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByG_T_Last(long groupId, int type, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence().findByG_T_Last(groupId, type, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByG_T_Last(long groupId, int type, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence().fetchByG_T_Last(groupId, type, orderByComparator); } /** * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and type = ?. * * @param exportImportConfigurationId the primary key of the current export import configuration * @param groupId the group ID * @param type the type * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next export import configuration * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration[] findByG_T_PrevAndNext( long exportImportConfigurationId, long groupId, int type, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByG_T_PrevAndNext(exportImportConfigurationId, groupId, type, orderByComparator); } /** * Removes all the export import configurations where groupId = ? and type = ? from the database. * * @param groupId the group ID * @param type the type */ public static void removeByG_T(long groupId, int type) { getPersistence().removeByG_T(groupId, type); } /** * Returns the number of export import configurations where groupId = ? and type = ?. * * @param groupId the group ID * @param type the type * @return the number of matching export import configurations */ public static int countByG_T(long groupId, int type) { return getPersistence().countByG_T(groupId, type); } /** * Returns all the export import configurations where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the matching export import configurations */ public static List<ExportImportConfiguration> findByG_S(long groupId, int status) { return getPersistence().findByG_S(groupId, status); } /** * Returns a range of all the export import configurations where groupId = ? and status = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param status the status * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @return the range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_S(long groupId, int status, int start, int end) { return getPersistence().findByG_S(groupId, status, start, end); } /** * Returns an ordered range of all the export import configurations where groupId = ? and status = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param status the status * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_S(long groupId, int status, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .findByG_S(groupId, status, start, end, orderByComparator); } /** * Returns an ordered range of all the export import configurations where groupId = ? and status = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param status the status * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_S(long groupId, int status, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_S(groupId, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first export import configuration in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByG_S_First(long groupId, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByG_S_First(groupId, status, orderByComparator); } /** * Returns the first export import configuration in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByG_S_First(long groupId, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .fetchByG_S_First(groupId, status, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByG_S_Last(long groupId, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByG_S_Last(groupId, status, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByG_S_Last(long groupId, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .fetchByG_S_Last(groupId, status, orderByComparator); } /** * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and status = ?. * * @param exportImportConfigurationId the primary key of the current export import configuration * @param groupId the group ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next export import configuration * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration[] findByG_S_PrevAndNext( long exportImportConfigurationId, long groupId, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByG_S_PrevAndNext(exportImportConfigurationId, groupId, status, orderByComparator); } /** * Removes all the export import configurations where groupId = ? and status = ? from the database. * * @param groupId the group ID * @param status the status */ public static void removeByG_S(long groupId, int status) { getPersistence().removeByG_S(groupId, status); } /** * Returns the number of export import configurations where groupId = ? and status = ?. * * @param groupId the group ID * @param status the status * @return the number of matching export import configurations */ public static int countByG_S(long groupId, int status) { return getPersistence().countByG_S(groupId, status); } /** * Returns all the export import configurations where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @return the matching export import configurations */ public static List<ExportImportConfiguration> findByG_T_S(long groupId, int type, int status) { return getPersistence().findByG_T_S(groupId, type, status); } /** * Returns a range of all the export import configurations where groupId = ? and type = ? and status = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @return the range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_T_S(long groupId, int type, int status, int start, int end) { return getPersistence().findByG_T_S(groupId, type, status, start, end); } /** * Returns an ordered range of all the export import configurations where groupId = ? and type = ? and status = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_T_S(long groupId, int type, int status, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .findByG_T_S(groupId, type, status, start, end, orderByComparator); } /** * Returns an ordered range of all the export import configurations where groupId = ? and type = ? and status = ?. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param groupId the group ID * @param type the type * @param status the status * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching export import configurations */ public static List<ExportImportConfiguration> findByG_T_S(long groupId, int type, int status, int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findByG_T_S(groupId, type, status, start, end, orderByComparator, retrieveFromCache); } /** * Returns the first export import configuration in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByG_T_S_First(long groupId, int type, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByG_T_S_First(groupId, type, status, orderByComparator); } /** * Returns the first export import configuration in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByG_T_S_First(long groupId, int type, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .fetchByG_T_S_First(groupId, type, status, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration * @throws NoSuchConfigurationException if a matching export import configuration could not be found */ public static ExportImportConfiguration findByG_T_S_Last(long groupId, int type, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByG_T_S_Last(groupId, type, status, orderByComparator); } /** * Returns the last export import configuration in the ordered set where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found */ public static ExportImportConfiguration fetchByG_T_S_Last(long groupId, int type, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence() .fetchByG_T_S_Last(groupId, type, status, orderByComparator); } /** * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and type = ? and status = ?. * * @param exportImportConfigurationId the primary key of the current export import configuration * @param groupId the group ID * @param type the type * @param status the status * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the previous, current, and next export import configuration * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration[] findByG_T_S_PrevAndNext( long exportImportConfigurationId, long groupId, int type, int status, OrderByComparator<ExportImportConfiguration> orderByComparator) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence() .findByG_T_S_PrevAndNext(exportImportConfigurationId, groupId, type, status, orderByComparator); } /** * Removes all the export import configurations where groupId = ? and type = ? and status = ? from the database. * * @param groupId the group ID * @param type the type * @param status the status */ public static void removeByG_T_S(long groupId, int type, int status) { getPersistence().removeByG_T_S(groupId, type, status); } /** * Returns the number of export import configurations where groupId = ? and type = ? and status = ?. * * @param groupId the group ID * @param type the type * @param status the status * @return the number of matching export import configurations */ public static int countByG_T_S(long groupId, int type, int status) { return getPersistence().countByG_T_S(groupId, type, status); } /** * Caches the export import configuration in the entity cache if it is enabled. * * @param exportImportConfiguration the export import configuration */ public static void cacheResult( ExportImportConfiguration exportImportConfiguration) { getPersistence().cacheResult(exportImportConfiguration); } /** * Caches the export import configurations in the entity cache if it is enabled. * * @param exportImportConfigurations the export import configurations */ public static void cacheResult( List<ExportImportConfiguration> exportImportConfigurations) { getPersistence().cacheResult(exportImportConfigurations); } /** * Creates a new export import configuration with the primary key. Does not add the export import configuration to the database. * * @param exportImportConfigurationId the primary key for the new export import configuration * @return the new export import configuration */ public static ExportImportConfiguration create( long exportImportConfigurationId) { return getPersistence().create(exportImportConfigurationId); } /** * Removes the export import configuration with the primary key from the database. Also notifies the appropriate model listeners. * * @param exportImportConfigurationId the primary key of the export import configuration * @return the export import configuration that was removed * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration remove( long exportImportConfigurationId) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence().remove(exportImportConfigurationId); } public static ExportImportConfiguration updateImpl( ExportImportConfiguration exportImportConfiguration) { return getPersistence().updateImpl(exportImportConfiguration); } /** * Returns the export import configuration with the primary key or throws a {@link NoSuchConfigurationException} if it could not be found. * * @param exportImportConfigurationId the primary key of the export import configuration * @return the export import configuration * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration findByPrimaryKey( long exportImportConfigurationId) throws com.liferay.exportimport.kernel.exception.NoSuchConfigurationException { return getPersistence().findByPrimaryKey(exportImportConfigurationId); } /** * Returns the export import configuration with the primary key or returns <code>null</code> if it could not be found. * * @param exportImportConfigurationId the primary key of the export import configuration * @return the export import configuration, or <code>null</code> if a export import configuration with the primary key could not be found */ public static ExportImportConfiguration fetchByPrimaryKey( long exportImportConfigurationId) { return getPersistence().fetchByPrimaryKey(exportImportConfigurationId); } public static java.util.Map<java.io.Serializable, ExportImportConfiguration> fetchByPrimaryKeys( java.util.Set<java.io.Serializable> primaryKeys) { return getPersistence().fetchByPrimaryKeys(primaryKeys); } /** * Returns all the export import configurations. * * @return the export import configurations */ public static List<ExportImportConfiguration> findAll() { return getPersistence().findAll(); } /** * Returns a range of all the export import configurations. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @return the range of export import configurations */ public static List<ExportImportConfiguration> findAll(int start, int end) { return getPersistence().findAll(start, end); } /** * Returns an ordered range of all the export import configurations. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @return the ordered range of export import configurations */ public static List<ExportImportConfiguration> findAll(int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator) { return getPersistence().findAll(start, end, orderByComparator); } /** * Returns an ordered range of all the export import configurations. * * <p> * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link ExportImportConfigurationModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. * </p> * * @param start the lower bound of the range of export import configurations * @param end the upper bound of the range of export import configurations (not inclusive) * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of export import configurations */ public static List<ExportImportConfiguration> findAll(int start, int end, OrderByComparator<ExportImportConfiguration> orderByComparator, boolean retrieveFromCache) { return getPersistence() .findAll(start, end, orderByComparator, retrieveFromCache); } /** * Removes all the export import configurations from the database. */ public static void removeAll() { getPersistence().removeAll(); } /** * Returns the number of export import configurations. * * @return the number of export import configurations */ public static int countAll() { return getPersistence().countAll(); } public static java.util.Set<java.lang.String> getBadColumnNames() { return getPersistence().getBadColumnNames(); } public static ExportImportConfigurationPersistence getPersistence() { if (_persistence == null) { _persistence = (ExportImportConfigurationPersistence)PortalBeanLocatorUtil.locate(ExportImportConfigurationPersistence.class.getName()); ReferenceRegistry.registerReference(ExportImportConfigurationUtil.class, "_persistence"); } return _persistence; } private static ExportImportConfigurationPersistence _persistence; }