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