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