001 /** 002 * Copyright (c) 2000-present Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 020 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 021 import com.liferay.portal.kernel.util.OrderByComparator; 022 import com.liferay.portal.kernel.util.ReferenceRegistry; 023 import com.liferay.portal.model.ExportImportConfiguration; 024 import com.liferay.portal.service.ServiceContext; 025 026 import java.util.List; 027 028 /** 029 * The persistence utility for the export import configuration service. This utility wraps {@link 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. 030 * 031 * <p> 032 * Caching information and settings can be found in <code>portal.properties</code> 033 * </p> 034 * 035 * @author Brian Wing Shun Chan 036 * @see ExportImportConfigurationPersistence 037 * @see ExportImportConfigurationPersistenceImpl 038 * @generated 039 */ 040 @ProviderType 041 public class ExportImportConfigurationUtil { 042 /* 043 * NOTE FOR DEVELOPERS: 044 * 045 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 046 */ 047 048 /** 049 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 050 */ 051 public static void clearCache() { 052 getPersistence().clearCache(); 053 } 054 055 /** 056 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 057 */ 058 public static void clearCache( 059 ExportImportConfiguration exportImportConfiguration) { 060 getPersistence().clearCache(exportImportConfiguration); 061 } 062 063 /** 064 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 065 */ 066 public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { 067 return getPersistence().countWithDynamicQuery(dynamicQuery); 068 } 069 070 /** 071 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 072 */ 073 public static List<ExportImportConfiguration> findWithDynamicQuery( 074 DynamicQuery dynamicQuery) { 075 return getPersistence().findWithDynamicQuery(dynamicQuery); 076 } 077 078 /** 079 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 080 */ 081 public static List<ExportImportConfiguration> findWithDynamicQuery( 082 DynamicQuery dynamicQuery, int start, int end) { 083 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 084 } 085 086 /** 087 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 088 */ 089 public static List<ExportImportConfiguration> findWithDynamicQuery( 090 DynamicQuery dynamicQuery, int start, int end, 091 OrderByComparator<ExportImportConfiguration> orderByComparator) { 092 return getPersistence() 093 .findWithDynamicQuery(dynamicQuery, start, end, 094 orderByComparator); 095 } 096 097 /** 098 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 099 */ 100 public static ExportImportConfiguration update( 101 ExportImportConfiguration exportImportConfiguration) { 102 return getPersistence().update(exportImportConfiguration); 103 } 104 105 /** 106 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 107 */ 108 public static ExportImportConfiguration update( 109 ExportImportConfiguration exportImportConfiguration, 110 ServiceContext serviceContext) { 111 return getPersistence().update(exportImportConfiguration, serviceContext); 112 } 113 114 /** 115 * Returns all the export import configurations where groupId = ?. 116 * 117 * @param groupId the group ID 118 * @return the matching export import configurations 119 */ 120 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByGroupId( 121 long groupId) { 122 return getPersistence().findByGroupId(groupId); 123 } 124 125 /** 126 * Returns a range of all the export import configurations where groupId = ?. 127 * 128 * <p> 129 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 130 * </p> 131 * 132 * @param groupId the group ID 133 * @param start the lower bound of the range of export import configurations 134 * @param end the upper bound of the range of export import configurations (not inclusive) 135 * @return the range of matching export import configurations 136 */ 137 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByGroupId( 138 long groupId, int start, int end) { 139 return getPersistence().findByGroupId(groupId, start, end); 140 } 141 142 /** 143 * Returns an ordered range of all the export import configurations where groupId = ?. 144 * 145 * <p> 146 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 147 * </p> 148 * 149 * @param groupId the group ID 150 * @param start the lower bound of the range of export import configurations 151 * @param end the upper bound of the range of export import configurations (not inclusive) 152 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 153 * @return the ordered range of matching export import configurations 154 */ 155 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByGroupId( 156 long groupId, int start, int end, 157 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 158 return getPersistence() 159 .findByGroupId(groupId, start, end, orderByComparator); 160 } 161 162 /** 163 * Returns the first export import configuration in the ordered set where groupId = ?. 164 * 165 * @param groupId the group ID 166 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 167 * @return the first matching export import configuration 168 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 169 */ 170 public static com.liferay.portal.model.ExportImportConfiguration findByGroupId_First( 171 long groupId, 172 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 173 throws com.liferay.portal.NoSuchExportImportConfigurationException { 174 return getPersistence().findByGroupId_First(groupId, orderByComparator); 175 } 176 177 /** 178 * Returns the first export import configuration in the ordered set where groupId = ?. 179 * 180 * @param groupId the group ID 181 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 182 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 183 */ 184 public static com.liferay.portal.model.ExportImportConfiguration fetchByGroupId_First( 185 long groupId, 186 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 187 return getPersistence().fetchByGroupId_First(groupId, orderByComparator); 188 } 189 190 /** 191 * Returns the last export import configuration in the ordered set where groupId = ?. 192 * 193 * @param groupId the group ID 194 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 195 * @return the last matching export import configuration 196 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 197 */ 198 public static com.liferay.portal.model.ExportImportConfiguration findByGroupId_Last( 199 long groupId, 200 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 201 throws com.liferay.portal.NoSuchExportImportConfigurationException { 202 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 203 } 204 205 /** 206 * Returns the last export import configuration in the ordered set where groupId = ?. 207 * 208 * @param groupId the group ID 209 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 210 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 211 */ 212 public static com.liferay.portal.model.ExportImportConfiguration fetchByGroupId_Last( 213 long groupId, 214 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 215 return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); 216 } 217 218 /** 219 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ?. 220 * 221 * @param exportImportConfigurationId the primary key of the current export import configuration 222 * @param groupId the group ID 223 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 224 * @return the previous, current, and next export import configuration 225 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a export import configuration with the primary key could not be found 226 */ 227 public static com.liferay.portal.model.ExportImportConfiguration[] findByGroupId_PrevAndNext( 228 long exportImportConfigurationId, long groupId, 229 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 230 throws com.liferay.portal.NoSuchExportImportConfigurationException { 231 return getPersistence() 232 .findByGroupId_PrevAndNext(exportImportConfigurationId, 233 groupId, orderByComparator); 234 } 235 236 /** 237 * Removes all the export import configurations where groupId = ? from the database. 238 * 239 * @param groupId the group ID 240 */ 241 public static void removeByGroupId(long groupId) { 242 getPersistence().removeByGroupId(groupId); 243 } 244 245 /** 246 * Returns the number of export import configurations where groupId = ?. 247 * 248 * @param groupId the group ID 249 * @return the number of matching export import configurations 250 */ 251 public static int countByGroupId(long groupId) { 252 return getPersistence().countByGroupId(groupId); 253 } 254 255 /** 256 * Returns all the export import configurations where companyId = ?. 257 * 258 * @param companyId the company ID 259 * @return the matching export import configurations 260 */ 261 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByCompanyId( 262 long companyId) { 263 return getPersistence().findByCompanyId(companyId); 264 } 265 266 /** 267 * Returns a range of all the export import configurations where companyId = ?. 268 * 269 * <p> 270 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 271 * </p> 272 * 273 * @param companyId the company ID 274 * @param start the lower bound of the range of export import configurations 275 * @param end the upper bound of the range of export import configurations (not inclusive) 276 * @return the range of matching export import configurations 277 */ 278 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByCompanyId( 279 long companyId, int start, int end) { 280 return getPersistence().findByCompanyId(companyId, start, end); 281 } 282 283 /** 284 * Returns an ordered range of all the export import configurations where companyId = ?. 285 * 286 * <p> 287 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 288 * </p> 289 * 290 * @param companyId the company ID 291 * @param start the lower bound of the range of export import configurations 292 * @param end the upper bound of the range of export import configurations (not inclusive) 293 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 294 * @return the ordered range of matching export import configurations 295 */ 296 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByCompanyId( 297 long companyId, int start, int end, 298 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 299 return getPersistence() 300 .findByCompanyId(companyId, start, end, orderByComparator); 301 } 302 303 /** 304 * Returns the first export import configuration in the ordered set where companyId = ?. 305 * 306 * @param companyId the company ID 307 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 308 * @return the first matching export import configuration 309 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 310 */ 311 public static com.liferay.portal.model.ExportImportConfiguration findByCompanyId_First( 312 long companyId, 313 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 314 throws com.liferay.portal.NoSuchExportImportConfigurationException { 315 return getPersistence() 316 .findByCompanyId_First(companyId, orderByComparator); 317 } 318 319 /** 320 * Returns the first export import configuration in the ordered set where companyId = ?. 321 * 322 * @param companyId the company ID 323 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 324 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 325 */ 326 public static com.liferay.portal.model.ExportImportConfiguration fetchByCompanyId_First( 327 long companyId, 328 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 329 return getPersistence() 330 .fetchByCompanyId_First(companyId, orderByComparator); 331 } 332 333 /** 334 * Returns the last export import configuration in the ordered set where companyId = ?. 335 * 336 * @param companyId the company ID 337 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 338 * @return the last matching export import configuration 339 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 340 */ 341 public static com.liferay.portal.model.ExportImportConfiguration findByCompanyId_Last( 342 long companyId, 343 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 344 throws com.liferay.portal.NoSuchExportImportConfigurationException { 345 return getPersistence() 346 .findByCompanyId_Last(companyId, orderByComparator); 347 } 348 349 /** 350 * Returns the last export import configuration in the ordered set where companyId = ?. 351 * 352 * @param companyId the company ID 353 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 354 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 355 */ 356 public static com.liferay.portal.model.ExportImportConfiguration fetchByCompanyId_Last( 357 long companyId, 358 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 359 return getPersistence() 360 .fetchByCompanyId_Last(companyId, orderByComparator); 361 } 362 363 /** 364 * Returns the export import configurations before and after the current export import configuration in the ordered set where companyId = ?. 365 * 366 * @param exportImportConfigurationId the primary key of the current export import configuration 367 * @param companyId the company ID 368 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 369 * @return the previous, current, and next export import configuration 370 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a export import configuration with the primary key could not be found 371 */ 372 public static com.liferay.portal.model.ExportImportConfiguration[] findByCompanyId_PrevAndNext( 373 long exportImportConfigurationId, long companyId, 374 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 375 throws com.liferay.portal.NoSuchExportImportConfigurationException { 376 return getPersistence() 377 .findByCompanyId_PrevAndNext(exportImportConfigurationId, 378 companyId, orderByComparator); 379 } 380 381 /** 382 * Removes all the export import configurations where companyId = ? from the database. 383 * 384 * @param companyId the company ID 385 */ 386 public static void removeByCompanyId(long companyId) { 387 getPersistence().removeByCompanyId(companyId); 388 } 389 390 /** 391 * Returns the number of export import configurations where companyId = ?. 392 * 393 * @param companyId the company ID 394 * @return the number of matching export import configurations 395 */ 396 public static int countByCompanyId(long companyId) { 397 return getPersistence().countByCompanyId(companyId); 398 } 399 400 /** 401 * Returns all the export import configurations where groupId = ? and type = ?. 402 * 403 * @param groupId the group ID 404 * @param type the type 405 * @return the matching export import configurations 406 */ 407 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_T( 408 long groupId, int type) { 409 return getPersistence().findByG_T(groupId, type); 410 } 411 412 /** 413 * Returns a range of all the export import configurations where groupId = ? and type = ?. 414 * 415 * <p> 416 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 417 * </p> 418 * 419 * @param groupId the group ID 420 * @param type the type 421 * @param start the lower bound of the range of export import configurations 422 * @param end the upper bound of the range of export import configurations (not inclusive) 423 * @return the range of matching export import configurations 424 */ 425 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_T( 426 long groupId, int type, int start, int end) { 427 return getPersistence().findByG_T(groupId, type, start, end); 428 } 429 430 /** 431 * Returns an ordered range of all the export import configurations where groupId = ? and type = ?. 432 * 433 * <p> 434 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 435 * </p> 436 * 437 * @param groupId the group ID 438 * @param type the type 439 * @param start the lower bound of the range of export import configurations 440 * @param end the upper bound of the range of export import configurations (not inclusive) 441 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 442 * @return the ordered range of matching export import configurations 443 */ 444 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_T( 445 long groupId, int type, int start, int end, 446 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 447 return getPersistence() 448 .findByG_T(groupId, type, start, end, orderByComparator); 449 } 450 451 /** 452 * Returns the first export import configuration in the ordered set where groupId = ? and type = ?. 453 * 454 * @param groupId the group ID 455 * @param type the type 456 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 457 * @return the first matching export import configuration 458 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 459 */ 460 public static com.liferay.portal.model.ExportImportConfiguration findByG_T_First( 461 long groupId, int type, 462 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 463 throws com.liferay.portal.NoSuchExportImportConfigurationException { 464 return getPersistence().findByG_T_First(groupId, type, orderByComparator); 465 } 466 467 /** 468 * Returns the first export import configuration in the ordered set where groupId = ? and type = ?. 469 * 470 * @param groupId the group ID 471 * @param type the type 472 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 473 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 474 */ 475 public static com.liferay.portal.model.ExportImportConfiguration fetchByG_T_First( 476 long groupId, int type, 477 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 478 return getPersistence() 479 .fetchByG_T_First(groupId, type, orderByComparator); 480 } 481 482 /** 483 * Returns the last export import configuration in the ordered set where groupId = ? and type = ?. 484 * 485 * @param groupId the group ID 486 * @param type the type 487 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 488 * @return the last matching export import configuration 489 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 490 */ 491 public static com.liferay.portal.model.ExportImportConfiguration findByG_T_Last( 492 long groupId, int type, 493 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 494 throws com.liferay.portal.NoSuchExportImportConfigurationException { 495 return getPersistence().findByG_T_Last(groupId, type, orderByComparator); 496 } 497 498 /** 499 * Returns the last export import configuration in the ordered set where groupId = ? and type = ?. 500 * 501 * @param groupId the group ID 502 * @param type the type 503 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 504 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 505 */ 506 public static com.liferay.portal.model.ExportImportConfiguration fetchByG_T_Last( 507 long groupId, int type, 508 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 509 return getPersistence().fetchByG_T_Last(groupId, type, orderByComparator); 510 } 511 512 /** 513 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and type = ?. 514 * 515 * @param exportImportConfigurationId the primary key of the current export import configuration 516 * @param groupId the group ID 517 * @param type the type 518 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 519 * @return the previous, current, and next export import configuration 520 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a export import configuration with the primary key could not be found 521 */ 522 public static com.liferay.portal.model.ExportImportConfiguration[] findByG_T_PrevAndNext( 523 long exportImportConfigurationId, long groupId, int type, 524 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 525 throws com.liferay.portal.NoSuchExportImportConfigurationException { 526 return getPersistence() 527 .findByG_T_PrevAndNext(exportImportConfigurationId, groupId, 528 type, orderByComparator); 529 } 530 531 /** 532 * Removes all the export import configurations where groupId = ? and type = ? from the database. 533 * 534 * @param groupId the group ID 535 * @param type the type 536 */ 537 public static void removeByG_T(long groupId, int type) { 538 getPersistence().removeByG_T(groupId, type); 539 } 540 541 /** 542 * Returns the number of export import configurations where groupId = ? and type = ?. 543 * 544 * @param groupId the group ID 545 * @param type the type 546 * @return the number of matching export import configurations 547 */ 548 public static int countByG_T(long groupId, int type) { 549 return getPersistence().countByG_T(groupId, type); 550 } 551 552 /** 553 * Returns all the export import configurations where groupId = ? and status = ?. 554 * 555 * @param groupId the group ID 556 * @param status the status 557 * @return the matching export import configurations 558 */ 559 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_S( 560 long groupId, int status) { 561 return getPersistence().findByG_S(groupId, status); 562 } 563 564 /** 565 * Returns a range of all the export import configurations where groupId = ? and status = ?. 566 * 567 * <p> 568 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 569 * </p> 570 * 571 * @param groupId the group ID 572 * @param status the status 573 * @param start the lower bound of the range of export import configurations 574 * @param end the upper bound of the range of export import configurations (not inclusive) 575 * @return the range of matching export import configurations 576 */ 577 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_S( 578 long groupId, int status, int start, int end) { 579 return getPersistence().findByG_S(groupId, status, start, end); 580 } 581 582 /** 583 * Returns an ordered range of all the export import configurations where groupId = ? and status = ?. 584 * 585 * <p> 586 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 587 * </p> 588 * 589 * @param groupId the group ID 590 * @param status the status 591 * @param start the lower bound of the range of export import configurations 592 * @param end the upper bound of the range of export import configurations (not inclusive) 593 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 594 * @return the ordered range of matching export import configurations 595 */ 596 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_S( 597 long groupId, int status, int start, int end, 598 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 599 return getPersistence() 600 .findByG_S(groupId, status, start, end, orderByComparator); 601 } 602 603 /** 604 * Returns the first export import configuration in the ordered set where groupId = ? and status = ?. 605 * 606 * @param groupId the group ID 607 * @param status the status 608 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 609 * @return the first matching export import configuration 610 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 611 */ 612 public static com.liferay.portal.model.ExportImportConfiguration findByG_S_First( 613 long groupId, int status, 614 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 615 throws com.liferay.portal.NoSuchExportImportConfigurationException { 616 return getPersistence() 617 .findByG_S_First(groupId, status, orderByComparator); 618 } 619 620 /** 621 * Returns the first export import configuration in the ordered set where groupId = ? and status = ?. 622 * 623 * @param groupId the group ID 624 * @param status the status 625 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 626 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 627 */ 628 public static com.liferay.portal.model.ExportImportConfiguration fetchByG_S_First( 629 long groupId, int status, 630 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 631 return getPersistence() 632 .fetchByG_S_First(groupId, status, orderByComparator); 633 } 634 635 /** 636 * Returns the last export import configuration in the ordered set where groupId = ? and status = ?. 637 * 638 * @param groupId the group ID 639 * @param status the status 640 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 641 * @return the last matching export import configuration 642 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 643 */ 644 public static com.liferay.portal.model.ExportImportConfiguration findByG_S_Last( 645 long groupId, int status, 646 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 647 throws com.liferay.portal.NoSuchExportImportConfigurationException { 648 return getPersistence() 649 .findByG_S_Last(groupId, status, orderByComparator); 650 } 651 652 /** 653 * Returns the last export import configuration in the ordered set where groupId = ? and status = ?. 654 * 655 * @param groupId the group ID 656 * @param status the status 657 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 658 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 659 */ 660 public static com.liferay.portal.model.ExportImportConfiguration fetchByG_S_Last( 661 long groupId, int status, 662 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 663 return getPersistence() 664 .fetchByG_S_Last(groupId, status, orderByComparator); 665 } 666 667 /** 668 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and status = ?. 669 * 670 * @param exportImportConfigurationId the primary key of the current export import configuration 671 * @param groupId the group ID 672 * @param status the status 673 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 674 * @return the previous, current, and next export import configuration 675 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a export import configuration with the primary key could not be found 676 */ 677 public static com.liferay.portal.model.ExportImportConfiguration[] findByG_S_PrevAndNext( 678 long exportImportConfigurationId, long groupId, int status, 679 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 680 throws com.liferay.portal.NoSuchExportImportConfigurationException { 681 return getPersistence() 682 .findByG_S_PrevAndNext(exportImportConfigurationId, groupId, 683 status, orderByComparator); 684 } 685 686 /** 687 * Removes all the export import configurations where groupId = ? and status = ? from the database. 688 * 689 * @param groupId the group ID 690 * @param status the status 691 */ 692 public static void removeByG_S(long groupId, int status) { 693 getPersistence().removeByG_S(groupId, status); 694 } 695 696 /** 697 * Returns the number of export import configurations where groupId = ? and status = ?. 698 * 699 * @param groupId the group ID 700 * @param status the status 701 * @return the number of matching export import configurations 702 */ 703 public static int countByG_S(long groupId, int status) { 704 return getPersistence().countByG_S(groupId, status); 705 } 706 707 /** 708 * Returns all the export import configurations where groupId = ? and type = ? and status = ?. 709 * 710 * @param groupId the group ID 711 * @param type the type 712 * @param status the status 713 * @return the matching export import configurations 714 */ 715 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_T_S( 716 long groupId, int type, int status) { 717 return getPersistence().findByG_T_S(groupId, type, status); 718 } 719 720 /** 721 * Returns a range of all the export import configurations where groupId = ? and type = ? and status = ?. 722 * 723 * <p> 724 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 725 * </p> 726 * 727 * @param groupId the group ID 728 * @param type the type 729 * @param status the status 730 * @param start the lower bound of the range of export import configurations 731 * @param end the upper bound of the range of export import configurations (not inclusive) 732 * @return the range of matching export import configurations 733 */ 734 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_T_S( 735 long groupId, int type, int status, int start, int end) { 736 return getPersistence().findByG_T_S(groupId, type, status, start, end); 737 } 738 739 /** 740 * Returns an ordered range of all the export import configurations where groupId = ? and type = ? and status = ?. 741 * 742 * <p> 743 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 744 * </p> 745 * 746 * @param groupId the group ID 747 * @param type the type 748 * @param status the status 749 * @param start the lower bound of the range of export import configurations 750 * @param end the upper bound of the range of export import configurations (not inclusive) 751 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 752 * @return the ordered range of matching export import configurations 753 */ 754 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findByG_T_S( 755 long groupId, int type, int status, int start, int end, 756 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 757 return getPersistence() 758 .findByG_T_S(groupId, type, status, start, end, 759 orderByComparator); 760 } 761 762 /** 763 * Returns the first export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 764 * 765 * @param groupId the group ID 766 * @param type the type 767 * @param status the status 768 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 769 * @return the first matching export import configuration 770 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 771 */ 772 public static com.liferay.portal.model.ExportImportConfiguration findByG_T_S_First( 773 long groupId, int type, int status, 774 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 775 throws com.liferay.portal.NoSuchExportImportConfigurationException { 776 return getPersistence() 777 .findByG_T_S_First(groupId, type, status, orderByComparator); 778 } 779 780 /** 781 * Returns the first export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 782 * 783 * @param groupId the group ID 784 * @param type the type 785 * @param status the status 786 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 787 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 788 */ 789 public static com.liferay.portal.model.ExportImportConfiguration fetchByG_T_S_First( 790 long groupId, int type, int status, 791 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 792 return getPersistence() 793 .fetchByG_T_S_First(groupId, type, status, orderByComparator); 794 } 795 796 /** 797 * Returns the last export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 798 * 799 * @param groupId the group ID 800 * @param type the type 801 * @param status the status 802 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 803 * @return the last matching export import configuration 804 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a matching export import configuration could not be found 805 */ 806 public static com.liferay.portal.model.ExportImportConfiguration findByG_T_S_Last( 807 long groupId, int type, int status, 808 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 809 throws com.liferay.portal.NoSuchExportImportConfigurationException { 810 return getPersistence() 811 .findByG_T_S_Last(groupId, type, status, orderByComparator); 812 } 813 814 /** 815 * Returns the last export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 816 * 817 * @param groupId the group ID 818 * @param type the type 819 * @param status the status 820 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 821 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 822 */ 823 public static com.liferay.portal.model.ExportImportConfiguration fetchByG_T_S_Last( 824 long groupId, int type, int status, 825 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 826 return getPersistence() 827 .fetchByG_T_S_Last(groupId, type, status, orderByComparator); 828 } 829 830 /** 831 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 832 * 833 * @param exportImportConfigurationId the primary key of the current export import configuration 834 * @param groupId the group ID 835 * @param type the type 836 * @param status the status 837 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 838 * @return the previous, current, and next export import configuration 839 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a export import configuration with the primary key could not be found 840 */ 841 public static com.liferay.portal.model.ExportImportConfiguration[] findByG_T_S_PrevAndNext( 842 long exportImportConfigurationId, long groupId, int type, int status, 843 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) 844 throws com.liferay.portal.NoSuchExportImportConfigurationException { 845 return getPersistence() 846 .findByG_T_S_PrevAndNext(exportImportConfigurationId, 847 groupId, type, status, orderByComparator); 848 } 849 850 /** 851 * Removes all the export import configurations where groupId = ? and type = ? and status = ? from the database. 852 * 853 * @param groupId the group ID 854 * @param type the type 855 * @param status the status 856 */ 857 public static void removeByG_T_S(long groupId, int type, int status) { 858 getPersistence().removeByG_T_S(groupId, type, status); 859 } 860 861 /** 862 * Returns the number of export import configurations where groupId = ? and type = ? and status = ?. 863 * 864 * @param groupId the group ID 865 * @param type the type 866 * @param status the status 867 * @return the number of matching export import configurations 868 */ 869 public static int countByG_T_S(long groupId, int type, int status) { 870 return getPersistence().countByG_T_S(groupId, type, status); 871 } 872 873 /** 874 * Caches the export import configuration in the entity cache if it is enabled. 875 * 876 * @param exportImportConfiguration the export import configuration 877 */ 878 public static void cacheResult( 879 com.liferay.portal.model.ExportImportConfiguration exportImportConfiguration) { 880 getPersistence().cacheResult(exportImportConfiguration); 881 } 882 883 /** 884 * Caches the export import configurations in the entity cache if it is enabled. 885 * 886 * @param exportImportConfigurations the export import configurations 887 */ 888 public static void cacheResult( 889 java.util.List<com.liferay.portal.model.ExportImportConfiguration> exportImportConfigurations) { 890 getPersistence().cacheResult(exportImportConfigurations); 891 } 892 893 /** 894 * Creates a new export import configuration with the primary key. Does not add the export import configuration to the database. 895 * 896 * @param exportImportConfigurationId the primary key for the new export import configuration 897 * @return the new export import configuration 898 */ 899 public static com.liferay.portal.model.ExportImportConfiguration create( 900 long exportImportConfigurationId) { 901 return getPersistence().create(exportImportConfigurationId); 902 } 903 904 /** 905 * Removes the export import configuration with the primary key from the database. Also notifies the appropriate model listeners. 906 * 907 * @param exportImportConfigurationId the primary key of the export import configuration 908 * @return the export import configuration that was removed 909 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a export import configuration with the primary key could not be found 910 */ 911 public static com.liferay.portal.model.ExportImportConfiguration remove( 912 long exportImportConfigurationId) 913 throws com.liferay.portal.NoSuchExportImportConfigurationException { 914 return getPersistence().remove(exportImportConfigurationId); 915 } 916 917 public static com.liferay.portal.model.ExportImportConfiguration updateImpl( 918 com.liferay.portal.model.ExportImportConfiguration exportImportConfiguration) { 919 return getPersistence().updateImpl(exportImportConfiguration); 920 } 921 922 /** 923 * Returns the export import configuration with the primary key or throws a {@link com.liferay.portal.NoSuchExportImportConfigurationException} if it could not be found. 924 * 925 * @param exportImportConfigurationId the primary key of the export import configuration 926 * @return the export import configuration 927 * @throws com.liferay.portal.NoSuchExportImportConfigurationException if a export import configuration with the primary key could not be found 928 */ 929 public static com.liferay.portal.model.ExportImportConfiguration findByPrimaryKey( 930 long exportImportConfigurationId) 931 throws com.liferay.portal.NoSuchExportImportConfigurationException { 932 return getPersistence().findByPrimaryKey(exportImportConfigurationId); 933 } 934 935 /** 936 * Returns the export import configuration with the primary key or returns <code>null</code> if it could not be found. 937 * 938 * @param exportImportConfigurationId the primary key of the export import configuration 939 * @return the export import configuration, or <code>null</code> if a export import configuration with the primary key could not be found 940 */ 941 public static com.liferay.portal.model.ExportImportConfiguration fetchByPrimaryKey( 942 long exportImportConfigurationId) { 943 return getPersistence().fetchByPrimaryKey(exportImportConfigurationId); 944 } 945 946 public static java.util.Map<java.io.Serializable, com.liferay.portal.model.ExportImportConfiguration> fetchByPrimaryKeys( 947 java.util.Set<java.io.Serializable> primaryKeys) { 948 return getPersistence().fetchByPrimaryKeys(primaryKeys); 949 } 950 951 /** 952 * Returns all the export import configurations. 953 * 954 * @return the export import configurations 955 */ 956 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findAll() { 957 return getPersistence().findAll(); 958 } 959 960 /** 961 * Returns a range of all the export import configurations. 962 * 963 * <p> 964 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 965 * </p> 966 * 967 * @param start the lower bound of the range of export import configurations 968 * @param end the upper bound of the range of export import configurations (not inclusive) 969 * @return the range of export import configurations 970 */ 971 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findAll( 972 int start, int end) { 973 return getPersistence().findAll(start, end); 974 } 975 976 /** 977 * Returns an ordered range of all the export import configurations. 978 * 979 * <p> 980 * 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.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. 981 * </p> 982 * 983 * @param start the lower bound of the range of export import configurations 984 * @param end the upper bound of the range of export import configurations (not inclusive) 985 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 986 * @return the ordered range of export import configurations 987 */ 988 public static java.util.List<com.liferay.portal.model.ExportImportConfiguration> findAll( 989 int start, int end, 990 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.ExportImportConfiguration> orderByComparator) { 991 return getPersistence().findAll(start, end, orderByComparator); 992 } 993 994 /** 995 * Removes all the export import configurations from the database. 996 */ 997 public static void removeAll() { 998 getPersistence().removeAll(); 999 } 1000 1001 /** 1002 * Returns the number of export import configurations. 1003 * 1004 * @return the number of export import configurations 1005 */ 1006 public static int countAll() { 1007 return getPersistence().countAll(); 1008 } 1009 1010 public static ExportImportConfigurationPersistence getPersistence() { 1011 if (_persistence == null) { 1012 _persistence = (ExportImportConfigurationPersistence)PortalBeanLocatorUtil.locate(ExportImportConfigurationPersistence.class.getName()); 1013 1014 ReferenceRegistry.registerReference(ExportImportConfigurationUtil.class, 1015 "_persistence"); 1016 } 1017 1018 return _persistence; 1019 } 1020 1021 /** 1022 * @deprecated As of 6.2.0 1023 */ 1024 @Deprecated 1025 public void setPersistence(ExportImportConfigurationPersistence persistence) { 1026 } 1027 1028 private static ExportImportConfigurationPersistence _persistence; 1029 }