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