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.exportimport.kernel.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.exportimport.kernel.exception.NoSuchConfigurationException; 020 import com.liferay.exportimport.kernel.model.ExportImportConfiguration; 021 022 import com.liferay.portal.kernel.service.persistence.BasePersistence; 023 024 /** 025 * The persistence interface for the export import configuration service. 026 * 027 * <p> 028 * Caching information and settings can be found in <code>portal.properties</code> 029 * </p> 030 * 031 * @author Brian Wing Shun Chan 032 * @see com.liferay.portlet.exportimport.service.persistence.impl.ExportImportConfigurationPersistenceImpl 033 * @see ExportImportConfigurationUtil 034 * @generated 035 */ 036 @ProviderType 037 public interface ExportImportConfigurationPersistence extends BasePersistence<ExportImportConfiguration> { 038 /* 039 * NOTE FOR DEVELOPERS: 040 * 041 * Never modify or reference this interface directly. Always use {@link ExportImportConfigurationUtil} to access the export import configuration persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 042 */ 043 044 /** 045 * Returns all the export import configurations where groupId = ?. 046 * 047 * @param groupId the group ID 048 * @return the matching export import configurations 049 */ 050 public java.util.List<ExportImportConfiguration> findByGroupId(long groupId); 051 052 /** 053 * Returns a range of all the export import configurations where groupId = ?. 054 * 055 * <p> 056 * 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. 057 * </p> 058 * 059 * @param groupId the group ID 060 * @param start the lower bound of the range of export import configurations 061 * @param end the upper bound of the range of export import configurations (not inclusive) 062 * @return the range of matching export import configurations 063 */ 064 public java.util.List<ExportImportConfiguration> findByGroupId( 065 long groupId, int start, int end); 066 067 /** 068 * Returns an ordered range of all the export import configurations where groupId = ?. 069 * 070 * <p> 071 * 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. 072 * </p> 073 * 074 * @param groupId the group ID 075 * @param start the lower bound of the range of export import configurations 076 * @param end the upper bound of the range of export import configurations (not inclusive) 077 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 078 * @return the ordered range of matching export import configurations 079 */ 080 public java.util.List<ExportImportConfiguration> findByGroupId( 081 long groupId, int start, int end, 082 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 083 084 /** 085 * Returns an ordered range of all the export import configurations where groupId = ?. 086 * 087 * <p> 088 * 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. 089 * </p> 090 * 091 * @param groupId the group ID 092 * @param start the lower bound of the range of export import configurations 093 * @param end the upper bound of the range of export import configurations (not inclusive) 094 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 095 * @param retrieveFromCache whether to retrieve from the finder cache 096 * @return the ordered range of matching export import configurations 097 */ 098 public java.util.List<ExportImportConfiguration> findByGroupId( 099 long groupId, int start, int end, 100 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator, 101 boolean retrieveFromCache); 102 103 /** 104 * Returns the first export import configuration in the ordered set where groupId = ?. 105 * 106 * @param groupId the group ID 107 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 108 * @return the first matching export import configuration 109 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 110 */ 111 public ExportImportConfiguration findByGroupId_First(long groupId, 112 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 113 throws NoSuchConfigurationException; 114 115 /** 116 * Returns the first export import configuration in the ordered set where groupId = ?. 117 * 118 * @param groupId the group ID 119 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 120 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 121 */ 122 public ExportImportConfiguration fetchByGroupId_First(long groupId, 123 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 124 125 /** 126 * Returns the last export import configuration in the ordered set where groupId = ?. 127 * 128 * @param groupId the group ID 129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 130 * @return the last matching export import configuration 131 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 132 */ 133 public ExportImportConfiguration findByGroupId_Last(long groupId, 134 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 135 throws NoSuchConfigurationException; 136 137 /** 138 * Returns the last export import configuration in the ordered set where groupId = ?. 139 * 140 * @param groupId the group ID 141 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 142 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 143 */ 144 public ExportImportConfiguration fetchByGroupId_Last(long groupId, 145 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 146 147 /** 148 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ?. 149 * 150 * @param exportImportConfigurationId the primary key of the current export import configuration 151 * @param groupId the group ID 152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 153 * @return the previous, current, and next export import configuration 154 * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found 155 */ 156 public ExportImportConfiguration[] findByGroupId_PrevAndNext( 157 long exportImportConfigurationId, long groupId, 158 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 159 throws NoSuchConfigurationException; 160 161 /** 162 * Removes all the export import configurations where groupId = ? from the database. 163 * 164 * @param groupId the group ID 165 */ 166 public void removeByGroupId(long groupId); 167 168 /** 169 * Returns the number of export import configurations where groupId = ?. 170 * 171 * @param groupId the group ID 172 * @return the number of matching export import configurations 173 */ 174 public int countByGroupId(long groupId); 175 176 /** 177 * Returns all the export import configurations where companyId = ?. 178 * 179 * @param companyId the company ID 180 * @return the matching export import configurations 181 */ 182 public java.util.List<ExportImportConfiguration> findByCompanyId( 183 long companyId); 184 185 /** 186 * Returns a range of all the export import configurations where companyId = ?. 187 * 188 * <p> 189 * 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. 190 * </p> 191 * 192 * @param companyId the company ID 193 * @param start the lower bound of the range of export import configurations 194 * @param end the upper bound of the range of export import configurations (not inclusive) 195 * @return the range of matching export import configurations 196 */ 197 public java.util.List<ExportImportConfiguration> findByCompanyId( 198 long companyId, int start, int end); 199 200 /** 201 * Returns an ordered range of all the export import configurations where companyId = ?. 202 * 203 * <p> 204 * 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. 205 * </p> 206 * 207 * @param companyId the company ID 208 * @param start the lower bound of the range of export import configurations 209 * @param end the upper bound of the range of export import configurations (not inclusive) 210 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 211 * @return the ordered range of matching export import configurations 212 */ 213 public java.util.List<ExportImportConfiguration> findByCompanyId( 214 long companyId, int start, int end, 215 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 216 217 /** 218 * Returns an ordered range of all the export import configurations where companyId = ?. 219 * 220 * <p> 221 * 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. 222 * </p> 223 * 224 * @param companyId the company ID 225 * @param start the lower bound of the range of export import configurations 226 * @param end the upper bound of the range of export import configurations (not inclusive) 227 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 228 * @param retrieveFromCache whether to retrieve from the finder cache 229 * @return the ordered range of matching export import configurations 230 */ 231 public java.util.List<ExportImportConfiguration> findByCompanyId( 232 long companyId, int start, int end, 233 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator, 234 boolean retrieveFromCache); 235 236 /** 237 * Returns the first export import configuration in the ordered set where companyId = ?. 238 * 239 * @param companyId the company ID 240 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 241 * @return the first matching export import configuration 242 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 243 */ 244 public ExportImportConfiguration findByCompanyId_First(long companyId, 245 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 246 throws NoSuchConfigurationException; 247 248 /** 249 * Returns the first export import configuration in the ordered set where companyId = ?. 250 * 251 * @param companyId the company ID 252 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 253 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 254 */ 255 public ExportImportConfiguration fetchByCompanyId_First(long companyId, 256 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 257 258 /** 259 * Returns the last export import configuration in the ordered set where companyId = ?. 260 * 261 * @param companyId the company ID 262 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 263 * @return the last matching export import configuration 264 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 265 */ 266 public ExportImportConfiguration findByCompanyId_Last(long companyId, 267 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 268 throws NoSuchConfigurationException; 269 270 /** 271 * Returns the last export import configuration in the ordered set where companyId = ?. 272 * 273 * @param companyId the company ID 274 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 275 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 276 */ 277 public ExportImportConfiguration fetchByCompanyId_Last(long companyId, 278 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 279 280 /** 281 * Returns the export import configurations before and after the current export import configuration in the ordered set where companyId = ?. 282 * 283 * @param exportImportConfigurationId the primary key of the current export import configuration 284 * @param companyId the company ID 285 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 286 * @return the previous, current, and next export import configuration 287 * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found 288 */ 289 public ExportImportConfiguration[] findByCompanyId_PrevAndNext( 290 long exportImportConfigurationId, long companyId, 291 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 292 throws NoSuchConfigurationException; 293 294 /** 295 * Removes all the export import configurations where companyId = ? from the database. 296 * 297 * @param companyId the company ID 298 */ 299 public void removeByCompanyId(long companyId); 300 301 /** 302 * Returns the number of export import configurations where companyId = ?. 303 * 304 * @param companyId the company ID 305 * @return the number of matching export import configurations 306 */ 307 public int countByCompanyId(long companyId); 308 309 /** 310 * Returns all the export import configurations where groupId = ? and type = ?. 311 * 312 * @param groupId the group ID 313 * @param type the type 314 * @return the matching export import configurations 315 */ 316 public java.util.List<ExportImportConfiguration> findByG_T(long groupId, 317 int type); 318 319 /** 320 * Returns a range of all the export import configurations where groupId = ? and type = ?. 321 * 322 * <p> 323 * 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. 324 * </p> 325 * 326 * @param groupId the group ID 327 * @param type the type 328 * @param start the lower bound of the range of export import configurations 329 * @param end the upper bound of the range of export import configurations (not inclusive) 330 * @return the range of matching export import configurations 331 */ 332 public java.util.List<ExportImportConfiguration> findByG_T(long groupId, 333 int type, int start, int end); 334 335 /** 336 * Returns an ordered range of all the export import configurations where groupId = ? and type = ?. 337 * 338 * <p> 339 * 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. 340 * </p> 341 * 342 * @param groupId the group ID 343 * @param type the type 344 * @param start the lower bound of the range of export import configurations 345 * @param end the upper bound of the range of export import configurations (not inclusive) 346 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 347 * @return the ordered range of matching export import configurations 348 */ 349 public java.util.List<ExportImportConfiguration> findByG_T(long groupId, 350 int type, int start, int end, 351 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 352 353 /** 354 * Returns an ordered range of all the export import configurations where groupId = ? and type = ?. 355 * 356 * <p> 357 * 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. 358 * </p> 359 * 360 * @param groupId the group ID 361 * @param type the type 362 * @param start the lower bound of the range of export import configurations 363 * @param end the upper bound of the range of export import configurations (not inclusive) 364 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 365 * @param retrieveFromCache whether to retrieve from the finder cache 366 * @return the ordered range of matching export import configurations 367 */ 368 public java.util.List<ExportImportConfiguration> findByG_T(long groupId, 369 int type, int start, int end, 370 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator, 371 boolean retrieveFromCache); 372 373 /** 374 * Returns the first export import configuration in the ordered set where groupId = ? and type = ?. 375 * 376 * @param groupId the group ID 377 * @param type the type 378 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 379 * @return the first matching export import configuration 380 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 381 */ 382 public ExportImportConfiguration findByG_T_First(long groupId, int type, 383 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 384 throws NoSuchConfigurationException; 385 386 /** 387 * Returns the first export import configuration in the ordered set where groupId = ? and type = ?. 388 * 389 * @param groupId the group ID 390 * @param type the type 391 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 392 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 393 */ 394 public ExportImportConfiguration fetchByG_T_First(long groupId, int type, 395 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 396 397 /** 398 * Returns the last export import configuration in the ordered set where groupId = ? and type = ?. 399 * 400 * @param groupId the group ID 401 * @param type the type 402 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 403 * @return the last matching export import configuration 404 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 405 */ 406 public ExportImportConfiguration findByG_T_Last(long groupId, int type, 407 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 408 throws NoSuchConfigurationException; 409 410 /** 411 * Returns the last export import configuration in the ordered set where groupId = ? and type = ?. 412 * 413 * @param groupId the group ID 414 * @param type the type 415 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 416 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 417 */ 418 public ExportImportConfiguration fetchByG_T_Last(long groupId, int type, 419 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 420 421 /** 422 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and type = ?. 423 * 424 * @param exportImportConfigurationId the primary key of the current export import configuration 425 * @param groupId the group ID 426 * @param type the type 427 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 428 * @return the previous, current, and next export import configuration 429 * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found 430 */ 431 public ExportImportConfiguration[] findByG_T_PrevAndNext( 432 long exportImportConfigurationId, long groupId, int type, 433 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 434 throws NoSuchConfigurationException; 435 436 /** 437 * Removes all the export import configurations where groupId = ? and type = ? from the database. 438 * 439 * @param groupId the group ID 440 * @param type the type 441 */ 442 public void removeByG_T(long groupId, int type); 443 444 /** 445 * Returns the number of export import configurations where groupId = ? and type = ?. 446 * 447 * @param groupId the group ID 448 * @param type the type 449 * @return the number of matching export import configurations 450 */ 451 public int countByG_T(long groupId, int type); 452 453 /** 454 * Returns all the export import configurations where groupId = ? and status = ?. 455 * 456 * @param groupId the group ID 457 * @param status the status 458 * @return the matching export import configurations 459 */ 460 public java.util.List<ExportImportConfiguration> findByG_S(long groupId, 461 int status); 462 463 /** 464 * Returns a range of all the export import configurations where groupId = ? and status = ?. 465 * 466 * <p> 467 * 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. 468 * </p> 469 * 470 * @param groupId the group ID 471 * @param status the status 472 * @param start the lower bound of the range of export import configurations 473 * @param end the upper bound of the range of export import configurations (not inclusive) 474 * @return the range of matching export import configurations 475 */ 476 public java.util.List<ExportImportConfiguration> findByG_S(long groupId, 477 int status, int start, int end); 478 479 /** 480 * Returns an ordered range of all the export import configurations where groupId = ? and status = ?. 481 * 482 * <p> 483 * 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. 484 * </p> 485 * 486 * @param groupId the group ID 487 * @param status the status 488 * @param start the lower bound of the range of export import configurations 489 * @param end the upper bound of the range of export import configurations (not inclusive) 490 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 491 * @return the ordered range of matching export import configurations 492 */ 493 public java.util.List<ExportImportConfiguration> findByG_S(long groupId, 494 int status, int start, int end, 495 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 496 497 /** 498 * Returns an ordered range of all the export import configurations where groupId = ? and status = ?. 499 * 500 * <p> 501 * 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. 502 * </p> 503 * 504 * @param groupId the group ID 505 * @param status the status 506 * @param start the lower bound of the range of export import configurations 507 * @param end the upper bound of the range of export import configurations (not inclusive) 508 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 509 * @param retrieveFromCache whether to retrieve from the finder cache 510 * @return the ordered range of matching export import configurations 511 */ 512 public java.util.List<ExportImportConfiguration> findByG_S(long groupId, 513 int status, int start, int end, 514 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator, 515 boolean retrieveFromCache); 516 517 /** 518 * Returns the first export import configuration in the ordered set where groupId = ? and status = ?. 519 * 520 * @param groupId the group ID 521 * @param status the status 522 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 523 * @return the first matching export import configuration 524 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 525 */ 526 public ExportImportConfiguration findByG_S_First(long groupId, int status, 527 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 528 throws NoSuchConfigurationException; 529 530 /** 531 * Returns the first export import configuration in the ordered set where groupId = ? and status = ?. 532 * 533 * @param groupId the group ID 534 * @param status the status 535 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 536 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 537 */ 538 public ExportImportConfiguration fetchByG_S_First(long groupId, int status, 539 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 540 541 /** 542 * Returns the last export import configuration in the ordered set where groupId = ? and status = ?. 543 * 544 * @param groupId the group ID 545 * @param status the status 546 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 547 * @return the last matching export import configuration 548 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 549 */ 550 public ExportImportConfiguration findByG_S_Last(long groupId, int status, 551 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 552 throws NoSuchConfigurationException; 553 554 /** 555 * Returns the last export import configuration in the ordered set where groupId = ? and status = ?. 556 * 557 * @param groupId the group ID 558 * @param status the status 559 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 560 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 561 */ 562 public ExportImportConfiguration fetchByG_S_Last(long groupId, int status, 563 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 564 565 /** 566 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and status = ?. 567 * 568 * @param exportImportConfigurationId the primary key of the current export import configuration 569 * @param groupId the group ID 570 * @param status the status 571 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 572 * @return the previous, current, and next export import configuration 573 * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found 574 */ 575 public ExportImportConfiguration[] findByG_S_PrevAndNext( 576 long exportImportConfigurationId, long groupId, int status, 577 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 578 throws NoSuchConfigurationException; 579 580 /** 581 * Removes all the export import configurations where groupId = ? and status = ? from the database. 582 * 583 * @param groupId the group ID 584 * @param status the status 585 */ 586 public void removeByG_S(long groupId, int status); 587 588 /** 589 * Returns the number of export import configurations where groupId = ? and status = ?. 590 * 591 * @param groupId the group ID 592 * @param status the status 593 * @return the number of matching export import configurations 594 */ 595 public int countByG_S(long groupId, int status); 596 597 /** 598 * Returns all the export import configurations where groupId = ? and type = ? and status = ?. 599 * 600 * @param groupId the group ID 601 * @param type the type 602 * @param status the status 603 * @return the matching export import configurations 604 */ 605 public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId, 606 int type, int status); 607 608 /** 609 * Returns a range of all the export import configurations where groupId = ? and type = ? and status = ?. 610 * 611 * <p> 612 * 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. 613 * </p> 614 * 615 * @param groupId the group ID 616 * @param type the type 617 * @param status the status 618 * @param start the lower bound of the range of export import configurations 619 * @param end the upper bound of the range of export import configurations (not inclusive) 620 * @return the range of matching export import configurations 621 */ 622 public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId, 623 int type, int status, int start, int end); 624 625 /** 626 * Returns an ordered range of all the export import configurations where groupId = ? and type = ? and status = ?. 627 * 628 * <p> 629 * 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. 630 * </p> 631 * 632 * @param groupId the group ID 633 * @param type the type 634 * @param status the status 635 * @param start the lower bound of the range of export import configurations 636 * @param end the upper bound of the range of export import configurations (not inclusive) 637 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 638 * @return the ordered range of matching export import configurations 639 */ 640 public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId, 641 int type, int status, int start, int end, 642 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 643 644 /** 645 * Returns an ordered range of all the export import configurations where groupId = ? and type = ? and status = ?. 646 * 647 * <p> 648 * 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. 649 * </p> 650 * 651 * @param groupId the group ID 652 * @param type the type 653 * @param status the status 654 * @param start the lower bound of the range of export import configurations 655 * @param end the upper bound of the range of export import configurations (not inclusive) 656 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 657 * @param retrieveFromCache whether to retrieve from the finder cache 658 * @return the ordered range of matching export import configurations 659 */ 660 public java.util.List<ExportImportConfiguration> findByG_T_S(long groupId, 661 int type, int status, int start, int end, 662 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator, 663 boolean retrieveFromCache); 664 665 /** 666 * Returns the first export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 667 * 668 * @param groupId the group ID 669 * @param type the type 670 * @param status the status 671 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 672 * @return the first matching export import configuration 673 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 674 */ 675 public ExportImportConfiguration findByG_T_S_First(long groupId, int type, 676 int status, 677 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 678 throws NoSuchConfigurationException; 679 680 /** 681 * Returns the first export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 682 * 683 * @param groupId the group ID 684 * @param type the type 685 * @param status the status 686 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 687 * @return the first matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 688 */ 689 public ExportImportConfiguration fetchByG_T_S_First(long groupId, int type, 690 int status, 691 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 692 693 /** 694 * Returns the last export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 695 * 696 * @param groupId the group ID 697 * @param type the type 698 * @param status the status 699 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 700 * @return the last matching export import configuration 701 * @throws NoSuchConfigurationException if a matching export import configuration could not be found 702 */ 703 public ExportImportConfiguration findByG_T_S_Last(long groupId, int type, 704 int status, 705 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 706 throws NoSuchConfigurationException; 707 708 /** 709 * Returns the last export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 710 * 711 * @param groupId the group ID 712 * @param type the type 713 * @param status the status 714 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 715 * @return the last matching export import configuration, or <code>null</code> if a matching export import configuration could not be found 716 */ 717 public ExportImportConfiguration fetchByG_T_S_Last(long groupId, int type, 718 int status, 719 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 720 721 /** 722 * Returns the export import configurations before and after the current export import configuration in the ordered set where groupId = ? and type = ? and status = ?. 723 * 724 * @param exportImportConfigurationId the primary key of the current export import configuration 725 * @param groupId the group ID 726 * @param type the type 727 * @param status the status 728 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 729 * @return the previous, current, and next export import configuration 730 * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found 731 */ 732 public ExportImportConfiguration[] findByG_T_S_PrevAndNext( 733 long exportImportConfigurationId, long groupId, int type, int status, 734 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator) 735 throws NoSuchConfigurationException; 736 737 /** 738 * Removes all the export import configurations where groupId = ? and type = ? and status = ? from the database. 739 * 740 * @param groupId the group ID 741 * @param type the type 742 * @param status the status 743 */ 744 public void removeByG_T_S(long groupId, int type, int status); 745 746 /** 747 * Returns the number of export import configurations where groupId = ? and type = ? and status = ?. 748 * 749 * @param groupId the group ID 750 * @param type the type 751 * @param status the status 752 * @return the number of matching export import configurations 753 */ 754 public int countByG_T_S(long groupId, int type, int status); 755 756 /** 757 * Caches the export import configuration in the entity cache if it is enabled. 758 * 759 * @param exportImportConfiguration the export import configuration 760 */ 761 public void cacheResult(ExportImportConfiguration exportImportConfiguration); 762 763 /** 764 * Caches the export import configurations in the entity cache if it is enabled. 765 * 766 * @param exportImportConfigurations the export import configurations 767 */ 768 public void cacheResult( 769 java.util.List<ExportImportConfiguration> exportImportConfigurations); 770 771 /** 772 * Creates a new export import configuration with the primary key. Does not add the export import configuration to the database. 773 * 774 * @param exportImportConfigurationId the primary key for the new export import configuration 775 * @return the new export import configuration 776 */ 777 public ExportImportConfiguration create(long exportImportConfigurationId); 778 779 /** 780 * Removes the export import configuration with the primary key from the database. Also notifies the appropriate model listeners. 781 * 782 * @param exportImportConfigurationId the primary key of the export import configuration 783 * @return the export import configuration that was removed 784 * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found 785 */ 786 public ExportImportConfiguration remove(long exportImportConfigurationId) 787 throws NoSuchConfigurationException; 788 789 public ExportImportConfiguration updateImpl( 790 ExportImportConfiguration exportImportConfiguration); 791 792 /** 793 * Returns the export import configuration with the primary key or throws a {@link NoSuchConfigurationException} if it could not be found. 794 * 795 * @param exportImportConfigurationId the primary key of the export import configuration 796 * @return the export import configuration 797 * @throws NoSuchConfigurationException if a export import configuration with the primary key could not be found 798 */ 799 public ExportImportConfiguration findByPrimaryKey( 800 long exportImportConfigurationId) throws NoSuchConfigurationException; 801 802 /** 803 * Returns the export import configuration with the primary key or returns <code>null</code> if it could not be found. 804 * 805 * @param exportImportConfigurationId the primary key of the export import configuration 806 * @return the export import configuration, or <code>null</code> if a export import configuration with the primary key could not be found 807 */ 808 public ExportImportConfiguration fetchByPrimaryKey( 809 long exportImportConfigurationId); 810 811 @Override 812 public java.util.Map<java.io.Serializable, ExportImportConfiguration> fetchByPrimaryKeys( 813 java.util.Set<java.io.Serializable> primaryKeys); 814 815 /** 816 * Returns all the export import configurations. 817 * 818 * @return the export import configurations 819 */ 820 public java.util.List<ExportImportConfiguration> findAll(); 821 822 /** 823 * Returns a range of all the export import configurations. 824 * 825 * <p> 826 * 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. 827 * </p> 828 * 829 * @param start the lower bound of the range of export import configurations 830 * @param end the upper bound of the range of export import configurations (not inclusive) 831 * @return the range of export import configurations 832 */ 833 public java.util.List<ExportImportConfiguration> findAll(int start, int end); 834 835 /** 836 * Returns an ordered range of all the export import configurations. 837 * 838 * <p> 839 * 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. 840 * </p> 841 * 842 * @param start the lower bound of the range of export import configurations 843 * @param end the upper bound of the range of export import configurations (not inclusive) 844 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 845 * @return the ordered range of export import configurations 846 */ 847 public java.util.List<ExportImportConfiguration> findAll(int start, 848 int end, 849 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator); 850 851 /** 852 * Returns an ordered range of all the export import configurations. 853 * 854 * <p> 855 * 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. 856 * </p> 857 * 858 * @param start the lower bound of the range of export import configurations 859 * @param end the upper bound of the range of export import configurations (not inclusive) 860 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 861 * @param retrieveFromCache whether to retrieve from the finder cache 862 * @return the ordered range of export import configurations 863 */ 864 public java.util.List<ExportImportConfiguration> findAll(int start, 865 int end, 866 com.liferay.portal.kernel.util.OrderByComparator<ExportImportConfiguration> orderByComparator, 867 boolean retrieveFromCache); 868 869 /** 870 * Removes all the export import configurations from the database. 871 */ 872 public void removeAll(); 873 874 /** 875 * Returns the number of export import configurations. 876 * 877 * @return the number of export import configurations 878 */ 879 public int countAll(); 880 881 @Override 882 public java.util.Set<java.lang.String> getBadColumnNames(); 883 }