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