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