001 /** 002 * Copyright (c) 2000-2013 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 com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 018 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 019 import com.liferay.portal.kernel.exception.SystemException; 020 import com.liferay.portal.kernel.util.OrderByComparator; 021 import com.liferay.portal.kernel.util.ReferenceRegistry; 022 import com.liferay.portal.service.ServiceContext; 023 024 import com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance; 025 026 import java.util.List; 027 028 /** 029 * The persistence utility for the m d r rule group instance service. This utility wraps {@link MDRRuleGroupInstancePersistenceImpl} and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class. 030 * 031 * <p> 032 * Caching information and settings can be found in <code>portal.properties</code> 033 * </p> 034 * 035 * @author Edward C. Han 036 * @see MDRRuleGroupInstancePersistence 037 * @see MDRRuleGroupInstancePersistenceImpl 038 * @generated 039 */ 040 public class MDRRuleGroupInstanceUtil { 041 /* 042 * NOTE FOR DEVELOPERS: 043 * 044 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 045 */ 046 047 /** 048 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 049 */ 050 public static void clearCache() { 051 getPersistence().clearCache(); 052 } 053 054 /** 055 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 056 */ 057 public static void clearCache(MDRRuleGroupInstance mdrRuleGroupInstance) { 058 getPersistence().clearCache(mdrRuleGroupInstance); 059 } 060 061 /** 062 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 063 */ 064 public long countWithDynamicQuery(DynamicQuery dynamicQuery) 065 throws SystemException { 066 return getPersistence().countWithDynamicQuery(dynamicQuery); 067 } 068 069 /** 070 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 071 */ 072 public static List<MDRRuleGroupInstance> findWithDynamicQuery( 073 DynamicQuery dynamicQuery) throws SystemException { 074 return getPersistence().findWithDynamicQuery(dynamicQuery); 075 } 076 077 /** 078 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 079 */ 080 public static List<MDRRuleGroupInstance> findWithDynamicQuery( 081 DynamicQuery dynamicQuery, int start, int end) 082 throws SystemException { 083 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 084 } 085 086 /** 087 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 088 */ 089 public static List<MDRRuleGroupInstance> findWithDynamicQuery( 090 DynamicQuery dynamicQuery, int start, int end, 091 OrderByComparator orderByComparator) throws SystemException { 092 return getPersistence() 093 .findWithDynamicQuery(dynamicQuery, start, end, 094 orderByComparator); 095 } 096 097 /** 098 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean) 099 */ 100 public static MDRRuleGroupInstance update( 101 MDRRuleGroupInstance mdrRuleGroupInstance, boolean merge) 102 throws SystemException { 103 return getPersistence().update(mdrRuleGroupInstance, merge); 104 } 105 106 /** 107 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext) 108 */ 109 public static MDRRuleGroupInstance update( 110 MDRRuleGroupInstance mdrRuleGroupInstance, boolean merge, 111 ServiceContext serviceContext) throws SystemException { 112 return getPersistence() 113 .update(mdrRuleGroupInstance, merge, serviceContext); 114 } 115 116 /** 117 * Caches the m d r rule group instance in the entity cache if it is enabled. 118 * 119 * @param mdrRuleGroupInstance the m d r rule group instance 120 */ 121 public static void cacheResult( 122 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance mdrRuleGroupInstance) { 123 getPersistence().cacheResult(mdrRuleGroupInstance); 124 } 125 126 /** 127 * Caches the m d r rule group instances in the entity cache if it is enabled. 128 * 129 * @param mdrRuleGroupInstances the m d r rule group instances 130 */ 131 public static void cacheResult( 132 java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> mdrRuleGroupInstances) { 133 getPersistence().cacheResult(mdrRuleGroupInstances); 134 } 135 136 /** 137 * Creates a new m d r rule group instance with the primary key. Does not add the m d r rule group instance to the database. 138 * 139 * @param ruleGroupInstanceId the primary key for the new m d r rule group instance 140 * @return the new m d r rule group instance 141 */ 142 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance create( 143 long ruleGroupInstanceId) { 144 return getPersistence().create(ruleGroupInstanceId); 145 } 146 147 /** 148 * Removes the m d r rule group instance with the primary key from the database. Also notifies the appropriate model listeners. 149 * 150 * @param ruleGroupInstanceId the primary key of the m d r rule group instance 151 * @return the m d r rule group instance that was removed 152 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 153 * @throws SystemException if a system exception occurred 154 */ 155 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance remove( 156 long ruleGroupInstanceId) 157 throws com.liferay.portal.kernel.exception.SystemException, 158 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 159 return getPersistence().remove(ruleGroupInstanceId); 160 } 161 162 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance updateImpl( 163 com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance mdrRuleGroupInstance, 164 boolean merge) 165 throws com.liferay.portal.kernel.exception.SystemException { 166 return getPersistence().updateImpl(mdrRuleGroupInstance, merge); 167 } 168 169 /** 170 * Returns the m d r rule group instance with the primary key or throws a {@link com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException} if it could not be found. 171 * 172 * @param ruleGroupInstanceId the primary key of the m d r rule group instance 173 * @return the m d r rule group instance 174 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 175 * @throws SystemException if a system exception occurred 176 */ 177 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByPrimaryKey( 178 long ruleGroupInstanceId) 179 throws com.liferay.portal.kernel.exception.SystemException, 180 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 181 return getPersistence().findByPrimaryKey(ruleGroupInstanceId); 182 } 183 184 /** 185 * Returns the m d r rule group instance with the primary key or returns <code>null</code> if it could not be found. 186 * 187 * @param ruleGroupInstanceId the primary key of the m d r rule group instance 188 * @return the m d r rule group instance, or <code>null</code> if a m d r rule group instance with the primary key could not be found 189 * @throws SystemException if a system exception occurred 190 */ 191 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByPrimaryKey( 192 long ruleGroupInstanceId) 193 throws com.liferay.portal.kernel.exception.SystemException { 194 return getPersistence().fetchByPrimaryKey(ruleGroupInstanceId); 195 } 196 197 /** 198 * Returns all the m d r rule group instances where uuid = ?. 199 * 200 * @param uuid the uuid 201 * @return the matching m d r rule group instances 202 * @throws SystemException if a system exception occurred 203 */ 204 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByUuid( 205 java.lang.String uuid) 206 throws com.liferay.portal.kernel.exception.SystemException { 207 return getPersistence().findByUuid(uuid); 208 } 209 210 /** 211 * Returns a range of all the m d r rule group instances where uuid = ?. 212 * 213 * <p> 214 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 215 * </p> 216 * 217 * @param uuid the uuid 218 * @param start the lower bound of the range of m d r rule group instances 219 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 220 * @return the range of matching m d r rule group instances 221 * @throws SystemException if a system exception occurred 222 */ 223 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByUuid( 224 java.lang.String uuid, int start, int end) 225 throws com.liferay.portal.kernel.exception.SystemException { 226 return getPersistence().findByUuid(uuid, start, end); 227 } 228 229 /** 230 * Returns an ordered range of all the m d r rule group instances where uuid = ?. 231 * 232 * <p> 233 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 234 * </p> 235 * 236 * @param uuid the uuid 237 * @param start the lower bound of the range of m d r rule group instances 238 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 239 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 240 * @return the ordered range of matching m d r rule group instances 241 * @throws SystemException if a system exception occurred 242 */ 243 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByUuid( 244 java.lang.String uuid, int start, int end, 245 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 246 throws com.liferay.portal.kernel.exception.SystemException { 247 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 248 } 249 250 /** 251 * Returns the first m d r rule group instance in the ordered set where uuid = ?. 252 * 253 * @param uuid the uuid 254 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 255 * @return the first matching m d r rule group instance 256 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 257 * @throws SystemException if a system exception occurred 258 */ 259 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByUuid_First( 260 java.lang.String uuid, 261 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 262 throws com.liferay.portal.kernel.exception.SystemException, 263 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 264 return getPersistence().findByUuid_First(uuid, orderByComparator); 265 } 266 267 /** 268 * Returns the first m d r rule group instance in the ordered set where uuid = ?. 269 * 270 * @param uuid the uuid 271 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 272 * @return the first matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 273 * @throws SystemException if a system exception occurred 274 */ 275 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByUuid_First( 276 java.lang.String uuid, 277 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 278 throws com.liferay.portal.kernel.exception.SystemException { 279 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 280 } 281 282 /** 283 * Returns the last m d r rule group instance in the ordered set where uuid = ?. 284 * 285 * @param uuid the uuid 286 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 287 * @return the last matching m d r rule group instance 288 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 289 * @throws SystemException if a system exception occurred 290 */ 291 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByUuid_Last( 292 java.lang.String uuid, 293 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 294 throws com.liferay.portal.kernel.exception.SystemException, 295 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 296 return getPersistence().findByUuid_Last(uuid, orderByComparator); 297 } 298 299 /** 300 * Returns the last m d r rule group instance in the ordered set where uuid = ?. 301 * 302 * @param uuid the uuid 303 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 304 * @return the last matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 305 * @throws SystemException if a system exception occurred 306 */ 307 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByUuid_Last( 308 java.lang.String uuid, 309 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 310 throws com.liferay.portal.kernel.exception.SystemException { 311 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 312 } 313 314 /** 315 * Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where uuid = ?. 316 * 317 * @param ruleGroupInstanceId the primary key of the current m d r rule group instance 318 * @param uuid the uuid 319 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 320 * @return the previous, current, and next m d r rule group instance 321 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 322 * @throws SystemException if a system exception occurred 323 */ 324 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance[] findByUuid_PrevAndNext( 325 long ruleGroupInstanceId, java.lang.String uuid, 326 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 327 throws com.liferay.portal.kernel.exception.SystemException, 328 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 329 return getPersistence() 330 .findByUuid_PrevAndNext(ruleGroupInstanceId, uuid, 331 orderByComparator); 332 } 333 334 /** 335 * Returns the m d r rule group instance where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException} if it could not be found. 336 * 337 * @param uuid the uuid 338 * @param groupId the group ID 339 * @return the matching m d r rule group instance 340 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 341 * @throws SystemException if a system exception occurred 342 */ 343 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByUUID_G( 344 java.lang.String uuid, long groupId) 345 throws com.liferay.portal.kernel.exception.SystemException, 346 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 347 return getPersistence().findByUUID_G(uuid, groupId); 348 } 349 350 /** 351 * Returns the m d r rule group instance where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 352 * 353 * @param uuid the uuid 354 * @param groupId the group ID 355 * @return the matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 356 * @throws SystemException if a system exception occurred 357 */ 358 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByUUID_G( 359 java.lang.String uuid, long groupId) 360 throws com.liferay.portal.kernel.exception.SystemException { 361 return getPersistence().fetchByUUID_G(uuid, groupId); 362 } 363 364 /** 365 * Returns the m d r rule group instance where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 366 * 367 * @param uuid the uuid 368 * @param groupId the group ID 369 * @param retrieveFromCache whether to use the finder cache 370 * @return the matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 371 * @throws SystemException if a system exception occurred 372 */ 373 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByUUID_G( 374 java.lang.String uuid, long groupId, boolean retrieveFromCache) 375 throws com.liferay.portal.kernel.exception.SystemException { 376 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 377 } 378 379 /** 380 * Returns all the m d r rule group instances where groupId = ?. 381 * 382 * @param groupId the group ID 383 * @return the matching m d r rule group instances 384 * @throws SystemException if a system exception occurred 385 */ 386 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByGroupId( 387 long groupId) 388 throws com.liferay.portal.kernel.exception.SystemException { 389 return getPersistence().findByGroupId(groupId); 390 } 391 392 /** 393 * Returns a range of all the m d r rule group instances where groupId = ?. 394 * 395 * <p> 396 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 397 * </p> 398 * 399 * @param groupId the group ID 400 * @param start the lower bound of the range of m d r rule group instances 401 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 402 * @return the range of matching m d r rule group instances 403 * @throws SystemException if a system exception occurred 404 */ 405 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByGroupId( 406 long groupId, int start, int end) 407 throws com.liferay.portal.kernel.exception.SystemException { 408 return getPersistence().findByGroupId(groupId, start, end); 409 } 410 411 /** 412 * Returns an ordered range of all the m d r rule group instances where groupId = ?. 413 * 414 * <p> 415 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 416 * </p> 417 * 418 * @param groupId the group ID 419 * @param start the lower bound of the range of m d r rule group instances 420 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 421 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 422 * @return the ordered range of matching m d r rule group instances 423 * @throws SystemException if a system exception occurred 424 */ 425 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByGroupId( 426 long groupId, int start, int end, 427 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 428 throws com.liferay.portal.kernel.exception.SystemException { 429 return getPersistence() 430 .findByGroupId(groupId, start, end, orderByComparator); 431 } 432 433 /** 434 * Returns the first m d r rule group instance in the ordered set where groupId = ?. 435 * 436 * @param groupId the group ID 437 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 438 * @return the first matching m d r rule group instance 439 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 440 * @throws SystemException if a system exception occurred 441 */ 442 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByGroupId_First( 443 long groupId, 444 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 445 throws com.liferay.portal.kernel.exception.SystemException, 446 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 447 return getPersistence().findByGroupId_First(groupId, orderByComparator); 448 } 449 450 /** 451 * Returns the first m d r rule group instance in the ordered set where groupId = ?. 452 * 453 * @param groupId the group ID 454 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 455 * @return the first matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 456 * @throws SystemException if a system exception occurred 457 */ 458 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByGroupId_First( 459 long groupId, 460 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 461 throws com.liferay.portal.kernel.exception.SystemException { 462 return getPersistence().fetchByGroupId_First(groupId, orderByComparator); 463 } 464 465 /** 466 * Returns the last m d r rule group instance in the ordered set where groupId = ?. 467 * 468 * @param groupId the group ID 469 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 470 * @return the last matching m d r rule group instance 471 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 472 * @throws SystemException if a system exception occurred 473 */ 474 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByGroupId_Last( 475 long groupId, 476 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 477 throws com.liferay.portal.kernel.exception.SystemException, 478 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 479 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 480 } 481 482 /** 483 * Returns the last m d r rule group instance in the ordered set where groupId = ?. 484 * 485 * @param groupId the group ID 486 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 487 * @return the last matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 488 * @throws SystemException if a system exception occurred 489 */ 490 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByGroupId_Last( 491 long groupId, 492 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 493 throws com.liferay.portal.kernel.exception.SystemException { 494 return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); 495 } 496 497 /** 498 * Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where groupId = ?. 499 * 500 * @param ruleGroupInstanceId the primary key of the current m d r rule group instance 501 * @param groupId the group ID 502 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 503 * @return the previous, current, and next m d r rule group instance 504 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 505 * @throws SystemException if a system exception occurred 506 */ 507 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance[] findByGroupId_PrevAndNext( 508 long ruleGroupInstanceId, long groupId, 509 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 510 throws com.liferay.portal.kernel.exception.SystemException, 511 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 512 return getPersistence() 513 .findByGroupId_PrevAndNext(ruleGroupInstanceId, groupId, 514 orderByComparator); 515 } 516 517 /** 518 * Returns all the m d r rule group instances that the user has permission to view where groupId = ?. 519 * 520 * @param groupId the group ID 521 * @return the matching m d r rule group instances that the user has permission to view 522 * @throws SystemException if a system exception occurred 523 */ 524 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> filterFindByGroupId( 525 long groupId) 526 throws com.liferay.portal.kernel.exception.SystemException { 527 return getPersistence().filterFindByGroupId(groupId); 528 } 529 530 /** 531 * Returns a range of all the m d r rule group instances that the user has permission to view where groupId = ?. 532 * 533 * <p> 534 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 535 * </p> 536 * 537 * @param groupId the group ID 538 * @param start the lower bound of the range of m d r rule group instances 539 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 540 * @return the range of matching m d r rule group instances that the user has permission to view 541 * @throws SystemException if a system exception occurred 542 */ 543 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> filterFindByGroupId( 544 long groupId, int start, int end) 545 throws com.liferay.portal.kernel.exception.SystemException { 546 return getPersistence().filterFindByGroupId(groupId, start, end); 547 } 548 549 /** 550 * Returns an ordered range of all the m d r rule group instances that the user has permissions to view where groupId = ?. 551 * 552 * <p> 553 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 554 * </p> 555 * 556 * @param groupId the group ID 557 * @param start the lower bound of the range of m d r rule group instances 558 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 559 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 560 * @return the ordered range of matching m d r rule group instances that the user has permission to view 561 * @throws SystemException if a system exception occurred 562 */ 563 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> filterFindByGroupId( 564 long groupId, int start, int end, 565 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 566 throws com.liferay.portal.kernel.exception.SystemException { 567 return getPersistence() 568 .filterFindByGroupId(groupId, start, end, orderByComparator); 569 } 570 571 /** 572 * Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set of m d r rule group instances that the user has permission to view where groupId = ?. 573 * 574 * @param ruleGroupInstanceId the primary key of the current m d r rule group instance 575 * @param groupId the group ID 576 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 577 * @return the previous, current, and next m d r rule group instance 578 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 579 * @throws SystemException if a system exception occurred 580 */ 581 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance[] filterFindByGroupId_PrevAndNext( 582 long ruleGroupInstanceId, long groupId, 583 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 584 throws com.liferay.portal.kernel.exception.SystemException, 585 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 586 return getPersistence() 587 .filterFindByGroupId_PrevAndNext(ruleGroupInstanceId, 588 groupId, orderByComparator); 589 } 590 591 /** 592 * Returns all the m d r rule group instances where ruleGroupId = ?. 593 * 594 * @param ruleGroupId the rule group ID 595 * @return the matching m d r rule group instances 596 * @throws SystemException if a system exception occurred 597 */ 598 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByRuleGroupId( 599 long ruleGroupId) 600 throws com.liferay.portal.kernel.exception.SystemException { 601 return getPersistence().findByRuleGroupId(ruleGroupId); 602 } 603 604 /** 605 * Returns a range of all the m d r rule group instances where ruleGroupId = ?. 606 * 607 * <p> 608 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 609 * </p> 610 * 611 * @param ruleGroupId the rule group ID 612 * @param start the lower bound of the range of m d r rule group instances 613 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 614 * @return the range of matching m d r rule group instances 615 * @throws SystemException if a system exception occurred 616 */ 617 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByRuleGroupId( 618 long ruleGroupId, int start, int end) 619 throws com.liferay.portal.kernel.exception.SystemException { 620 return getPersistence().findByRuleGroupId(ruleGroupId, start, end); 621 } 622 623 /** 624 * Returns an ordered range of all the m d r rule group instances where ruleGroupId = ?. 625 * 626 * <p> 627 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 628 * </p> 629 * 630 * @param ruleGroupId the rule group ID 631 * @param start the lower bound of the range of m d r rule group instances 632 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 633 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 634 * @return the ordered range of matching m d r rule group instances 635 * @throws SystemException if a system exception occurred 636 */ 637 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByRuleGroupId( 638 long ruleGroupId, int start, int end, 639 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 640 throws com.liferay.portal.kernel.exception.SystemException { 641 return getPersistence() 642 .findByRuleGroupId(ruleGroupId, start, end, orderByComparator); 643 } 644 645 /** 646 * Returns the first m d r rule group instance in the ordered set where ruleGroupId = ?. 647 * 648 * @param ruleGroupId the rule group ID 649 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 650 * @return the first matching m d r rule group instance 651 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 652 * @throws SystemException if a system exception occurred 653 */ 654 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByRuleGroupId_First( 655 long ruleGroupId, 656 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 657 throws com.liferay.portal.kernel.exception.SystemException, 658 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 659 return getPersistence() 660 .findByRuleGroupId_First(ruleGroupId, orderByComparator); 661 } 662 663 /** 664 * Returns the first m d r rule group instance in the ordered set where ruleGroupId = ?. 665 * 666 * @param ruleGroupId the rule group ID 667 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 668 * @return the first matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 669 * @throws SystemException if a system exception occurred 670 */ 671 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByRuleGroupId_First( 672 long ruleGroupId, 673 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 674 throws com.liferay.portal.kernel.exception.SystemException { 675 return getPersistence() 676 .fetchByRuleGroupId_First(ruleGroupId, orderByComparator); 677 } 678 679 /** 680 * Returns the last m d r rule group instance in the ordered set where ruleGroupId = ?. 681 * 682 * @param ruleGroupId the rule group ID 683 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 684 * @return the last matching m d r rule group instance 685 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 686 * @throws SystemException if a system exception occurred 687 */ 688 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByRuleGroupId_Last( 689 long ruleGroupId, 690 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 691 throws com.liferay.portal.kernel.exception.SystemException, 692 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 693 return getPersistence() 694 .findByRuleGroupId_Last(ruleGroupId, orderByComparator); 695 } 696 697 /** 698 * Returns the last m d r rule group instance in the ordered set where ruleGroupId = ?. 699 * 700 * @param ruleGroupId the rule group ID 701 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 702 * @return the last matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 703 * @throws SystemException if a system exception occurred 704 */ 705 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByRuleGroupId_Last( 706 long ruleGroupId, 707 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 708 throws com.liferay.portal.kernel.exception.SystemException { 709 return getPersistence() 710 .fetchByRuleGroupId_Last(ruleGroupId, orderByComparator); 711 } 712 713 /** 714 * Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where ruleGroupId = ?. 715 * 716 * @param ruleGroupInstanceId the primary key of the current m d r rule group instance 717 * @param ruleGroupId the rule group ID 718 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 719 * @return the previous, current, and next m d r rule group instance 720 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 721 * @throws SystemException if a system exception occurred 722 */ 723 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance[] findByRuleGroupId_PrevAndNext( 724 long ruleGroupInstanceId, long ruleGroupId, 725 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 726 throws com.liferay.portal.kernel.exception.SystemException, 727 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 728 return getPersistence() 729 .findByRuleGroupId_PrevAndNext(ruleGroupInstanceId, 730 ruleGroupId, orderByComparator); 731 } 732 733 /** 734 * Returns all the m d r rule group instances where classNameId = ? and classPK = ?. 735 * 736 * @param classNameId the class name ID 737 * @param classPK the class p k 738 * @return the matching m d r rule group instances 739 * @throws SystemException if a system exception occurred 740 */ 741 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByC_C( 742 long classNameId, long classPK) 743 throws com.liferay.portal.kernel.exception.SystemException { 744 return getPersistence().findByC_C(classNameId, classPK); 745 } 746 747 /** 748 * Returns a range of all the m d r rule group instances where classNameId = ? and classPK = ?. 749 * 750 * <p> 751 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 752 * </p> 753 * 754 * @param classNameId the class name ID 755 * @param classPK the class p k 756 * @param start the lower bound of the range of m d r rule group instances 757 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 758 * @return the range of matching m d r rule group instances 759 * @throws SystemException if a system exception occurred 760 */ 761 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByC_C( 762 long classNameId, long classPK, int start, int end) 763 throws com.liferay.portal.kernel.exception.SystemException { 764 return getPersistence().findByC_C(classNameId, classPK, start, end); 765 } 766 767 /** 768 * Returns an ordered range of all the m d r rule group instances where classNameId = ? and classPK = ?. 769 * 770 * <p> 771 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 772 * </p> 773 * 774 * @param classNameId the class name ID 775 * @param classPK the class p k 776 * @param start the lower bound of the range of m d r rule group instances 777 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 778 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 779 * @return the ordered range of matching m d r rule group instances 780 * @throws SystemException if a system exception occurred 781 */ 782 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByC_C( 783 long classNameId, long classPK, int start, int end, 784 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 785 throws com.liferay.portal.kernel.exception.SystemException { 786 return getPersistence() 787 .findByC_C(classNameId, classPK, start, end, 788 orderByComparator); 789 } 790 791 /** 792 * Returns the first m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. 793 * 794 * @param classNameId the class name ID 795 * @param classPK the class p k 796 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 797 * @return the first matching m d r rule group instance 798 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 799 * @throws SystemException if a system exception occurred 800 */ 801 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByC_C_First( 802 long classNameId, long classPK, 803 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 804 throws com.liferay.portal.kernel.exception.SystemException, 805 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 806 return getPersistence() 807 .findByC_C_First(classNameId, classPK, orderByComparator); 808 } 809 810 /** 811 * Returns the first m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. 812 * 813 * @param classNameId the class name ID 814 * @param classPK the class p k 815 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 816 * @return the first matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 817 * @throws SystemException if a system exception occurred 818 */ 819 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByC_C_First( 820 long classNameId, long classPK, 821 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 822 throws com.liferay.portal.kernel.exception.SystemException { 823 return getPersistence() 824 .fetchByC_C_First(classNameId, classPK, orderByComparator); 825 } 826 827 /** 828 * Returns the last m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. 829 * 830 * @param classNameId the class name ID 831 * @param classPK the class p k 832 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 833 * @return the last matching m d r rule group instance 834 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 835 * @throws SystemException if a system exception occurred 836 */ 837 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByC_C_Last( 838 long classNameId, long classPK, 839 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 840 throws com.liferay.portal.kernel.exception.SystemException, 841 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 842 return getPersistence() 843 .findByC_C_Last(classNameId, classPK, orderByComparator); 844 } 845 846 /** 847 * Returns the last m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. 848 * 849 * @param classNameId the class name ID 850 * @param classPK the class p k 851 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 852 * @return the last matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 853 * @throws SystemException if a system exception occurred 854 */ 855 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByC_C_Last( 856 long classNameId, long classPK, 857 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 858 throws com.liferay.portal.kernel.exception.SystemException { 859 return getPersistence() 860 .fetchByC_C_Last(classNameId, classPK, orderByComparator); 861 } 862 863 /** 864 * Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where classNameId = ? and classPK = ?. 865 * 866 * @param ruleGroupInstanceId the primary key of the current m d r rule group instance 867 * @param classNameId the class name ID 868 * @param classPK the class p k 869 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 870 * @return the previous, current, and next m d r rule group instance 871 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 872 * @throws SystemException if a system exception occurred 873 */ 874 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance[] findByC_C_PrevAndNext( 875 long ruleGroupInstanceId, long classNameId, long classPK, 876 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 877 throws com.liferay.portal.kernel.exception.SystemException, 878 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 879 return getPersistence() 880 .findByC_C_PrevAndNext(ruleGroupInstanceId, classNameId, 881 classPK, orderByComparator); 882 } 883 884 /** 885 * Returns all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. 886 * 887 * @param groupId the group ID 888 * @param classNameId the class name ID 889 * @param classPK the class p k 890 * @return the matching m d r rule group instances 891 * @throws SystemException if a system exception occurred 892 */ 893 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByG_C_C( 894 long groupId, long classNameId, long classPK) 895 throws com.liferay.portal.kernel.exception.SystemException { 896 return getPersistence().findByG_C_C(groupId, classNameId, classPK); 897 } 898 899 /** 900 * Returns a range of all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. 901 * 902 * <p> 903 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 904 * </p> 905 * 906 * @param groupId the group ID 907 * @param classNameId the class name ID 908 * @param classPK the class p k 909 * @param start the lower bound of the range of m d r rule group instances 910 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 911 * @return the range of matching m d r rule group instances 912 * @throws SystemException if a system exception occurred 913 */ 914 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByG_C_C( 915 long groupId, long classNameId, long classPK, int start, int end) 916 throws com.liferay.portal.kernel.exception.SystemException { 917 return getPersistence() 918 .findByG_C_C(groupId, classNameId, classPK, start, end); 919 } 920 921 /** 922 * Returns an ordered range of all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. 923 * 924 * <p> 925 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 926 * </p> 927 * 928 * @param groupId the group ID 929 * @param classNameId the class name ID 930 * @param classPK the class p k 931 * @param start the lower bound of the range of m d r rule group instances 932 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 933 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 934 * @return the ordered range of matching m d r rule group instances 935 * @throws SystemException if a system exception occurred 936 */ 937 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findByG_C_C( 938 long groupId, long classNameId, long classPK, int start, int end, 939 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 940 throws com.liferay.portal.kernel.exception.SystemException { 941 return getPersistence() 942 .findByG_C_C(groupId, classNameId, classPK, start, end, 943 orderByComparator); 944 } 945 946 /** 947 * Returns the first m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 948 * 949 * @param groupId the group ID 950 * @param classNameId the class name ID 951 * @param classPK the class p k 952 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 953 * @return the first matching m d r rule group instance 954 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 955 * @throws SystemException if a system exception occurred 956 */ 957 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByG_C_C_First( 958 long groupId, long classNameId, long classPK, 959 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 960 throws com.liferay.portal.kernel.exception.SystemException, 961 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 962 return getPersistence() 963 .findByG_C_C_First(groupId, classNameId, classPK, 964 orderByComparator); 965 } 966 967 /** 968 * Returns the first m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 969 * 970 * @param groupId the group ID 971 * @param classNameId the class name ID 972 * @param classPK the class p k 973 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 974 * @return the first matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 975 * @throws SystemException if a system exception occurred 976 */ 977 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByG_C_C_First( 978 long groupId, long classNameId, long classPK, 979 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 980 throws com.liferay.portal.kernel.exception.SystemException { 981 return getPersistence() 982 .fetchByG_C_C_First(groupId, classNameId, classPK, 983 orderByComparator); 984 } 985 986 /** 987 * Returns the last m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 988 * 989 * @param groupId the group ID 990 * @param classNameId the class name ID 991 * @param classPK the class p k 992 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 993 * @return the last matching m d r rule group instance 994 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 995 * @throws SystemException if a system exception occurred 996 */ 997 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByG_C_C_Last( 998 long groupId, long classNameId, long classPK, 999 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1000 throws com.liferay.portal.kernel.exception.SystemException, 1001 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 1002 return getPersistence() 1003 .findByG_C_C_Last(groupId, classNameId, classPK, 1004 orderByComparator); 1005 } 1006 1007 /** 1008 * Returns the last m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 1009 * 1010 * @param groupId the group ID 1011 * @param classNameId the class name ID 1012 * @param classPK the class p k 1013 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1014 * @return the last matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 1015 * @throws SystemException if a system exception occurred 1016 */ 1017 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByG_C_C_Last( 1018 long groupId, long classNameId, long classPK, 1019 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1020 throws com.liferay.portal.kernel.exception.SystemException { 1021 return getPersistence() 1022 .fetchByG_C_C_Last(groupId, classNameId, classPK, 1023 orderByComparator); 1024 } 1025 1026 /** 1027 * Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set where groupId = ? and classNameId = ? and classPK = ?. 1028 * 1029 * @param ruleGroupInstanceId the primary key of the current m d r rule group instance 1030 * @param groupId the group ID 1031 * @param classNameId the class name ID 1032 * @param classPK the class p k 1033 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1034 * @return the previous, current, and next m d r rule group instance 1035 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 1036 * @throws SystemException if a system exception occurred 1037 */ 1038 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance[] findByG_C_C_PrevAndNext( 1039 long ruleGroupInstanceId, long groupId, long classNameId, long classPK, 1040 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1041 throws com.liferay.portal.kernel.exception.SystemException, 1042 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 1043 return getPersistence() 1044 .findByG_C_C_PrevAndNext(ruleGroupInstanceId, groupId, 1045 classNameId, classPK, orderByComparator); 1046 } 1047 1048 /** 1049 * Returns all the m d r rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 1050 * 1051 * @param groupId the group ID 1052 * @param classNameId the class name ID 1053 * @param classPK the class p k 1054 * @return the matching m d r rule group instances that the user has permission to view 1055 * @throws SystemException if a system exception occurred 1056 */ 1057 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> filterFindByG_C_C( 1058 long groupId, long classNameId, long classPK) 1059 throws com.liferay.portal.kernel.exception.SystemException { 1060 return getPersistence().filterFindByG_C_C(groupId, classNameId, classPK); 1061 } 1062 1063 /** 1064 * Returns a range of all the m d r rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 1065 * 1066 * <p> 1067 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1068 * </p> 1069 * 1070 * @param groupId the group ID 1071 * @param classNameId the class name ID 1072 * @param classPK the class p k 1073 * @param start the lower bound of the range of m d r rule group instances 1074 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 1075 * @return the range of matching m d r rule group instances that the user has permission to view 1076 * @throws SystemException if a system exception occurred 1077 */ 1078 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> filterFindByG_C_C( 1079 long groupId, long classNameId, long classPK, int start, int end) 1080 throws com.liferay.portal.kernel.exception.SystemException { 1081 return getPersistence() 1082 .filterFindByG_C_C(groupId, classNameId, classPK, start, end); 1083 } 1084 1085 /** 1086 * Returns an ordered range of all the m d r rule group instances that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. 1087 * 1088 * <p> 1089 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1090 * </p> 1091 * 1092 * @param groupId the group ID 1093 * @param classNameId the class name ID 1094 * @param classPK the class p k 1095 * @param start the lower bound of the range of m d r rule group instances 1096 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 1097 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1098 * @return the ordered range of matching m d r rule group instances that the user has permission to view 1099 * @throws SystemException if a system exception occurred 1100 */ 1101 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> filterFindByG_C_C( 1102 long groupId, long classNameId, long classPK, int start, int end, 1103 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1104 throws com.liferay.portal.kernel.exception.SystemException { 1105 return getPersistence() 1106 .filterFindByG_C_C(groupId, classNameId, classPK, start, 1107 end, orderByComparator); 1108 } 1109 1110 /** 1111 * Returns the m d r rule group instances before and after the current m d r rule group instance in the ordered set of m d r rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 1112 * 1113 * @param ruleGroupInstanceId the primary key of the current m d r rule group instance 1114 * @param groupId the group ID 1115 * @param classNameId the class name ID 1116 * @param classPK the class p k 1117 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1118 * @return the previous, current, and next m d r rule group instance 1119 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a m d r rule group instance with the primary key could not be found 1120 * @throws SystemException if a system exception occurred 1121 */ 1122 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance[] filterFindByG_C_C_PrevAndNext( 1123 long ruleGroupInstanceId, long groupId, long classNameId, long classPK, 1124 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1125 throws com.liferay.portal.kernel.exception.SystemException, 1126 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 1127 return getPersistence() 1128 .filterFindByG_C_C_PrevAndNext(ruleGroupInstanceId, groupId, 1129 classNameId, classPK, orderByComparator); 1130 } 1131 1132 /** 1133 * Returns the m d r rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? or throws a {@link com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException} if it could not be found. 1134 * 1135 * @param classNameId the class name ID 1136 * @param classPK the class p k 1137 * @param ruleGroupId the rule group ID 1138 * @return the matching m d r rule group instance 1139 * @throws com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException if a matching m d r rule group instance could not be found 1140 * @throws SystemException if a system exception occurred 1141 */ 1142 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance findByC_C_R( 1143 long classNameId, long classPK, long ruleGroupId) 1144 throws com.liferay.portal.kernel.exception.SystemException, 1145 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 1146 return getPersistence().findByC_C_R(classNameId, classPK, ruleGroupId); 1147 } 1148 1149 /** 1150 * Returns the m d r rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1151 * 1152 * @param classNameId the class name ID 1153 * @param classPK the class p k 1154 * @param ruleGroupId the rule group ID 1155 * @return the matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 1156 * @throws SystemException if a system exception occurred 1157 */ 1158 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByC_C_R( 1159 long classNameId, long classPK, long ruleGroupId) 1160 throws com.liferay.portal.kernel.exception.SystemException { 1161 return getPersistence().fetchByC_C_R(classNameId, classPK, ruleGroupId); 1162 } 1163 1164 /** 1165 * Returns the m d r rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1166 * 1167 * @param classNameId the class name ID 1168 * @param classPK the class p k 1169 * @param ruleGroupId the rule group ID 1170 * @param retrieveFromCache whether to use the finder cache 1171 * @return the matching m d r rule group instance, or <code>null</code> if a matching m d r rule group instance could not be found 1172 * @throws SystemException if a system exception occurred 1173 */ 1174 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance fetchByC_C_R( 1175 long classNameId, long classPK, long ruleGroupId, 1176 boolean retrieveFromCache) 1177 throws com.liferay.portal.kernel.exception.SystemException { 1178 return getPersistence() 1179 .fetchByC_C_R(classNameId, classPK, ruleGroupId, 1180 retrieveFromCache); 1181 } 1182 1183 /** 1184 * Returns all the m d r rule group instances. 1185 * 1186 * @return the m d r rule group instances 1187 * @throws SystemException if a system exception occurred 1188 */ 1189 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findAll() 1190 throws com.liferay.portal.kernel.exception.SystemException { 1191 return getPersistence().findAll(); 1192 } 1193 1194 /** 1195 * Returns a range of all the m d r rule group instances. 1196 * 1197 * <p> 1198 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1199 * </p> 1200 * 1201 * @param start the lower bound of the range of m d r rule group instances 1202 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 1203 * @return the range of m d r rule group instances 1204 * @throws SystemException if a system exception occurred 1205 */ 1206 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findAll( 1207 int start, int end) 1208 throws com.liferay.portal.kernel.exception.SystemException { 1209 return getPersistence().findAll(start, end); 1210 } 1211 1212 /** 1213 * Returns an ordered range of all the m d r rule group instances. 1214 * 1215 * <p> 1216 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 1217 * </p> 1218 * 1219 * @param start the lower bound of the range of m d r rule group instances 1220 * @param end the upper bound of the range of m d r rule group instances (not inclusive) 1221 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1222 * @return the ordered range of m d r rule group instances 1223 * @throws SystemException if a system exception occurred 1224 */ 1225 public static java.util.List<com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance> findAll( 1226 int start, int end, 1227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1228 throws com.liferay.portal.kernel.exception.SystemException { 1229 return getPersistence().findAll(start, end, orderByComparator); 1230 } 1231 1232 /** 1233 * Removes all the m d r rule group instances where uuid = ? from the database. 1234 * 1235 * @param uuid the uuid 1236 * @throws SystemException if a system exception occurred 1237 */ 1238 public static void removeByUuid(java.lang.String uuid) 1239 throws com.liferay.portal.kernel.exception.SystemException { 1240 getPersistence().removeByUuid(uuid); 1241 } 1242 1243 /** 1244 * Removes the m d r rule group instance where uuid = ? and groupId = ? from the database. 1245 * 1246 * @param uuid the uuid 1247 * @param groupId the group ID 1248 * @return the m d r rule group instance that was removed 1249 * @throws SystemException if a system exception occurred 1250 */ 1251 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance removeByUUID_G( 1252 java.lang.String uuid, long groupId) 1253 throws com.liferay.portal.kernel.exception.SystemException, 1254 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 1255 return getPersistence().removeByUUID_G(uuid, groupId); 1256 } 1257 1258 /** 1259 * Removes all the m d r rule group instances where groupId = ? from the database. 1260 * 1261 * @param groupId the group ID 1262 * @throws SystemException if a system exception occurred 1263 */ 1264 public static void removeByGroupId(long groupId) 1265 throws com.liferay.portal.kernel.exception.SystemException { 1266 getPersistence().removeByGroupId(groupId); 1267 } 1268 1269 /** 1270 * Removes all the m d r rule group instances where ruleGroupId = ? from the database. 1271 * 1272 * @param ruleGroupId the rule group ID 1273 * @throws SystemException if a system exception occurred 1274 */ 1275 public static void removeByRuleGroupId(long ruleGroupId) 1276 throws com.liferay.portal.kernel.exception.SystemException { 1277 getPersistence().removeByRuleGroupId(ruleGroupId); 1278 } 1279 1280 /** 1281 * Removes all the m d r rule group instances where classNameId = ? and classPK = ? from the database. 1282 * 1283 * @param classNameId the class name ID 1284 * @param classPK the class p k 1285 * @throws SystemException if a system exception occurred 1286 */ 1287 public static void removeByC_C(long classNameId, long classPK) 1288 throws com.liferay.portal.kernel.exception.SystemException { 1289 getPersistence().removeByC_C(classNameId, classPK); 1290 } 1291 1292 /** 1293 * Removes all the m d r rule group instances where groupId = ? and classNameId = ? and classPK = ? from the database. 1294 * 1295 * @param groupId the group ID 1296 * @param classNameId the class name ID 1297 * @param classPK the class p k 1298 * @throws SystemException if a system exception occurred 1299 */ 1300 public static void removeByG_C_C(long groupId, long classNameId, 1301 long classPK) 1302 throws com.liferay.portal.kernel.exception.SystemException { 1303 getPersistence().removeByG_C_C(groupId, classNameId, classPK); 1304 } 1305 1306 /** 1307 * Removes the m d r rule group instance where classNameId = ? and classPK = ? and ruleGroupId = ? from the database. 1308 * 1309 * @param classNameId the class name ID 1310 * @param classPK the class p k 1311 * @param ruleGroupId the rule group ID 1312 * @return the m d r rule group instance that was removed 1313 * @throws SystemException if a system exception occurred 1314 */ 1315 public static com.liferay.portlet.mobiledevicerules.model.MDRRuleGroupInstance removeByC_C_R( 1316 long classNameId, long classPK, long ruleGroupId) 1317 throws com.liferay.portal.kernel.exception.SystemException, 1318 com.liferay.portlet.mobiledevicerules.NoSuchRuleGroupInstanceException { 1319 return getPersistence().removeByC_C_R(classNameId, classPK, ruleGroupId); 1320 } 1321 1322 /** 1323 * Removes all the m d r rule group instances from the database. 1324 * 1325 * @throws SystemException if a system exception occurred 1326 */ 1327 public static void removeAll() 1328 throws com.liferay.portal.kernel.exception.SystemException { 1329 getPersistence().removeAll(); 1330 } 1331 1332 /** 1333 * Returns the number of m d r rule group instances where uuid = ?. 1334 * 1335 * @param uuid the uuid 1336 * @return the number of matching m d r rule group instances 1337 * @throws SystemException if a system exception occurred 1338 */ 1339 public static int countByUuid(java.lang.String uuid) 1340 throws com.liferay.portal.kernel.exception.SystemException { 1341 return getPersistence().countByUuid(uuid); 1342 } 1343 1344 /** 1345 * Returns the number of m d r rule group instances where uuid = ? and groupId = ?. 1346 * 1347 * @param uuid the uuid 1348 * @param groupId the group ID 1349 * @return the number of matching m d r rule group instances 1350 * @throws SystemException if a system exception occurred 1351 */ 1352 public static int countByUUID_G(java.lang.String uuid, long groupId) 1353 throws com.liferay.portal.kernel.exception.SystemException { 1354 return getPersistence().countByUUID_G(uuid, groupId); 1355 } 1356 1357 /** 1358 * Returns the number of m d r rule group instances where groupId = ?. 1359 * 1360 * @param groupId the group ID 1361 * @return the number of matching m d r rule group instances 1362 * @throws SystemException if a system exception occurred 1363 */ 1364 public static int countByGroupId(long groupId) 1365 throws com.liferay.portal.kernel.exception.SystemException { 1366 return getPersistence().countByGroupId(groupId); 1367 } 1368 1369 /** 1370 * Returns the number of m d r rule group instances that the user has permission to view where groupId = ?. 1371 * 1372 * @param groupId the group ID 1373 * @return the number of matching m d r rule group instances that the user has permission to view 1374 * @throws SystemException if a system exception occurred 1375 */ 1376 public static int filterCountByGroupId(long groupId) 1377 throws com.liferay.portal.kernel.exception.SystemException { 1378 return getPersistence().filterCountByGroupId(groupId); 1379 } 1380 1381 /** 1382 * Returns the number of m d r rule group instances where ruleGroupId = ?. 1383 * 1384 * @param ruleGroupId the rule group ID 1385 * @return the number of matching m d r rule group instances 1386 * @throws SystemException if a system exception occurred 1387 */ 1388 public static int countByRuleGroupId(long ruleGroupId) 1389 throws com.liferay.portal.kernel.exception.SystemException { 1390 return getPersistence().countByRuleGroupId(ruleGroupId); 1391 } 1392 1393 /** 1394 * Returns the number of m d r rule group instances where classNameId = ? and classPK = ?. 1395 * 1396 * @param classNameId the class name ID 1397 * @param classPK the class p k 1398 * @return the number of matching m d r rule group instances 1399 * @throws SystemException if a system exception occurred 1400 */ 1401 public static int countByC_C(long classNameId, long classPK) 1402 throws com.liferay.portal.kernel.exception.SystemException { 1403 return getPersistence().countByC_C(classNameId, classPK); 1404 } 1405 1406 /** 1407 * Returns the number of m d r rule group instances where groupId = ? and classNameId = ? and classPK = ?. 1408 * 1409 * @param groupId the group ID 1410 * @param classNameId the class name ID 1411 * @param classPK the class p k 1412 * @return the number of matching m d r rule group instances 1413 * @throws SystemException if a system exception occurred 1414 */ 1415 public static int countByG_C_C(long groupId, long classNameId, long classPK) 1416 throws com.liferay.portal.kernel.exception.SystemException { 1417 return getPersistence().countByG_C_C(groupId, classNameId, classPK); 1418 } 1419 1420 /** 1421 * Returns the number of m d r rule group instances that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. 1422 * 1423 * @param groupId the group ID 1424 * @param classNameId the class name ID 1425 * @param classPK the class p k 1426 * @return the number of matching m d r rule group instances that the user has permission to view 1427 * @throws SystemException if a system exception occurred 1428 */ 1429 public static int filterCountByG_C_C(long groupId, long classNameId, 1430 long classPK) 1431 throws com.liferay.portal.kernel.exception.SystemException { 1432 return getPersistence().filterCountByG_C_C(groupId, classNameId, classPK); 1433 } 1434 1435 /** 1436 * Returns the number of m d r rule group instances where classNameId = ? and classPK = ? and ruleGroupId = ?. 1437 * 1438 * @param classNameId the class name ID 1439 * @param classPK the class p k 1440 * @param ruleGroupId the rule group ID 1441 * @return the number of matching m d r rule group instances 1442 * @throws SystemException if a system exception occurred 1443 */ 1444 public static int countByC_C_R(long classNameId, long classPK, 1445 long ruleGroupId) 1446 throws com.liferay.portal.kernel.exception.SystemException { 1447 return getPersistence().countByC_C_R(classNameId, classPK, ruleGroupId); 1448 } 1449 1450 /** 1451 * Returns the number of m d r rule group instances. 1452 * 1453 * @return the number of m d r rule group instances 1454 * @throws SystemException if a system exception occurred 1455 */ 1456 public static int countAll() 1457 throws com.liferay.portal.kernel.exception.SystemException { 1458 return getPersistence().countAll(); 1459 } 1460 1461 public static MDRRuleGroupInstancePersistence getPersistence() { 1462 if (_persistence == null) { 1463 _persistence = (MDRRuleGroupInstancePersistence)PortalBeanLocatorUtil.locate(MDRRuleGroupInstancePersistence.class.getName()); 1464 1465 ReferenceRegistry.registerReference(MDRRuleGroupInstanceUtil.class, 1466 "_persistence"); 1467 } 1468 1469 return _persistence; 1470 } 1471 1472 /** 1473 * @deprecated 1474 */ 1475 public void setPersistence(MDRRuleGroupInstancePersistence persistence) { 1476 } 1477 1478 private static MDRRuleGroupInstancePersistence _persistence; 1479 }