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