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