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