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