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