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