001 /** 002 * Copyright (c) 2000-2013 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.journal.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.exception.SystemException; 022 import com.liferay.portal.kernel.util.OrderByComparator; 023 import com.liferay.portal.kernel.util.ReferenceRegistry; 024 import com.liferay.portal.service.ServiceContext; 025 026 import com.liferay.portlet.journal.model.JournalFeed; 027 028 import java.util.List; 029 030 /** 031 * The persistence utility for the journal feed service. This utility wraps {@link JournalFeedPersistenceImpl} 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. 032 * 033 * <p> 034 * Caching information and settings can be found in <code>portal.properties</code> 035 * </p> 036 * 037 * @author Brian Wing Shun Chan 038 * @see JournalFeedPersistence 039 * @see JournalFeedPersistenceImpl 040 * @generated 041 */ 042 @ProviderType 043 public class JournalFeedUtil { 044 /* 045 * NOTE FOR DEVELOPERS: 046 * 047 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 048 */ 049 050 /** 051 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 052 */ 053 public static void clearCache() { 054 getPersistence().clearCache(); 055 } 056 057 /** 058 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 059 */ 060 public static void clearCache(JournalFeed journalFeed) { 061 getPersistence().clearCache(journalFeed); 062 } 063 064 /** 065 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 066 */ 067 public static long countWithDynamicQuery(DynamicQuery dynamicQuery) 068 throws SystemException { 069 return getPersistence().countWithDynamicQuery(dynamicQuery); 070 } 071 072 /** 073 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 074 */ 075 public static List<JournalFeed> findWithDynamicQuery( 076 DynamicQuery dynamicQuery) throws SystemException { 077 return getPersistence().findWithDynamicQuery(dynamicQuery); 078 } 079 080 /** 081 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int) 082 */ 083 public static List<JournalFeed> findWithDynamicQuery( 084 DynamicQuery dynamicQuery, int start, int end) 085 throws SystemException { 086 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 087 } 088 089 /** 090 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 091 */ 092 public static List<JournalFeed> findWithDynamicQuery( 093 DynamicQuery dynamicQuery, int start, int end, 094 OrderByComparator orderByComparator) throws SystemException { 095 return getPersistence() 096 .findWithDynamicQuery(dynamicQuery, start, end, 097 orderByComparator); 098 } 099 100 /** 101 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 102 */ 103 public static JournalFeed update(JournalFeed journalFeed) 104 throws SystemException { 105 return getPersistence().update(journalFeed); 106 } 107 108 /** 109 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 110 */ 111 public static JournalFeed update(JournalFeed journalFeed, 112 ServiceContext serviceContext) throws SystemException { 113 return getPersistence().update(journalFeed, serviceContext); 114 } 115 116 /** 117 * Returns all the journal feeds where uuid = ?. 118 * 119 * @param uuid the uuid 120 * @return the matching journal feeds 121 * @throws SystemException if a system exception occurred 122 */ 123 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 124 java.lang.String uuid) 125 throws com.liferay.portal.kernel.exception.SystemException { 126 return getPersistence().findByUuid(uuid); 127 } 128 129 /** 130 * Returns a range of all the journal feeds where uuid = ?. 131 * 132 * <p> 133 * 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.journal.model.impl.JournalFeedModelImpl}. 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. 134 * </p> 135 * 136 * @param uuid the uuid 137 * @param start the lower bound of the range of journal feeds 138 * @param end the upper bound of the range of journal feeds (not inclusive) 139 * @return the range of matching journal feeds 140 * @throws SystemException if a system exception occurred 141 */ 142 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 143 java.lang.String uuid, int start, int end) 144 throws com.liferay.portal.kernel.exception.SystemException { 145 return getPersistence().findByUuid(uuid, start, end); 146 } 147 148 /** 149 * Returns an ordered range of all the journal feeds where uuid = ?. 150 * 151 * <p> 152 * 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.journal.model.impl.JournalFeedModelImpl}. 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. 153 * </p> 154 * 155 * @param uuid the uuid 156 * @param start the lower bound of the range of journal feeds 157 * @param end the upper bound of the range of journal feeds (not inclusive) 158 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 159 * @return the ordered range of matching journal feeds 160 * @throws SystemException if a system exception occurred 161 */ 162 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid( 163 java.lang.String uuid, int start, int end, 164 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 165 throws com.liferay.portal.kernel.exception.SystemException { 166 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 167 } 168 169 /** 170 * Returns the first journal feed in the ordered set where uuid = ?. 171 * 172 * @param uuid the uuid 173 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 174 * @return the first matching journal feed 175 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 176 * @throws SystemException if a system exception occurred 177 */ 178 public static com.liferay.portlet.journal.model.JournalFeed findByUuid_First( 179 java.lang.String uuid, 180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 181 throws com.liferay.portal.kernel.exception.SystemException, 182 com.liferay.portlet.journal.NoSuchFeedException { 183 return getPersistence().findByUuid_First(uuid, orderByComparator); 184 } 185 186 /** 187 * Returns the first journal feed in the ordered set where uuid = ?. 188 * 189 * @param uuid the uuid 190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 191 * @return the first matching journal feed, or <code>null</code> if a matching journal feed could not be found 192 * @throws SystemException if a system exception occurred 193 */ 194 public static com.liferay.portlet.journal.model.JournalFeed fetchByUuid_First( 195 java.lang.String uuid, 196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 197 throws com.liferay.portal.kernel.exception.SystemException { 198 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 199 } 200 201 /** 202 * Returns the last journal feed in the ordered set where uuid = ?. 203 * 204 * @param uuid the uuid 205 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 206 * @return the last matching journal feed 207 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 208 * @throws SystemException if a system exception occurred 209 */ 210 public static com.liferay.portlet.journal.model.JournalFeed findByUuid_Last( 211 java.lang.String uuid, 212 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 213 throws com.liferay.portal.kernel.exception.SystemException, 214 com.liferay.portlet.journal.NoSuchFeedException { 215 return getPersistence().findByUuid_Last(uuid, orderByComparator); 216 } 217 218 /** 219 * Returns the last journal feed in the ordered set where uuid = ?. 220 * 221 * @param uuid the uuid 222 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 223 * @return the last matching journal feed, or <code>null</code> if a matching journal feed could not be found 224 * @throws SystemException if a system exception occurred 225 */ 226 public static com.liferay.portlet.journal.model.JournalFeed fetchByUuid_Last( 227 java.lang.String uuid, 228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 229 throws com.liferay.portal.kernel.exception.SystemException { 230 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 231 } 232 233 /** 234 * Returns the journal feeds before and after the current journal feed in the ordered set where uuid = ?. 235 * 236 * @param id the primary key of the current journal feed 237 * @param uuid the uuid 238 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 239 * @return the previous, current, and next journal feed 240 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 241 * @throws SystemException if a system exception occurred 242 */ 243 public static com.liferay.portlet.journal.model.JournalFeed[] findByUuid_PrevAndNext( 244 long id, java.lang.String uuid, 245 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 246 throws com.liferay.portal.kernel.exception.SystemException, 247 com.liferay.portlet.journal.NoSuchFeedException { 248 return getPersistence() 249 .findByUuid_PrevAndNext(id, uuid, orderByComparator); 250 } 251 252 /** 253 * Removes all the journal feeds where uuid = ? from the database. 254 * 255 * @param uuid the uuid 256 * @throws SystemException if a system exception occurred 257 */ 258 public static void removeByUuid(java.lang.String uuid) 259 throws com.liferay.portal.kernel.exception.SystemException { 260 getPersistence().removeByUuid(uuid); 261 } 262 263 /** 264 * Returns the number of journal feeds where uuid = ?. 265 * 266 * @param uuid the uuid 267 * @return the number of matching journal feeds 268 * @throws SystemException if a system exception occurred 269 */ 270 public static int countByUuid(java.lang.String uuid) 271 throws com.liferay.portal.kernel.exception.SystemException { 272 return getPersistence().countByUuid(uuid); 273 } 274 275 /** 276 * Returns the journal feed where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 277 * 278 * @param uuid the uuid 279 * @param groupId the group ID 280 * @return the matching journal feed 281 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 282 * @throws SystemException if a system exception occurred 283 */ 284 public static com.liferay.portlet.journal.model.JournalFeed findByUUID_G( 285 java.lang.String uuid, long groupId) 286 throws com.liferay.portal.kernel.exception.SystemException, 287 com.liferay.portlet.journal.NoSuchFeedException { 288 return getPersistence().findByUUID_G(uuid, groupId); 289 } 290 291 /** 292 * Returns the journal feed where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 293 * 294 * @param uuid the uuid 295 * @param groupId the group ID 296 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 297 * @throws SystemException if a system exception occurred 298 */ 299 public static com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G( 300 java.lang.String uuid, long groupId) 301 throws com.liferay.portal.kernel.exception.SystemException { 302 return getPersistence().fetchByUUID_G(uuid, groupId); 303 } 304 305 /** 306 * Returns the journal feed where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 307 * 308 * @param uuid the uuid 309 * @param groupId the group ID 310 * @param retrieveFromCache whether to use the finder cache 311 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 312 * @throws SystemException if a system exception occurred 313 */ 314 public static com.liferay.portlet.journal.model.JournalFeed fetchByUUID_G( 315 java.lang.String uuid, long groupId, boolean retrieveFromCache) 316 throws com.liferay.portal.kernel.exception.SystemException { 317 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 318 } 319 320 /** 321 * Removes the journal feed where uuid = ? and groupId = ? from the database. 322 * 323 * @param uuid the uuid 324 * @param groupId the group ID 325 * @return the journal feed that was removed 326 * @throws SystemException if a system exception occurred 327 */ 328 public static com.liferay.portlet.journal.model.JournalFeed removeByUUID_G( 329 java.lang.String uuid, long groupId) 330 throws com.liferay.portal.kernel.exception.SystemException, 331 com.liferay.portlet.journal.NoSuchFeedException { 332 return getPersistence().removeByUUID_G(uuid, groupId); 333 } 334 335 /** 336 * Returns the number of journal feeds where uuid = ? and groupId = ?. 337 * 338 * @param uuid the uuid 339 * @param groupId the group ID 340 * @return the number of matching journal feeds 341 * @throws SystemException if a system exception occurred 342 */ 343 public static int countByUUID_G(java.lang.String uuid, long groupId) 344 throws com.liferay.portal.kernel.exception.SystemException { 345 return getPersistence().countByUUID_G(uuid, groupId); 346 } 347 348 /** 349 * Returns all the journal feeds where uuid = ? and companyId = ?. 350 * 351 * @param uuid the uuid 352 * @param companyId the company ID 353 * @return the matching journal feeds 354 * @throws SystemException if a system exception occurred 355 */ 356 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid_C( 357 java.lang.String uuid, long companyId) 358 throws com.liferay.portal.kernel.exception.SystemException { 359 return getPersistence().findByUuid_C(uuid, companyId); 360 } 361 362 /** 363 * Returns a range of all the journal feeds where uuid = ? and companyId = ?. 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. 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.journal.model.impl.JournalFeedModelImpl}. 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. 367 * </p> 368 * 369 * @param uuid the uuid 370 * @param companyId the company ID 371 * @param start the lower bound of the range of journal feeds 372 * @param end the upper bound of the range of journal feeds (not inclusive) 373 * @return the range of matching journal feeds 374 * @throws SystemException if a system exception occurred 375 */ 376 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid_C( 377 java.lang.String uuid, long companyId, int start, int end) 378 throws com.liferay.portal.kernel.exception.SystemException { 379 return getPersistence().findByUuid_C(uuid, companyId, start, end); 380 } 381 382 /** 383 * Returns an ordered range of all the journal feeds where uuid = ? and companyId = ?. 384 * 385 * <p> 386 * 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.journal.model.impl.JournalFeedModelImpl}. 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. 387 * </p> 388 * 389 * @param uuid the uuid 390 * @param companyId the company ID 391 * @param start the lower bound of the range of journal feeds 392 * @param end the upper bound of the range of journal feeds (not inclusive) 393 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 394 * @return the ordered range of matching journal feeds 395 * @throws SystemException if a system exception occurred 396 */ 397 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByUuid_C( 398 java.lang.String uuid, long companyId, int start, int end, 399 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 400 throws com.liferay.portal.kernel.exception.SystemException { 401 return getPersistence() 402 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 403 } 404 405 /** 406 * Returns the first journal feed in the ordered set where uuid = ? and companyId = ?. 407 * 408 * @param uuid the uuid 409 * @param companyId the company ID 410 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 411 * @return the first matching journal feed 412 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 413 * @throws SystemException if a system exception occurred 414 */ 415 public static com.liferay.portlet.journal.model.JournalFeed findByUuid_C_First( 416 java.lang.String uuid, long companyId, 417 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 418 throws com.liferay.portal.kernel.exception.SystemException, 419 com.liferay.portlet.journal.NoSuchFeedException { 420 return getPersistence() 421 .findByUuid_C_First(uuid, companyId, orderByComparator); 422 } 423 424 /** 425 * Returns the first journal feed in the ordered set where uuid = ? and companyId = ?. 426 * 427 * @param uuid the uuid 428 * @param companyId the company ID 429 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 430 * @return the first matching journal feed, or <code>null</code> if a matching journal feed could not be found 431 * @throws SystemException if a system exception occurred 432 */ 433 public static com.liferay.portlet.journal.model.JournalFeed fetchByUuid_C_First( 434 java.lang.String uuid, long companyId, 435 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 436 throws com.liferay.portal.kernel.exception.SystemException { 437 return getPersistence() 438 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 439 } 440 441 /** 442 * Returns the last journal feed in the ordered set where uuid = ? and companyId = ?. 443 * 444 * @param uuid the uuid 445 * @param companyId the company ID 446 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 447 * @return the last matching journal feed 448 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 449 * @throws SystemException if a system exception occurred 450 */ 451 public static com.liferay.portlet.journal.model.JournalFeed findByUuid_C_Last( 452 java.lang.String uuid, long companyId, 453 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 454 throws com.liferay.portal.kernel.exception.SystemException, 455 com.liferay.portlet.journal.NoSuchFeedException { 456 return getPersistence() 457 .findByUuid_C_Last(uuid, companyId, orderByComparator); 458 } 459 460 /** 461 * Returns the last journal feed in the ordered set where uuid = ? and companyId = ?. 462 * 463 * @param uuid the uuid 464 * @param companyId the company ID 465 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 466 * @return the last matching journal feed, or <code>null</code> if a matching journal feed could not be found 467 * @throws SystemException if a system exception occurred 468 */ 469 public static com.liferay.portlet.journal.model.JournalFeed fetchByUuid_C_Last( 470 java.lang.String uuid, long companyId, 471 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 472 throws com.liferay.portal.kernel.exception.SystemException { 473 return getPersistence() 474 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 475 } 476 477 /** 478 * Returns the journal feeds before and after the current journal feed in the ordered set where uuid = ? and companyId = ?. 479 * 480 * @param id the primary key of the current journal feed 481 * @param uuid the uuid 482 * @param companyId the company ID 483 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 484 * @return the previous, current, and next journal feed 485 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 486 * @throws SystemException if a system exception occurred 487 */ 488 public static com.liferay.portlet.journal.model.JournalFeed[] findByUuid_C_PrevAndNext( 489 long id, java.lang.String uuid, long companyId, 490 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 491 throws com.liferay.portal.kernel.exception.SystemException, 492 com.liferay.portlet.journal.NoSuchFeedException { 493 return getPersistence() 494 .findByUuid_C_PrevAndNext(id, uuid, companyId, 495 orderByComparator); 496 } 497 498 /** 499 * Removes all the journal feeds where uuid = ? and companyId = ? from the database. 500 * 501 * @param uuid the uuid 502 * @param companyId the company ID 503 * @throws SystemException if a system exception occurred 504 */ 505 public static void removeByUuid_C(java.lang.String uuid, long companyId) 506 throws com.liferay.portal.kernel.exception.SystemException { 507 getPersistence().removeByUuid_C(uuid, companyId); 508 } 509 510 /** 511 * Returns the number of journal feeds where uuid = ? and companyId = ?. 512 * 513 * @param uuid the uuid 514 * @param companyId the company ID 515 * @return the number of matching journal feeds 516 * @throws SystemException if a system exception occurred 517 */ 518 public static int countByUuid_C(java.lang.String uuid, long companyId) 519 throws com.liferay.portal.kernel.exception.SystemException { 520 return getPersistence().countByUuid_C(uuid, companyId); 521 } 522 523 /** 524 * Returns all the journal feeds where groupId = ?. 525 * 526 * @param groupId the group ID 527 * @return the matching journal feeds 528 * @throws SystemException if a system exception occurred 529 */ 530 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId( 531 long groupId) 532 throws com.liferay.portal.kernel.exception.SystemException { 533 return getPersistence().findByGroupId(groupId); 534 } 535 536 /** 537 * Returns a range of all the journal feeds where groupId = ?. 538 * 539 * <p> 540 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 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.journal.model.impl.JournalFeedModelImpl}. 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. 541 * </p> 542 * 543 * @param groupId the group ID 544 * @param start the lower bound of the range of journal feeds 545 * @param end the upper bound of the range of journal feeds (not inclusive) 546 * @return the range of matching journal feeds 547 * @throws SystemException if a system exception occurred 548 */ 549 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId( 550 long groupId, int start, int end) 551 throws com.liferay.portal.kernel.exception.SystemException { 552 return getPersistence().findByGroupId(groupId, start, end); 553 } 554 555 /** 556 * Returns an ordered range of all the journal feeds where groupId = ?. 557 * 558 * <p> 559 * 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.journal.model.impl.JournalFeedModelImpl}. 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. 560 * </p> 561 * 562 * @param groupId the group ID 563 * @param start the lower bound of the range of journal feeds 564 * @param end the upper bound of the range of journal feeds (not inclusive) 565 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 566 * @return the ordered range of matching journal feeds 567 * @throws SystemException if a system exception occurred 568 */ 569 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findByGroupId( 570 long groupId, int start, int end, 571 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 572 throws com.liferay.portal.kernel.exception.SystemException { 573 return getPersistence() 574 .findByGroupId(groupId, start, end, orderByComparator); 575 } 576 577 /** 578 * Returns the first journal feed in the ordered set where groupId = ?. 579 * 580 * @param groupId the group ID 581 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 582 * @return the first matching journal feed 583 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 584 * @throws SystemException if a system exception occurred 585 */ 586 public static com.liferay.portlet.journal.model.JournalFeed findByGroupId_First( 587 long groupId, 588 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 589 throws com.liferay.portal.kernel.exception.SystemException, 590 com.liferay.portlet.journal.NoSuchFeedException { 591 return getPersistence().findByGroupId_First(groupId, orderByComparator); 592 } 593 594 /** 595 * Returns the first journal feed in the ordered set where groupId = ?. 596 * 597 * @param groupId the group ID 598 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 599 * @return the first matching journal feed, or <code>null</code> if a matching journal feed could not be found 600 * @throws SystemException if a system exception occurred 601 */ 602 public static com.liferay.portlet.journal.model.JournalFeed fetchByGroupId_First( 603 long groupId, 604 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 605 throws com.liferay.portal.kernel.exception.SystemException { 606 return getPersistence().fetchByGroupId_First(groupId, orderByComparator); 607 } 608 609 /** 610 * Returns the last journal feed in the ordered set where groupId = ?. 611 * 612 * @param groupId the group ID 613 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 614 * @return the last matching journal feed 615 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 616 * @throws SystemException if a system exception occurred 617 */ 618 public static com.liferay.portlet.journal.model.JournalFeed findByGroupId_Last( 619 long groupId, 620 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 621 throws com.liferay.portal.kernel.exception.SystemException, 622 com.liferay.portlet.journal.NoSuchFeedException { 623 return getPersistence().findByGroupId_Last(groupId, orderByComparator); 624 } 625 626 /** 627 * Returns the last journal feed in the ordered set where groupId = ?. 628 * 629 * @param groupId the group ID 630 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 631 * @return the last matching journal feed, or <code>null</code> if a matching journal feed could not be found 632 * @throws SystemException if a system exception occurred 633 */ 634 public static com.liferay.portlet.journal.model.JournalFeed fetchByGroupId_Last( 635 long groupId, 636 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 637 throws com.liferay.portal.kernel.exception.SystemException { 638 return getPersistence().fetchByGroupId_Last(groupId, orderByComparator); 639 } 640 641 /** 642 * Returns the journal feeds before and after the current journal feed in the ordered set where groupId = ?. 643 * 644 * @param id the primary key of the current journal feed 645 * @param groupId the group ID 646 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 647 * @return the previous, current, and next journal feed 648 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 649 * @throws SystemException if a system exception occurred 650 */ 651 public static com.liferay.portlet.journal.model.JournalFeed[] findByGroupId_PrevAndNext( 652 long id, long groupId, 653 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 654 throws com.liferay.portal.kernel.exception.SystemException, 655 com.liferay.portlet.journal.NoSuchFeedException { 656 return getPersistence() 657 .findByGroupId_PrevAndNext(id, groupId, orderByComparator); 658 } 659 660 /** 661 * Returns all the journal feeds that the user has permission to view where groupId = ?. 662 * 663 * @param groupId the group ID 664 * @return the matching journal feeds that the user has permission to view 665 * @throws SystemException if a system exception occurred 666 */ 667 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId( 668 long groupId) 669 throws com.liferay.portal.kernel.exception.SystemException { 670 return getPersistence().filterFindByGroupId(groupId); 671 } 672 673 /** 674 * Returns a range of all the journal feeds that the user has permission to view where groupId = ?. 675 * 676 * <p> 677 * 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.journal.model.impl.JournalFeedModelImpl}. 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. 678 * </p> 679 * 680 * @param groupId the group ID 681 * @param start the lower bound of the range of journal feeds 682 * @param end the upper bound of the range of journal feeds (not inclusive) 683 * @return the range of matching journal feeds that the user has permission to view 684 * @throws SystemException if a system exception occurred 685 */ 686 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId( 687 long groupId, int start, int end) 688 throws com.liferay.portal.kernel.exception.SystemException { 689 return getPersistence().filterFindByGroupId(groupId, start, end); 690 } 691 692 /** 693 * Returns an ordered range of all the journal feeds that the user has permissions to view where groupId = ?. 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. 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.journal.model.impl.JournalFeedModelImpl}. 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. 697 * </p> 698 * 699 * @param groupId the group ID 700 * @param start the lower bound of the range of journal feeds 701 * @param end the upper bound of the range of journal feeds (not inclusive) 702 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 703 * @return the ordered range of matching journal feeds that the user has permission to view 704 * @throws SystemException if a system exception occurred 705 */ 706 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> filterFindByGroupId( 707 long groupId, int start, int end, 708 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 709 throws com.liferay.portal.kernel.exception.SystemException { 710 return getPersistence() 711 .filterFindByGroupId(groupId, start, end, orderByComparator); 712 } 713 714 /** 715 * Returns the journal feeds before and after the current journal feed in the ordered set of journal feeds that the user has permission to view where groupId = ?. 716 * 717 * @param id the primary key of the current journal feed 718 * @param groupId the group ID 719 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 720 * @return the previous, current, and next journal feed 721 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 722 * @throws SystemException if a system exception occurred 723 */ 724 public static com.liferay.portlet.journal.model.JournalFeed[] filterFindByGroupId_PrevAndNext( 725 long id, long groupId, 726 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 727 throws com.liferay.portal.kernel.exception.SystemException, 728 com.liferay.portlet.journal.NoSuchFeedException { 729 return getPersistence() 730 .filterFindByGroupId_PrevAndNext(id, groupId, 731 orderByComparator); 732 } 733 734 /** 735 * Removes all the journal feeds where groupId = ? from the database. 736 * 737 * @param groupId the group ID 738 * @throws SystemException if a system exception occurred 739 */ 740 public static void removeByGroupId(long groupId) 741 throws com.liferay.portal.kernel.exception.SystemException { 742 getPersistence().removeByGroupId(groupId); 743 } 744 745 /** 746 * Returns the number of journal feeds where groupId = ?. 747 * 748 * @param groupId the group ID 749 * @return the number of matching journal feeds 750 * @throws SystemException if a system exception occurred 751 */ 752 public static int countByGroupId(long groupId) 753 throws com.liferay.portal.kernel.exception.SystemException { 754 return getPersistence().countByGroupId(groupId); 755 } 756 757 /** 758 * Returns the number of journal feeds that the user has permission to view where groupId = ?. 759 * 760 * @param groupId the group ID 761 * @return the number of matching journal feeds that the user has permission to view 762 * @throws SystemException if a system exception occurred 763 */ 764 public static int filterCountByGroupId(long groupId) 765 throws com.liferay.portal.kernel.exception.SystemException { 766 return getPersistence().filterCountByGroupId(groupId); 767 } 768 769 /** 770 * Returns the journal feed where groupId = ? and feedId = ? or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 771 * 772 * @param groupId the group ID 773 * @param feedId the feed ID 774 * @return the matching journal feed 775 * @throws com.liferay.portlet.journal.NoSuchFeedException if a matching journal feed could not be found 776 * @throws SystemException if a system exception occurred 777 */ 778 public static com.liferay.portlet.journal.model.JournalFeed findByG_F( 779 long groupId, java.lang.String feedId) 780 throws com.liferay.portal.kernel.exception.SystemException, 781 com.liferay.portlet.journal.NoSuchFeedException { 782 return getPersistence().findByG_F(groupId, feedId); 783 } 784 785 /** 786 * Returns the journal feed where groupId = ? and feedId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 787 * 788 * @param groupId the group ID 789 * @param feedId the feed ID 790 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 791 * @throws SystemException if a system exception occurred 792 */ 793 public static com.liferay.portlet.journal.model.JournalFeed fetchByG_F( 794 long groupId, java.lang.String feedId) 795 throws com.liferay.portal.kernel.exception.SystemException { 796 return getPersistence().fetchByG_F(groupId, feedId); 797 } 798 799 /** 800 * Returns the journal feed where groupId = ? and feedId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 801 * 802 * @param groupId the group ID 803 * @param feedId the feed ID 804 * @param retrieveFromCache whether to use the finder cache 805 * @return the matching journal feed, or <code>null</code> if a matching journal feed could not be found 806 * @throws SystemException if a system exception occurred 807 */ 808 public static com.liferay.portlet.journal.model.JournalFeed fetchByG_F( 809 long groupId, java.lang.String feedId, boolean retrieveFromCache) 810 throws com.liferay.portal.kernel.exception.SystemException { 811 return getPersistence().fetchByG_F(groupId, feedId, retrieveFromCache); 812 } 813 814 /** 815 * Removes the journal feed where groupId = ? and feedId = ? from the database. 816 * 817 * @param groupId the group ID 818 * @param feedId the feed ID 819 * @return the journal feed that was removed 820 * @throws SystemException if a system exception occurred 821 */ 822 public static com.liferay.portlet.journal.model.JournalFeed removeByG_F( 823 long groupId, java.lang.String feedId) 824 throws com.liferay.portal.kernel.exception.SystemException, 825 com.liferay.portlet.journal.NoSuchFeedException { 826 return getPersistence().removeByG_F(groupId, feedId); 827 } 828 829 /** 830 * Returns the number of journal feeds where groupId = ? and feedId = ?. 831 * 832 * @param groupId the group ID 833 * @param feedId the feed ID 834 * @return the number of matching journal feeds 835 * @throws SystemException if a system exception occurred 836 */ 837 public static int countByG_F(long groupId, java.lang.String feedId) 838 throws com.liferay.portal.kernel.exception.SystemException { 839 return getPersistence().countByG_F(groupId, feedId); 840 } 841 842 /** 843 * Caches the journal feed in the entity cache if it is enabled. 844 * 845 * @param journalFeed the journal feed 846 */ 847 public static void cacheResult( 848 com.liferay.portlet.journal.model.JournalFeed journalFeed) { 849 getPersistence().cacheResult(journalFeed); 850 } 851 852 /** 853 * Caches the journal feeds in the entity cache if it is enabled. 854 * 855 * @param journalFeeds the journal feeds 856 */ 857 public static void cacheResult( 858 java.util.List<com.liferay.portlet.journal.model.JournalFeed> journalFeeds) { 859 getPersistence().cacheResult(journalFeeds); 860 } 861 862 /** 863 * Creates a new journal feed with the primary key. Does not add the journal feed to the database. 864 * 865 * @param id the primary key for the new journal feed 866 * @return the new journal feed 867 */ 868 public static com.liferay.portlet.journal.model.JournalFeed create(long id) { 869 return getPersistence().create(id); 870 } 871 872 /** 873 * Removes the journal feed with the primary key from the database. Also notifies the appropriate model listeners. 874 * 875 * @param id the primary key of the journal feed 876 * @return the journal feed that was removed 877 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 878 * @throws SystemException if a system exception occurred 879 */ 880 public static com.liferay.portlet.journal.model.JournalFeed remove(long id) 881 throws com.liferay.portal.kernel.exception.SystemException, 882 com.liferay.portlet.journal.NoSuchFeedException { 883 return getPersistence().remove(id); 884 } 885 886 public static com.liferay.portlet.journal.model.JournalFeed updateImpl( 887 com.liferay.portlet.journal.model.JournalFeed journalFeed) 888 throws com.liferay.portal.kernel.exception.SystemException { 889 return getPersistence().updateImpl(journalFeed); 890 } 891 892 /** 893 * Returns the journal feed with the primary key or throws a {@link com.liferay.portlet.journal.NoSuchFeedException} if it could not be found. 894 * 895 * @param id the primary key of the journal feed 896 * @return the journal feed 897 * @throws com.liferay.portlet.journal.NoSuchFeedException if a journal feed with the primary key could not be found 898 * @throws SystemException if a system exception occurred 899 */ 900 public static com.liferay.portlet.journal.model.JournalFeed findByPrimaryKey( 901 long id) 902 throws com.liferay.portal.kernel.exception.SystemException, 903 com.liferay.portlet.journal.NoSuchFeedException { 904 return getPersistence().findByPrimaryKey(id); 905 } 906 907 /** 908 * Returns the journal feed with the primary key or returns <code>null</code> if it could not be found. 909 * 910 * @param id the primary key of the journal feed 911 * @return the journal feed, or <code>null</code> if a journal feed with the primary key could not be found 912 * @throws SystemException if a system exception occurred 913 */ 914 public static com.liferay.portlet.journal.model.JournalFeed fetchByPrimaryKey( 915 long id) throws com.liferay.portal.kernel.exception.SystemException { 916 return getPersistence().fetchByPrimaryKey(id); 917 } 918 919 /** 920 * Returns all the journal feeds. 921 * 922 * @return the journal feeds 923 * @throws SystemException if a system exception occurred 924 */ 925 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll() 926 throws com.liferay.portal.kernel.exception.SystemException { 927 return getPersistence().findAll(); 928 } 929 930 /** 931 * Returns a range of all the journal feeds. 932 * 933 * <p> 934 * 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.journal.model.impl.JournalFeedModelImpl}. 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. 935 * </p> 936 * 937 * @param start the lower bound of the range of journal feeds 938 * @param end the upper bound of the range of journal feeds (not inclusive) 939 * @return the range of journal feeds 940 * @throws SystemException if a system exception occurred 941 */ 942 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll( 943 int start, int end) 944 throws com.liferay.portal.kernel.exception.SystemException { 945 return getPersistence().findAll(start, end); 946 } 947 948 /** 949 * Returns an ordered range of all the journal feeds. 950 * 951 * <p> 952 * 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.journal.model.impl.JournalFeedModelImpl}. 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. 953 * </p> 954 * 955 * @param start the lower bound of the range of journal feeds 956 * @param end the upper bound of the range of journal feeds (not inclusive) 957 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 958 * @return the ordered range of journal feeds 959 * @throws SystemException if a system exception occurred 960 */ 961 public static java.util.List<com.liferay.portlet.journal.model.JournalFeed> findAll( 962 int start, int end, 963 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 964 throws com.liferay.portal.kernel.exception.SystemException { 965 return getPersistence().findAll(start, end, orderByComparator); 966 } 967 968 /** 969 * Removes all the journal feeds from the database. 970 * 971 * @throws SystemException if a system exception occurred 972 */ 973 public static void removeAll() 974 throws com.liferay.portal.kernel.exception.SystemException { 975 getPersistence().removeAll(); 976 } 977 978 /** 979 * Returns the number of journal feeds. 980 * 981 * @return the number of journal feeds 982 * @throws SystemException if a system exception occurred 983 */ 984 public static int countAll() 985 throws com.liferay.portal.kernel.exception.SystemException { 986 return getPersistence().countAll(); 987 } 988 989 public static JournalFeedPersistence getPersistence() { 990 if (_persistence == null) { 991 _persistence = (JournalFeedPersistence)PortalBeanLocatorUtil.locate(JournalFeedPersistence.class.getName()); 992 993 ReferenceRegistry.registerReference(JournalFeedUtil.class, 994 "_persistence"); 995 } 996 997 return _persistence; 998 } 999 1000 /** 1001 * @deprecated As of 6.2.0 1002 */ 1003 public void setPersistence(JournalFeedPersistence persistence) { 1004 } 1005 1006 private static JournalFeedPersistence _persistence; 1007 }