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.mobiledevicerules.service.persistence; 016 017 import aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.mobiledevicerules.model.MDRAction; 022 023 /** 024 * The persistence interface for the m d r action service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Edward C. Han 031 * @see com.liferay.portlet.mobiledevicerules.service.persistence.impl.MDRActionPersistenceImpl 032 * @see MDRActionUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface MDRActionPersistence extends BasePersistence<MDRAction> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link MDRActionUtil} to access the m d r action persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the m d r actions where uuid = ?. 045 * 046 * @param uuid the uuid 047 * @return the matching m d r actions 048 */ 049 public java.util.List<MDRAction> findByUuid(java.lang.String uuid); 050 051 /** 052 * Returns a range of all the m d r actions where uuid = ?. 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 MDRActionModelImpl}. 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 uuid the uuid 059 * @param start the lower bound of the range of m d r actions 060 * @param end the upper bound of the range of m d r actions (not inclusive) 061 * @return the range of matching m d r actions 062 */ 063 public java.util.List<MDRAction> findByUuid(java.lang.String uuid, 064 int start, int end); 065 066 /** 067 * Returns an ordered range of all the m d r actions where uuid = ?. 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 MDRActionModelImpl}. 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 uuid the uuid 074 * @param start the lower bound of the range of m d r actions 075 * @param end the upper bound of the range of m d r actions (not inclusive) 076 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 077 * @return the ordered range of matching m d r actions 078 */ 079 public java.util.List<MDRAction> findByUuid(java.lang.String uuid, 080 int start, int end, 081 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 082 083 /** 084 * Returns the first m d r action in the ordered set where uuid = ?. 085 * 086 * @param uuid the uuid 087 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 088 * @return the first matching m d r action 089 * @throws NoSuchActionException if a matching m d r action could not be found 090 */ 091 public MDRAction findByUuid_First(java.lang.String uuid, 092 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 093 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 094 095 /** 096 * Returns the first m d r action in the ordered set where uuid = ?. 097 * 098 * @param uuid the uuid 099 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 100 * @return the first matching m d r action, or <code>null</code> if a matching m d r action could not be found 101 */ 102 public MDRAction fetchByUuid_First(java.lang.String uuid, 103 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 104 105 /** 106 * Returns the last m d r action in the ordered set where uuid = ?. 107 * 108 * @param uuid the uuid 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the last matching m d r action 111 * @throws NoSuchActionException if a matching m d r action could not be found 112 */ 113 public MDRAction findByUuid_Last(java.lang.String uuid, 114 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 115 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 116 117 /** 118 * Returns the last m d r action in the ordered set where uuid = ?. 119 * 120 * @param uuid the uuid 121 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 122 * @return the last matching m d r action, or <code>null</code> if a matching m d r action could not be found 123 */ 124 public MDRAction fetchByUuid_Last(java.lang.String uuid, 125 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 126 127 /** 128 * Returns the m d r actions before and after the current m d r action in the ordered set where uuid = ?. 129 * 130 * @param actionId the primary key of the current m d r action 131 * @param uuid the uuid 132 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 133 * @return the previous, current, and next m d r action 134 * @throws NoSuchActionException if a m d r action with the primary key could not be found 135 */ 136 public MDRAction[] findByUuid_PrevAndNext(long actionId, 137 java.lang.String uuid, 138 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 139 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 140 141 /** 142 * Removes all the m d r actions where uuid = ? from the database. 143 * 144 * @param uuid the uuid 145 */ 146 public void removeByUuid(java.lang.String uuid); 147 148 /** 149 * Returns the number of m d r actions where uuid = ?. 150 * 151 * @param uuid the uuid 152 * @return the number of matching m d r actions 153 */ 154 public int countByUuid(java.lang.String uuid); 155 156 /** 157 * Returns the m d r action where uuid = ? and groupId = ? or throws a {@link NoSuchActionException} if it could not be found. 158 * 159 * @param uuid the uuid 160 * @param groupId the group ID 161 * @return the matching m d r action 162 * @throws NoSuchActionException if a matching m d r action could not be found 163 */ 164 public MDRAction findByUUID_G(java.lang.String uuid, long groupId) 165 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 166 167 /** 168 * Returns the m d r action where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 169 * 170 * @param uuid the uuid 171 * @param groupId the group ID 172 * @return the matching m d r action, or <code>null</code> if a matching m d r action could not be found 173 */ 174 public MDRAction fetchByUUID_G(java.lang.String uuid, long groupId); 175 176 /** 177 * Returns the m d r action where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 178 * 179 * @param uuid the uuid 180 * @param groupId the group ID 181 * @param retrieveFromCache whether to use the finder cache 182 * @return the matching m d r action, or <code>null</code> if a matching m d r action could not be found 183 */ 184 public MDRAction fetchByUUID_G(java.lang.String uuid, long groupId, 185 boolean retrieveFromCache); 186 187 /** 188 * Removes the m d r action where uuid = ? and groupId = ? from the database. 189 * 190 * @param uuid the uuid 191 * @param groupId the group ID 192 * @return the m d r action that was removed 193 */ 194 public MDRAction removeByUUID_G(java.lang.String uuid, long groupId) 195 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 196 197 /** 198 * Returns the number of m d r actions where uuid = ? and groupId = ?. 199 * 200 * @param uuid the uuid 201 * @param groupId the group ID 202 * @return the number of matching m d r actions 203 */ 204 public int countByUUID_G(java.lang.String uuid, long groupId); 205 206 /** 207 * Returns all the m d r actions where uuid = ? and companyId = ?. 208 * 209 * @param uuid the uuid 210 * @param companyId the company ID 211 * @return the matching m d r actions 212 */ 213 public java.util.List<MDRAction> findByUuid_C(java.lang.String uuid, 214 long companyId); 215 216 /** 217 * Returns a range of all the m d r actions where uuid = ? and companyId = ?. 218 * 219 * <p> 220 * 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 MDRActionModelImpl}. 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. 221 * </p> 222 * 223 * @param uuid the uuid 224 * @param companyId the company ID 225 * @param start the lower bound of the range of m d r actions 226 * @param end the upper bound of the range of m d r actions (not inclusive) 227 * @return the range of matching m d r actions 228 */ 229 public java.util.List<MDRAction> findByUuid_C(java.lang.String uuid, 230 long companyId, int start, int end); 231 232 /** 233 * Returns an ordered range of all the m d r actions where uuid = ? and companyId = ?. 234 * 235 * <p> 236 * 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 MDRActionModelImpl}. 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. 237 * </p> 238 * 239 * @param uuid the uuid 240 * @param companyId the company ID 241 * @param start the lower bound of the range of m d r actions 242 * @param end the upper bound of the range of m d r actions (not inclusive) 243 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 244 * @return the ordered range of matching m d r actions 245 */ 246 public java.util.List<MDRAction> findByUuid_C(java.lang.String uuid, 247 long companyId, int start, int end, 248 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 249 250 /** 251 * Returns the first m d r action in the ordered set where uuid = ? and companyId = ?. 252 * 253 * @param uuid the uuid 254 * @param companyId the company ID 255 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 256 * @return the first matching m d r action 257 * @throws NoSuchActionException if a matching m d r action could not be found 258 */ 259 public MDRAction findByUuid_C_First(java.lang.String uuid, long companyId, 260 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 261 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 262 263 /** 264 * Returns the first m d r action in the ordered set where uuid = ? and companyId = ?. 265 * 266 * @param uuid the uuid 267 * @param companyId the company ID 268 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 269 * @return the first matching m d r action, or <code>null</code> if a matching m d r action could not be found 270 */ 271 public MDRAction fetchByUuid_C_First(java.lang.String uuid, long companyId, 272 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 273 274 /** 275 * Returns the last m d r action in the ordered set where uuid = ? and companyId = ?. 276 * 277 * @param uuid the uuid 278 * @param companyId the company ID 279 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 280 * @return the last matching m d r action 281 * @throws NoSuchActionException if a matching m d r action could not be found 282 */ 283 public MDRAction findByUuid_C_Last(java.lang.String uuid, long companyId, 284 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 285 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 286 287 /** 288 * Returns the last m d r action in the ordered set where uuid = ? and companyId = ?. 289 * 290 * @param uuid the uuid 291 * @param companyId the company ID 292 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 293 * @return the last matching m d r action, or <code>null</code> if a matching m d r action could not be found 294 */ 295 public MDRAction fetchByUuid_C_Last(java.lang.String uuid, long companyId, 296 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 297 298 /** 299 * Returns the m d r actions before and after the current m d r action in the ordered set where uuid = ? and companyId = ?. 300 * 301 * @param actionId the primary key of the current m d r action 302 * @param uuid the uuid 303 * @param companyId the company ID 304 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 305 * @return the previous, current, and next m d r action 306 * @throws NoSuchActionException if a m d r action with the primary key could not be found 307 */ 308 public MDRAction[] findByUuid_C_PrevAndNext(long actionId, 309 java.lang.String uuid, long companyId, 310 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 311 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 312 313 /** 314 * Removes all the m d r actions where uuid = ? and companyId = ? from the database. 315 * 316 * @param uuid the uuid 317 * @param companyId the company ID 318 */ 319 public void removeByUuid_C(java.lang.String uuid, long companyId); 320 321 /** 322 * Returns the number of m d r actions where uuid = ? and companyId = ?. 323 * 324 * @param uuid the uuid 325 * @param companyId the company ID 326 * @return the number of matching m d r actions 327 */ 328 public int countByUuid_C(java.lang.String uuid, long companyId); 329 330 /** 331 * Returns all the m d r actions where ruleGroupInstanceId = ?. 332 * 333 * @param ruleGroupInstanceId the rule group instance ID 334 * @return the matching m d r actions 335 */ 336 public java.util.List<MDRAction> findByRuleGroupInstanceId( 337 long ruleGroupInstanceId); 338 339 /** 340 * Returns a range of all the m d r actions where ruleGroupInstanceId = ?. 341 * 342 * <p> 343 * 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 MDRActionModelImpl}. 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. 344 * </p> 345 * 346 * @param ruleGroupInstanceId the rule group instance ID 347 * @param start the lower bound of the range of m d r actions 348 * @param end the upper bound of the range of m d r actions (not inclusive) 349 * @return the range of matching m d r actions 350 */ 351 public java.util.List<MDRAction> findByRuleGroupInstanceId( 352 long ruleGroupInstanceId, int start, int end); 353 354 /** 355 * Returns an ordered range of all the m d r actions where ruleGroupInstanceId = ?. 356 * 357 * <p> 358 * 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 MDRActionModelImpl}. 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. 359 * </p> 360 * 361 * @param ruleGroupInstanceId the rule group instance ID 362 * @param start the lower bound of the range of m d r actions 363 * @param end the upper bound of the range of m d r actions (not inclusive) 364 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 365 * @return the ordered range of matching m d r actions 366 */ 367 public java.util.List<MDRAction> findByRuleGroupInstanceId( 368 long ruleGroupInstanceId, int start, int end, 369 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 370 371 /** 372 * Returns the first m d r action in the ordered set where ruleGroupInstanceId = ?. 373 * 374 * @param ruleGroupInstanceId the rule group instance ID 375 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 376 * @return the first matching m d r action 377 * @throws NoSuchActionException if a matching m d r action could not be found 378 */ 379 public MDRAction findByRuleGroupInstanceId_First(long ruleGroupInstanceId, 380 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 381 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 382 383 /** 384 * Returns the first m d r action in the ordered set where ruleGroupInstanceId = ?. 385 * 386 * @param ruleGroupInstanceId the rule group instance ID 387 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 388 * @return the first matching m d r action, or <code>null</code> if a matching m d r action could not be found 389 */ 390 public MDRAction fetchByRuleGroupInstanceId_First( 391 long ruleGroupInstanceId, 392 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 393 394 /** 395 * Returns the last m d r action in the ordered set where ruleGroupInstanceId = ?. 396 * 397 * @param ruleGroupInstanceId the rule group instance ID 398 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 399 * @return the last matching m d r action 400 * @throws NoSuchActionException if a matching m d r action could not be found 401 */ 402 public MDRAction findByRuleGroupInstanceId_Last(long ruleGroupInstanceId, 403 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 404 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 405 406 /** 407 * Returns the last m d r action in the ordered set where ruleGroupInstanceId = ?. 408 * 409 * @param ruleGroupInstanceId the rule group instance ID 410 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 411 * @return the last matching m d r action, or <code>null</code> if a matching m d r action could not be found 412 */ 413 public MDRAction fetchByRuleGroupInstanceId_Last(long ruleGroupInstanceId, 414 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 415 416 /** 417 * Returns the m d r actions before and after the current m d r action in the ordered set where ruleGroupInstanceId = ?. 418 * 419 * @param actionId the primary key of the current m d r action 420 * @param ruleGroupInstanceId the rule group instance ID 421 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 422 * @return the previous, current, and next m d r action 423 * @throws NoSuchActionException if a m d r action with the primary key could not be found 424 */ 425 public MDRAction[] findByRuleGroupInstanceId_PrevAndNext(long actionId, 426 long ruleGroupInstanceId, 427 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator) 428 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 429 430 /** 431 * Removes all the m d r actions where ruleGroupInstanceId = ? from the database. 432 * 433 * @param ruleGroupInstanceId the rule group instance ID 434 */ 435 public void removeByRuleGroupInstanceId(long ruleGroupInstanceId); 436 437 /** 438 * Returns the number of m d r actions where ruleGroupInstanceId = ?. 439 * 440 * @param ruleGroupInstanceId the rule group instance ID 441 * @return the number of matching m d r actions 442 */ 443 public int countByRuleGroupInstanceId(long ruleGroupInstanceId); 444 445 /** 446 * Caches the m d r action in the entity cache if it is enabled. 447 * 448 * @param mdrAction the m d r action 449 */ 450 public void cacheResult(MDRAction mdrAction); 451 452 /** 453 * Caches the m d r actions in the entity cache if it is enabled. 454 * 455 * @param mdrActions the m d r actions 456 */ 457 public void cacheResult(java.util.List<MDRAction> mdrActions); 458 459 /** 460 * Creates a new m d r action with the primary key. Does not add the m d r action to the database. 461 * 462 * @param actionId the primary key for the new m d r action 463 * @return the new m d r action 464 */ 465 public MDRAction create(long actionId); 466 467 /** 468 * Removes the m d r action with the primary key from the database. Also notifies the appropriate model listeners. 469 * 470 * @param actionId the primary key of the m d r action 471 * @return the m d r action that was removed 472 * @throws NoSuchActionException if a m d r action with the primary key could not be found 473 */ 474 public MDRAction remove(long actionId) 475 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 476 477 public MDRAction updateImpl(MDRAction mdrAction); 478 479 /** 480 * Returns the m d r action with the primary key or throws a {@link NoSuchActionException} if it could not be found. 481 * 482 * @param actionId the primary key of the m d r action 483 * @return the m d r action 484 * @throws NoSuchActionException if a m d r action with the primary key could not be found 485 */ 486 public MDRAction findByPrimaryKey(long actionId) 487 throws com.liferay.portlet.mobiledevicerules.NoSuchActionException; 488 489 /** 490 * Returns the m d r action with the primary key or returns <code>null</code> if it could not be found. 491 * 492 * @param actionId the primary key of the m d r action 493 * @return the m d r action, or <code>null</code> if a m d r action with the primary key could not be found 494 */ 495 public MDRAction fetchByPrimaryKey(long actionId); 496 497 @Override 498 public java.util.Map<java.io.Serializable, MDRAction> fetchByPrimaryKeys( 499 java.util.Set<java.io.Serializable> primaryKeys); 500 501 /** 502 * Returns all the m d r actions. 503 * 504 * @return the m d r actions 505 */ 506 public java.util.List<MDRAction> findAll(); 507 508 /** 509 * Returns a range of all the m d r actions. 510 * 511 * <p> 512 * 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 MDRActionModelImpl}. 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. 513 * </p> 514 * 515 * @param start the lower bound of the range of m d r actions 516 * @param end the upper bound of the range of m d r actions (not inclusive) 517 * @return the range of m d r actions 518 */ 519 public java.util.List<MDRAction> findAll(int start, int end); 520 521 /** 522 * Returns an ordered range of all the m d r actions. 523 * 524 * <p> 525 * 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 MDRActionModelImpl}. 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. 526 * </p> 527 * 528 * @param start the lower bound of the range of m d r actions 529 * @param end the upper bound of the range of m d r actions (not inclusive) 530 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 531 * @return the ordered range of m d r actions 532 */ 533 public java.util.List<MDRAction> findAll(int start, int end, 534 com.liferay.portal.kernel.util.OrderByComparator<MDRAction> orderByComparator); 535 536 /** 537 * Removes all the m d r actions from the database. 538 */ 539 public void removeAll(); 540 541 /** 542 * Returns the number of m d r actions. 543 * 544 * @return the number of m d r actions 545 */ 546 public int countAll(); 547 }