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