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