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.wiki.service.persistence; 016 017 import com.liferay.portal.service.persistence.BasePersistence; 018 019 import com.liferay.portlet.wiki.model.WikiPage; 020 021 /** 022 * The persistence interface for the wiki page 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 WikiPagePersistenceImpl 030 * @see WikiPageUtil 031 * @generated 032 */ 033 public interface WikiPagePersistence extends BasePersistence<WikiPage> { 034 /* 035 * NOTE FOR DEVELOPERS: 036 * 037 * Never modify or reference this interface directly. Always use {@link WikiPageUtil} to access the wiki page persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 038 */ 039 040 /** 041 * Caches the wiki page in the entity cache if it is enabled. 042 * 043 * @param wikiPage the wiki page 044 */ 045 public void cacheResult(com.liferay.portlet.wiki.model.WikiPage wikiPage); 046 047 /** 048 * Caches the wiki pages in the entity cache if it is enabled. 049 * 050 * @param wikiPages the wiki pages 051 */ 052 public void cacheResult( 053 java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages); 054 055 /** 056 * Creates a new wiki page with the primary key. Does not add the wiki page to the database. 057 * 058 * @param pageId the primary key for the new wiki page 059 * @return the new wiki page 060 */ 061 public com.liferay.portlet.wiki.model.WikiPage create(long pageId); 062 063 /** 064 * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners. 065 * 066 * @param pageId the primary key of the wiki page 067 * @return the wiki page that was removed 068 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 069 * @throws SystemException if a system exception occurred 070 */ 071 public com.liferay.portlet.wiki.model.WikiPage remove(long pageId) 072 throws com.liferay.portal.kernel.exception.SystemException, 073 com.liferay.portlet.wiki.NoSuchPageException; 074 075 public com.liferay.portlet.wiki.model.WikiPage updateImpl( 076 com.liferay.portlet.wiki.model.WikiPage wikiPage) 077 throws com.liferay.portal.kernel.exception.SystemException; 078 079 /** 080 * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 081 * 082 * @param pageId the primary key of the wiki page 083 * @return the wiki page 084 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 085 * @throws SystemException if a system exception occurred 086 */ 087 public com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey(long pageId) 088 throws com.liferay.portal.kernel.exception.SystemException, 089 com.liferay.portlet.wiki.NoSuchPageException; 090 091 /** 092 * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found. 093 * 094 * @param pageId the primary key of the wiki page 095 * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found 096 * @throws SystemException if a system exception occurred 097 */ 098 public com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey( 099 long pageId) throws com.liferay.portal.kernel.exception.SystemException; 100 101 /** 102 * Returns all the wiki pages where uuid = ?. 103 * 104 * @param uuid the uuid 105 * @return the matching wiki pages 106 * @throws SystemException if a system exception occurred 107 */ 108 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 109 java.lang.String uuid) 110 throws com.liferay.portal.kernel.exception.SystemException; 111 112 /** 113 * Returns a range of all the wiki pages where uuid = ?. 114 * 115 * <p> 116 * 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. 117 * </p> 118 * 119 * @param uuid the uuid 120 * @param start the lower bound of the range of wiki pages 121 * @param end the upper bound of the range of wiki pages (not inclusive) 122 * @return the range of matching wiki pages 123 * @throws SystemException if a system exception occurred 124 */ 125 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 126 java.lang.String uuid, int start, int end) 127 throws com.liferay.portal.kernel.exception.SystemException; 128 129 /** 130 * Returns an ordered range of all the wiki pages where uuid = ?. 131 * 132 * <p> 133 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. 134 * </p> 135 * 136 * @param uuid the uuid 137 * @param start the lower bound of the range of wiki pages 138 * @param end the upper bound of the range of wiki pages (not inclusive) 139 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 140 * @return the ordered range of matching wiki pages 141 * @throws SystemException if a system exception occurred 142 */ 143 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 144 java.lang.String uuid, int start, int end, 145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 146 throws com.liferay.portal.kernel.exception.SystemException; 147 148 /** 149 * Returns the first wiki page in the ordered set where uuid = ?. 150 * 151 * @param uuid the uuid 152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 153 * @return the first matching wiki page 154 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 155 * @throws SystemException if a system exception occurred 156 */ 157 public com.liferay.portlet.wiki.model.WikiPage findByUuid_First( 158 java.lang.String uuid, 159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 160 throws com.liferay.portal.kernel.exception.SystemException, 161 com.liferay.portlet.wiki.NoSuchPageException; 162 163 /** 164 * Returns the first wiki page in the ordered set where uuid = ?. 165 * 166 * @param uuid the uuid 167 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 168 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 169 * @throws SystemException if a system exception occurred 170 */ 171 public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_First( 172 java.lang.String uuid, 173 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 174 throws com.liferay.portal.kernel.exception.SystemException; 175 176 /** 177 * Returns the last wiki page in the ordered set where uuid = ?. 178 * 179 * @param uuid the uuid 180 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 181 * @return the last matching wiki page 182 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 183 * @throws SystemException if a system exception occurred 184 */ 185 public com.liferay.portlet.wiki.model.WikiPage findByUuid_Last( 186 java.lang.String uuid, 187 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 188 throws com.liferay.portal.kernel.exception.SystemException, 189 com.liferay.portlet.wiki.NoSuchPageException; 190 191 /** 192 * Returns the last wiki page in the ordered set where uuid = ?. 193 * 194 * @param uuid the uuid 195 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 196 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 197 * @throws SystemException if a system exception occurred 198 */ 199 public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_Last( 200 java.lang.String uuid, 201 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 202 throws com.liferay.portal.kernel.exception.SystemException; 203 204 /** 205 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?. 206 * 207 * @param pageId the primary key of the current wiki page 208 * @param uuid the uuid 209 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 210 * @return the previous, current, and next wiki page 211 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 212 * @throws SystemException if a system exception occurred 213 */ 214 public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext( 215 long pageId, java.lang.String uuid, 216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 217 throws com.liferay.portal.kernel.exception.SystemException, 218 com.liferay.portlet.wiki.NoSuchPageException; 219 220 /** 221 * Returns the wiki page where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 222 * 223 * @param uuid the uuid 224 * @param groupId the group ID 225 * @return the matching wiki page 226 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 227 * @throws SystemException if a system exception occurred 228 */ 229 public com.liferay.portlet.wiki.model.WikiPage findByUUID_G( 230 java.lang.String uuid, long groupId) 231 throws com.liferay.portal.kernel.exception.SystemException, 232 com.liferay.portlet.wiki.NoSuchPageException; 233 234 /** 235 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 236 * 237 * @param uuid the uuid 238 * @param groupId the group ID 239 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 240 * @throws SystemException if a system exception occurred 241 */ 242 public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 243 java.lang.String uuid, long groupId) 244 throws com.liferay.portal.kernel.exception.SystemException; 245 246 /** 247 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 248 * 249 * @param uuid the uuid 250 * @param groupId the group ID 251 * @param retrieveFromCache whether to use the finder cache 252 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 253 * @throws SystemException if a system exception occurred 254 */ 255 public com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 256 java.lang.String uuid, long groupId, boolean retrieveFromCache) 257 throws com.liferay.portal.kernel.exception.SystemException; 258 259 /** 260 * Returns all the wiki pages where uuid = ? and companyId = ?. 261 * 262 * @param uuid the uuid 263 * @param companyId the company ID 264 * @return the matching wiki pages 265 * @throws SystemException if a system exception occurred 266 */ 267 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 268 java.lang.String uuid, long companyId) 269 throws com.liferay.portal.kernel.exception.SystemException; 270 271 /** 272 * Returns a range of all the wiki pages where uuid = ? and companyId = ?. 273 * 274 * <p> 275 * 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. 276 * </p> 277 * 278 * @param uuid the uuid 279 * @param companyId the company ID 280 * @param start the lower bound of the range of wiki pages 281 * @param end the upper bound of the range of wiki pages (not inclusive) 282 * @return the range of matching wiki pages 283 * @throws SystemException if a system exception occurred 284 */ 285 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 286 java.lang.String uuid, long companyId, int start, int end) 287 throws com.liferay.portal.kernel.exception.SystemException; 288 289 /** 290 * Returns an ordered range of all the wiki pages where uuid = ? and companyId = ?. 291 * 292 * <p> 293 * 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. 294 * </p> 295 * 296 * @param uuid the uuid 297 * @param companyId the company ID 298 * @param start the lower bound of the range of wiki pages 299 * @param end the upper bound of the range of wiki pages (not inclusive) 300 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 301 * @return the ordered range of matching wiki pages 302 * @throws SystemException if a system exception occurred 303 */ 304 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 305 java.lang.String uuid, long companyId, int start, int end, 306 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 307 throws com.liferay.portal.kernel.exception.SystemException; 308 309 /** 310 * Returns the first wiki page in the ordered set where uuid = ? and companyId = ?. 311 * 312 * @param uuid the uuid 313 * @param companyId the company ID 314 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 315 * @return the first matching wiki page 316 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 317 * @throws SystemException if a system exception occurred 318 */ 319 public com.liferay.portlet.wiki.model.WikiPage findByUuid_C_First( 320 java.lang.String uuid, long companyId, 321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 322 throws com.liferay.portal.kernel.exception.SystemException, 323 com.liferay.portlet.wiki.NoSuchPageException; 324 325 /** 326 * Returns the first wiki page in the ordered set where uuid = ? and companyId = ?. 327 * 328 * @param uuid the uuid 329 * @param companyId the company ID 330 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 331 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 332 * @throws SystemException if a system exception occurred 333 */ 334 public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_First( 335 java.lang.String uuid, long companyId, 336 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 337 throws com.liferay.portal.kernel.exception.SystemException; 338 339 /** 340 * Returns the last wiki page in the ordered set where uuid = ? and companyId = ?. 341 * 342 * @param uuid the uuid 343 * @param companyId the company ID 344 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 345 * @return the last matching wiki page 346 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 347 * @throws SystemException if a system exception occurred 348 */ 349 public com.liferay.portlet.wiki.model.WikiPage findByUuid_C_Last( 350 java.lang.String uuid, long companyId, 351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 352 throws com.liferay.portal.kernel.exception.SystemException, 353 com.liferay.portlet.wiki.NoSuchPageException; 354 355 /** 356 * Returns the last wiki page in the ordered set where uuid = ? and companyId = ?. 357 * 358 * @param uuid the uuid 359 * @param companyId the company ID 360 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 361 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 362 * @throws SystemException if a system exception occurred 363 */ 364 public com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_Last( 365 java.lang.String uuid, long companyId, 366 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 367 throws com.liferay.portal.kernel.exception.SystemException; 368 369 /** 370 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ? and companyId = ?. 371 * 372 * @param pageId the primary key of the current wiki page 373 * @param uuid the uuid 374 * @param companyId the company ID 375 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 376 * @return the previous, current, and next wiki page 377 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 378 * @throws SystemException if a system exception occurred 379 */ 380 public com.liferay.portlet.wiki.model.WikiPage[] findByUuid_C_PrevAndNext( 381 long pageId, java.lang.String uuid, long companyId, 382 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 383 throws com.liferay.portal.kernel.exception.SystemException, 384 com.liferay.portlet.wiki.NoSuchPageException; 385 386 /** 387 * Returns all the wiki pages where nodeId = ?. 388 * 389 * @param nodeId the node ID 390 * @return the matching wiki pages 391 * @throws SystemException if a system exception occurred 392 */ 393 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 394 long nodeId) throws com.liferay.portal.kernel.exception.SystemException; 395 396 /** 397 * Returns a range of all the wiki pages where nodeId = ?. 398 * 399 * <p> 400 * 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. 401 * </p> 402 * 403 * @param nodeId the node ID 404 * @param start the lower bound of the range of wiki pages 405 * @param end the upper bound of the range of wiki pages (not inclusive) 406 * @return the range of matching wiki pages 407 * @throws SystemException if a system exception occurred 408 */ 409 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 410 long nodeId, int start, int end) 411 throws com.liferay.portal.kernel.exception.SystemException; 412 413 /** 414 * Returns an ordered range of all the wiki pages where nodeId = ?. 415 * 416 * <p> 417 * 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. 418 * </p> 419 * 420 * @param nodeId the node ID 421 * @param start the lower bound of the range of wiki pages 422 * @param end the upper bound of the range of wiki pages (not inclusive) 423 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 424 * @return the ordered range of matching wiki pages 425 * @throws SystemException if a system exception occurred 426 */ 427 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 428 long nodeId, int start, int end, 429 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 430 throws com.liferay.portal.kernel.exception.SystemException; 431 432 /** 433 * Returns the first wiki page in the ordered set where nodeId = ?. 434 * 435 * @param nodeId the node ID 436 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 437 * @return the first matching wiki page 438 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 439 * @throws SystemException if a system exception occurred 440 */ 441 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_First( 442 long nodeId, 443 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 444 throws com.liferay.portal.kernel.exception.SystemException, 445 com.liferay.portlet.wiki.NoSuchPageException; 446 447 /** 448 * Returns the first wiki page in the ordered set where nodeId = ?. 449 * 450 * @param nodeId the node ID 451 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 452 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 453 * @throws SystemException if a system exception occurred 454 */ 455 public com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_First( 456 long nodeId, 457 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 458 throws com.liferay.portal.kernel.exception.SystemException; 459 460 /** 461 * Returns the last wiki page in the ordered set where nodeId = ?. 462 * 463 * @param nodeId the node ID 464 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 465 * @return the last matching wiki page 466 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 467 * @throws SystemException if a system exception occurred 468 */ 469 public com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last( 470 long nodeId, 471 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 472 throws com.liferay.portal.kernel.exception.SystemException, 473 com.liferay.portlet.wiki.NoSuchPageException; 474 475 /** 476 * Returns the last wiki page in the ordered set where nodeId = ?. 477 * 478 * @param nodeId the node ID 479 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 480 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 481 * @throws SystemException if a system exception occurred 482 */ 483 public com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_Last( 484 long nodeId, 485 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 486 throws com.liferay.portal.kernel.exception.SystemException; 487 488 /** 489 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?. 490 * 491 * @param pageId the primary key of the current wiki page 492 * @param nodeId the node ID 493 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 494 * @return the previous, current, and next wiki page 495 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 496 * @throws SystemException if a system exception occurred 497 */ 498 public com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext( 499 long pageId, long nodeId, 500 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 501 throws com.liferay.portal.kernel.exception.SystemException, 502 com.liferay.portlet.wiki.NoSuchPageException; 503 504 /** 505 * Returns all the wiki pages where format = ?. 506 * 507 * @param format the format 508 * @return the matching wiki pages 509 * @throws SystemException if a system exception occurred 510 */ 511 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 512 java.lang.String format) 513 throws com.liferay.portal.kernel.exception.SystemException; 514 515 /** 516 * Returns a range of all the wiki pages where format = ?. 517 * 518 * <p> 519 * 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. 520 * </p> 521 * 522 * @param format the format 523 * @param start the lower bound of the range of wiki pages 524 * @param end the upper bound of the range of wiki pages (not inclusive) 525 * @return the range of matching wiki pages 526 * @throws SystemException if a system exception occurred 527 */ 528 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 529 java.lang.String format, int start, int end) 530 throws com.liferay.portal.kernel.exception.SystemException; 531 532 /** 533 * Returns an ordered range of all the wiki pages where format = ?. 534 * 535 * <p> 536 * 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. 537 * </p> 538 * 539 * @param format the format 540 * @param start the lower bound of the range of wiki pages 541 * @param end the upper bound of the range of wiki pages (not inclusive) 542 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 543 * @return the ordered range of matching wiki pages 544 * @throws SystemException if a system exception occurred 545 */ 546 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 547 java.lang.String format, int start, int end, 548 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 549 throws com.liferay.portal.kernel.exception.SystemException; 550 551 /** 552 * Returns the first wiki page in the ordered set where format = ?. 553 * 554 * @param format the format 555 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 556 * @return the first matching wiki page 557 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 558 * @throws SystemException if a system exception occurred 559 */ 560 public com.liferay.portlet.wiki.model.WikiPage findByFormat_First( 561 java.lang.String format, 562 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 563 throws com.liferay.portal.kernel.exception.SystemException, 564 com.liferay.portlet.wiki.NoSuchPageException; 565 566 /** 567 * Returns the first wiki page in the ordered set where format = ?. 568 * 569 * @param format the format 570 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 571 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 572 * @throws SystemException if a system exception occurred 573 */ 574 public com.liferay.portlet.wiki.model.WikiPage fetchByFormat_First( 575 java.lang.String format, 576 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 577 throws com.liferay.portal.kernel.exception.SystemException; 578 579 /** 580 * Returns the last wiki page in the ordered set where format = ?. 581 * 582 * @param format the format 583 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 584 * @return the last matching wiki page 585 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 586 * @throws SystemException if a system exception occurred 587 */ 588 public com.liferay.portlet.wiki.model.WikiPage findByFormat_Last( 589 java.lang.String format, 590 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 591 throws com.liferay.portal.kernel.exception.SystemException, 592 com.liferay.portlet.wiki.NoSuchPageException; 593 594 /** 595 * Returns the last wiki page in the ordered set where format = ?. 596 * 597 * @param format the format 598 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 599 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 600 * @throws SystemException if a system exception occurred 601 */ 602 public com.liferay.portlet.wiki.model.WikiPage fetchByFormat_Last( 603 java.lang.String format, 604 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 605 throws com.liferay.portal.kernel.exception.SystemException; 606 607 /** 608 * Returns the wiki pages before and after the current wiki page in the ordered set where format = ?. 609 * 610 * @param pageId the primary key of the current wiki page 611 * @param format the format 612 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 613 * @return the previous, current, and next wiki page 614 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 615 * @throws SystemException if a system exception occurred 616 */ 617 public com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext( 618 long pageId, java.lang.String format, 619 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 620 throws com.liferay.portal.kernel.exception.SystemException, 621 com.liferay.portlet.wiki.NoSuchPageException; 622 623 /** 624 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?. 625 * 626 * @param resourcePrimKey the resource prim key 627 * @param nodeId the node ID 628 * @return the matching wiki pages 629 * @throws SystemException if a system exception occurred 630 */ 631 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 632 long resourcePrimKey, long nodeId) 633 throws com.liferay.portal.kernel.exception.SystemException; 634 635 /** 636 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 637 * 638 * <p> 639 * 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. 640 * </p> 641 * 642 * @param resourcePrimKey the resource prim key 643 * @param nodeId the node ID 644 * @param start the lower bound of the range of wiki pages 645 * @param end the upper bound of the range of wiki pages (not inclusive) 646 * @return the range of matching wiki pages 647 * @throws SystemException if a system exception occurred 648 */ 649 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 650 long resourcePrimKey, long nodeId, int start, int end) 651 throws com.liferay.portal.kernel.exception.SystemException; 652 653 /** 654 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 655 * 656 * <p> 657 * 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. 658 * </p> 659 * 660 * @param resourcePrimKey the resource prim key 661 * @param nodeId the node ID 662 * @param start the lower bound of the range of wiki pages 663 * @param end the upper bound of the range of wiki pages (not inclusive) 664 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 665 * @return the ordered range of matching wiki pages 666 * @throws SystemException if a system exception occurred 667 */ 668 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 669 long resourcePrimKey, long nodeId, int start, int end, 670 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 671 throws com.liferay.portal.kernel.exception.SystemException; 672 673 /** 674 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 675 * 676 * @param resourcePrimKey the resource prim key 677 * @param nodeId the node ID 678 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 679 * @return the first matching wiki page 680 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 681 * @throws SystemException if a system exception occurred 682 */ 683 public com.liferay.portlet.wiki.model.WikiPage findByR_N_First( 684 long resourcePrimKey, long nodeId, 685 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 686 throws com.liferay.portal.kernel.exception.SystemException, 687 com.liferay.portlet.wiki.NoSuchPageException; 688 689 /** 690 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 691 * 692 * @param resourcePrimKey the resource prim key 693 * @param nodeId the node ID 694 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 695 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 696 * @throws SystemException if a system exception occurred 697 */ 698 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_First( 699 long resourcePrimKey, long nodeId, 700 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 701 throws com.liferay.portal.kernel.exception.SystemException; 702 703 /** 704 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 705 * 706 * @param resourcePrimKey the resource prim key 707 * @param nodeId the node ID 708 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 709 * @return the last matching wiki page 710 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 711 * @throws SystemException if a system exception occurred 712 */ 713 public com.liferay.portlet.wiki.model.WikiPage findByR_N_Last( 714 long resourcePrimKey, long nodeId, 715 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 716 throws com.liferay.portal.kernel.exception.SystemException, 717 com.liferay.portlet.wiki.NoSuchPageException; 718 719 /** 720 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 721 * 722 * @param resourcePrimKey the resource prim key 723 * @param nodeId the node ID 724 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 725 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 726 * @throws SystemException if a system exception occurred 727 */ 728 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_Last( 729 long resourcePrimKey, long nodeId, 730 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 731 throws com.liferay.portal.kernel.exception.SystemException; 732 733 /** 734 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 735 * 736 * @param pageId the primary key of the current wiki page 737 * @param resourcePrimKey the resource prim key 738 * @param nodeId the node ID 739 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 740 * @return the previous, current, and next wiki page 741 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 742 * @throws SystemException if a system exception occurred 743 */ 744 public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext( 745 long pageId, long resourcePrimKey, long nodeId, 746 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 747 throws com.liferay.portal.kernel.exception.SystemException, 748 com.liferay.portlet.wiki.NoSuchPageException; 749 750 /** 751 * Returns all the wiki pages where nodeId = ? and title = ?. 752 * 753 * @param nodeId the node ID 754 * @param title the title 755 * @return the matching wiki pages 756 * @throws SystemException if a system exception occurred 757 */ 758 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 759 long nodeId, java.lang.String title) 760 throws com.liferay.portal.kernel.exception.SystemException; 761 762 /** 763 * Returns a range of all the wiki pages where nodeId = ? and title = ?. 764 * 765 * <p> 766 * 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. 767 * </p> 768 * 769 * @param nodeId the node ID 770 * @param title the title 771 * @param start the lower bound of the range of wiki pages 772 * @param end the upper bound of the range of wiki pages (not inclusive) 773 * @return the range of matching wiki pages 774 * @throws SystemException if a system exception occurred 775 */ 776 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 777 long nodeId, java.lang.String title, int start, int end) 778 throws com.liferay.portal.kernel.exception.SystemException; 779 780 /** 781 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ?. 782 * 783 * <p> 784 * 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. 785 * </p> 786 * 787 * @param nodeId the node ID 788 * @param title the title 789 * @param start the lower bound of the range of wiki pages 790 * @param end the upper bound of the range of wiki pages (not inclusive) 791 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 792 * @return the ordered range of matching wiki pages 793 * @throws SystemException if a system exception occurred 794 */ 795 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 796 long nodeId, java.lang.String title, int start, int end, 797 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 798 throws com.liferay.portal.kernel.exception.SystemException; 799 800 /** 801 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 802 * 803 * @param nodeId the node ID 804 * @param title the title 805 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 806 * @return the first matching wiki page 807 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 808 * @throws SystemException if a system exception occurred 809 */ 810 public com.liferay.portlet.wiki.model.WikiPage findByN_T_First( 811 long nodeId, java.lang.String title, 812 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 813 throws com.liferay.portal.kernel.exception.SystemException, 814 com.liferay.portlet.wiki.NoSuchPageException; 815 816 /** 817 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 818 * 819 * @param nodeId the node ID 820 * @param title the title 821 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 822 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 823 * @throws SystemException if a system exception occurred 824 */ 825 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_First( 826 long nodeId, java.lang.String title, 827 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 828 throws com.liferay.portal.kernel.exception.SystemException; 829 830 /** 831 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 832 * 833 * @param nodeId the node ID 834 * @param title the title 835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 836 * @return the last matching wiki page 837 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 838 * @throws SystemException if a system exception occurred 839 */ 840 public com.liferay.portlet.wiki.model.WikiPage findByN_T_Last(long nodeId, 841 java.lang.String title, 842 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 843 throws com.liferay.portal.kernel.exception.SystemException, 844 com.liferay.portlet.wiki.NoSuchPageException; 845 846 /** 847 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 848 * 849 * @param nodeId the node ID 850 * @param title the title 851 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 852 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 853 * @throws SystemException if a system exception occurred 854 */ 855 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_Last( 856 long nodeId, java.lang.String title, 857 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 858 throws com.liferay.portal.kernel.exception.SystemException; 859 860 /** 861 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?. 862 * 863 * @param pageId the primary key of the current wiki page 864 * @param nodeId the node ID 865 * @param title the title 866 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 867 * @return the previous, current, and next wiki page 868 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 869 * @throws SystemException if a system exception occurred 870 */ 871 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext( 872 long pageId, long nodeId, java.lang.String title, 873 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 874 throws com.liferay.portal.kernel.exception.SystemException, 875 com.liferay.portlet.wiki.NoSuchPageException; 876 877 /** 878 * Returns all the wiki pages where nodeId = ? and head = ?. 879 * 880 * @param nodeId the node ID 881 * @param head the head 882 * @return the matching wiki pages 883 * @throws SystemException if a system exception occurred 884 */ 885 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 886 long nodeId, boolean head) 887 throws com.liferay.portal.kernel.exception.SystemException; 888 889 /** 890 * Returns a range of all the wiki pages where nodeId = ? and head = ?. 891 * 892 * <p> 893 * 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. 894 * </p> 895 * 896 * @param nodeId the node ID 897 * @param head the head 898 * @param start the lower bound of the range of wiki pages 899 * @param end the upper bound of the range of wiki pages (not inclusive) 900 * @return the range of matching wiki pages 901 * @throws SystemException if a system exception occurred 902 */ 903 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 904 long nodeId, boolean head, int start, int end) 905 throws com.liferay.portal.kernel.exception.SystemException; 906 907 /** 908 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ?. 909 * 910 * <p> 911 * 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. 912 * </p> 913 * 914 * @param nodeId the node ID 915 * @param head the head 916 * @param start the lower bound of the range of wiki pages 917 * @param end the upper bound of the range of wiki pages (not inclusive) 918 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 919 * @return the ordered range of matching wiki pages 920 * @throws SystemException if a system exception occurred 921 */ 922 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 923 long nodeId, boolean head, int start, int end, 924 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 925 throws com.liferay.portal.kernel.exception.SystemException; 926 927 /** 928 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 929 * 930 * @param nodeId the node ID 931 * @param head the head 932 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 933 * @return the first matching wiki page 934 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 935 * @throws SystemException if a system exception occurred 936 */ 937 public com.liferay.portlet.wiki.model.WikiPage findByN_H_First( 938 long nodeId, boolean head, 939 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 940 throws com.liferay.portal.kernel.exception.SystemException, 941 com.liferay.portlet.wiki.NoSuchPageException; 942 943 /** 944 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 945 * 946 * @param nodeId the node ID 947 * @param head the head 948 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 949 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 950 * @throws SystemException if a system exception occurred 951 */ 952 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_First( 953 long nodeId, boolean head, 954 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 955 throws com.liferay.portal.kernel.exception.SystemException; 956 957 /** 958 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 959 * 960 * @param nodeId the node ID 961 * @param head the head 962 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 963 * @return the last matching wiki page 964 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 965 * @throws SystemException if a system exception occurred 966 */ 967 public com.liferay.portlet.wiki.model.WikiPage findByN_H_Last(long nodeId, 968 boolean head, 969 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 970 throws com.liferay.portal.kernel.exception.SystemException, 971 com.liferay.portlet.wiki.NoSuchPageException; 972 973 /** 974 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 975 * 976 * @param nodeId the node ID 977 * @param head the head 978 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 979 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 980 * @throws SystemException if a system exception occurred 981 */ 982 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_Last( 983 long nodeId, boolean head, 984 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 985 throws com.liferay.portal.kernel.exception.SystemException; 986 987 /** 988 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?. 989 * 990 * @param pageId the primary key of the current wiki page 991 * @param nodeId the node ID 992 * @param head the head 993 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 994 * @return the previous, current, and next wiki page 995 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 996 * @throws SystemException if a system exception occurred 997 */ 998 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext( 999 long pageId, long nodeId, boolean head, 1000 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1001 throws com.liferay.portal.kernel.exception.SystemException, 1002 com.liferay.portlet.wiki.NoSuchPageException; 1003 1004 /** 1005 * Returns all the wiki pages where nodeId = ? and parentTitle = ?. 1006 * 1007 * @param nodeId the node ID 1008 * @param parentTitle the parent title 1009 * @return the matching wiki pages 1010 * @throws SystemException if a system exception occurred 1011 */ 1012 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1013 long nodeId, java.lang.String parentTitle) 1014 throws com.liferay.portal.kernel.exception.SystemException; 1015 1016 /** 1017 * Returns a range of all the wiki pages where nodeId = ? and parentTitle = ?. 1018 * 1019 * <p> 1020 * 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. 1021 * </p> 1022 * 1023 * @param nodeId the node ID 1024 * @param parentTitle the parent title 1025 * @param start the lower bound of the range of wiki pages 1026 * @param end the upper bound of the range of wiki pages (not inclusive) 1027 * @return the range of matching wiki pages 1028 * @throws SystemException if a system exception occurred 1029 */ 1030 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1031 long nodeId, java.lang.String parentTitle, int start, int end) 1032 throws com.liferay.portal.kernel.exception.SystemException; 1033 1034 /** 1035 * Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?. 1036 * 1037 * <p> 1038 * 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. 1039 * </p> 1040 * 1041 * @param nodeId the node ID 1042 * @param parentTitle the parent title 1043 * @param start the lower bound of the range of wiki pages 1044 * @param end the upper bound of the range of wiki pages (not inclusive) 1045 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1046 * @return the ordered range of matching wiki pages 1047 * @throws SystemException if a system exception occurred 1048 */ 1049 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1050 long nodeId, java.lang.String parentTitle, int start, int end, 1051 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1052 throws com.liferay.portal.kernel.exception.SystemException; 1053 1054 /** 1055 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1056 * 1057 * @param nodeId the node ID 1058 * @param parentTitle the parent title 1059 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1060 * @return the first matching wiki page 1061 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1062 * @throws SystemException if a system exception occurred 1063 */ 1064 public com.liferay.portlet.wiki.model.WikiPage findByN_P_First( 1065 long nodeId, java.lang.String parentTitle, 1066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1067 throws com.liferay.portal.kernel.exception.SystemException, 1068 com.liferay.portlet.wiki.NoSuchPageException; 1069 1070 /** 1071 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1072 * 1073 * @param nodeId the node ID 1074 * @param parentTitle the parent title 1075 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1076 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1077 * @throws SystemException if a system exception occurred 1078 */ 1079 public com.liferay.portlet.wiki.model.WikiPage fetchByN_P_First( 1080 long nodeId, java.lang.String parentTitle, 1081 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1082 throws com.liferay.portal.kernel.exception.SystemException; 1083 1084 /** 1085 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1086 * 1087 * @param nodeId the node ID 1088 * @param parentTitle the parent title 1089 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1090 * @return the last matching wiki page 1091 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1092 * @throws SystemException if a system exception occurred 1093 */ 1094 public com.liferay.portlet.wiki.model.WikiPage findByN_P_Last(long nodeId, 1095 java.lang.String parentTitle, 1096 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1097 throws com.liferay.portal.kernel.exception.SystemException, 1098 com.liferay.portlet.wiki.NoSuchPageException; 1099 1100 /** 1101 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1102 * 1103 * @param nodeId the node ID 1104 * @param parentTitle the parent title 1105 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1106 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1107 * @throws SystemException if a system exception occurred 1108 */ 1109 public com.liferay.portlet.wiki.model.WikiPage fetchByN_P_Last( 1110 long nodeId, java.lang.String parentTitle, 1111 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1112 throws com.liferay.portal.kernel.exception.SystemException; 1113 1114 /** 1115 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1116 * 1117 * @param pageId the primary key of the current wiki page 1118 * @param nodeId the node ID 1119 * @param parentTitle the parent title 1120 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1121 * @return the previous, current, and next wiki page 1122 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1123 * @throws SystemException if a system exception occurred 1124 */ 1125 public com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext( 1126 long pageId, long nodeId, java.lang.String parentTitle, 1127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1128 throws com.liferay.portal.kernel.exception.SystemException, 1129 com.liferay.portlet.wiki.NoSuchPageException; 1130 1131 /** 1132 * Returns all the wiki pages where nodeId = ? and redirectTitle = ?. 1133 * 1134 * @param nodeId the node ID 1135 * @param redirectTitle the redirect title 1136 * @return the matching wiki pages 1137 * @throws SystemException if a system exception occurred 1138 */ 1139 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1140 long nodeId, java.lang.String redirectTitle) 1141 throws com.liferay.portal.kernel.exception.SystemException; 1142 1143 /** 1144 * Returns a range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1145 * 1146 * <p> 1147 * 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. 1148 * </p> 1149 * 1150 * @param nodeId the node ID 1151 * @param redirectTitle the redirect title 1152 * @param start the lower bound of the range of wiki pages 1153 * @param end the upper bound of the range of wiki pages (not inclusive) 1154 * @return the range of matching wiki pages 1155 * @throws SystemException if a system exception occurred 1156 */ 1157 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1158 long nodeId, java.lang.String redirectTitle, int start, int end) 1159 throws com.liferay.portal.kernel.exception.SystemException; 1160 1161 /** 1162 * Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1163 * 1164 * <p> 1165 * 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. 1166 * </p> 1167 * 1168 * @param nodeId the node ID 1169 * @param redirectTitle the redirect title 1170 * @param start the lower bound of the range of wiki pages 1171 * @param end the upper bound of the range of wiki pages (not inclusive) 1172 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1173 * @return the ordered range of matching wiki pages 1174 * @throws SystemException if a system exception occurred 1175 */ 1176 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1177 long nodeId, java.lang.String redirectTitle, int start, int end, 1178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1179 throws com.liferay.portal.kernel.exception.SystemException; 1180 1181 /** 1182 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1183 * 1184 * @param nodeId the node ID 1185 * @param redirectTitle the redirect title 1186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1187 * @return the first matching wiki page 1188 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1189 * @throws SystemException if a system exception occurred 1190 */ 1191 public com.liferay.portlet.wiki.model.WikiPage findByN_R_First( 1192 long nodeId, java.lang.String redirectTitle, 1193 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1194 throws com.liferay.portal.kernel.exception.SystemException, 1195 com.liferay.portlet.wiki.NoSuchPageException; 1196 1197 /** 1198 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1199 * 1200 * @param nodeId the node ID 1201 * @param redirectTitle the redirect title 1202 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1203 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1204 * @throws SystemException if a system exception occurred 1205 */ 1206 public com.liferay.portlet.wiki.model.WikiPage fetchByN_R_First( 1207 long nodeId, java.lang.String redirectTitle, 1208 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1209 throws com.liferay.portal.kernel.exception.SystemException; 1210 1211 /** 1212 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1213 * 1214 * @param nodeId the node ID 1215 * @param redirectTitle the redirect title 1216 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1217 * @return the last matching wiki page 1218 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1219 * @throws SystemException if a system exception occurred 1220 */ 1221 public com.liferay.portlet.wiki.model.WikiPage findByN_R_Last(long nodeId, 1222 java.lang.String redirectTitle, 1223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1224 throws com.liferay.portal.kernel.exception.SystemException, 1225 com.liferay.portlet.wiki.NoSuchPageException; 1226 1227 /** 1228 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1229 * 1230 * @param nodeId the node ID 1231 * @param redirectTitle the redirect title 1232 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1233 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1234 * @throws SystemException if a system exception occurred 1235 */ 1236 public com.liferay.portlet.wiki.model.WikiPage fetchByN_R_Last( 1237 long nodeId, java.lang.String redirectTitle, 1238 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1239 throws com.liferay.portal.kernel.exception.SystemException; 1240 1241 /** 1242 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1243 * 1244 * @param pageId the primary key of the current wiki page 1245 * @param nodeId the node ID 1246 * @param redirectTitle the redirect title 1247 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1248 * @return the previous, current, and next wiki page 1249 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1250 * @throws SystemException if a system exception occurred 1251 */ 1252 public com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext( 1253 long pageId, long nodeId, java.lang.String redirectTitle, 1254 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1255 throws com.liferay.portal.kernel.exception.SystemException, 1256 com.liferay.portlet.wiki.NoSuchPageException; 1257 1258 /** 1259 * Returns all the wiki pages where nodeId = ? and status = ?. 1260 * 1261 * @param nodeId the node ID 1262 * @param status the status 1263 * @return the matching wiki pages 1264 * @throws SystemException if a system exception occurred 1265 */ 1266 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1267 long nodeId, int status) 1268 throws com.liferay.portal.kernel.exception.SystemException; 1269 1270 /** 1271 * Returns a range of all the wiki pages where nodeId = ? and status = ?. 1272 * 1273 * <p> 1274 * 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. 1275 * </p> 1276 * 1277 * @param nodeId the node ID 1278 * @param status the status 1279 * @param start the lower bound of the range of wiki pages 1280 * @param end the upper bound of the range of wiki pages (not inclusive) 1281 * @return the range of matching wiki pages 1282 * @throws SystemException if a system exception occurred 1283 */ 1284 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1285 long nodeId, int status, int start, int end) 1286 throws com.liferay.portal.kernel.exception.SystemException; 1287 1288 /** 1289 * Returns an ordered range of all the wiki pages where nodeId = ? and status = ?. 1290 * 1291 * <p> 1292 * 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. 1293 * </p> 1294 * 1295 * @param nodeId the node ID 1296 * @param status the status 1297 * @param start the lower bound of the range of wiki pages 1298 * @param end the upper bound of the range of wiki pages (not inclusive) 1299 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1300 * @return the ordered range of matching wiki pages 1301 * @throws SystemException if a system exception occurred 1302 */ 1303 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1304 long nodeId, int status, int start, int end, 1305 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1306 throws com.liferay.portal.kernel.exception.SystemException; 1307 1308 /** 1309 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 1310 * 1311 * @param nodeId the node ID 1312 * @param status the status 1313 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1314 * @return the first matching wiki page 1315 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1316 * @throws SystemException if a system exception occurred 1317 */ 1318 public com.liferay.portlet.wiki.model.WikiPage findByN_S_First( 1319 long nodeId, int status, 1320 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1321 throws com.liferay.portal.kernel.exception.SystemException, 1322 com.liferay.portlet.wiki.NoSuchPageException; 1323 1324 /** 1325 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 1326 * 1327 * @param nodeId the node ID 1328 * @param status the status 1329 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1330 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1331 * @throws SystemException if a system exception occurred 1332 */ 1333 public com.liferay.portlet.wiki.model.WikiPage fetchByN_S_First( 1334 long nodeId, int status, 1335 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1336 throws com.liferay.portal.kernel.exception.SystemException; 1337 1338 /** 1339 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 1340 * 1341 * @param nodeId the node ID 1342 * @param status the status 1343 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1344 * @return the last matching wiki page 1345 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1346 * @throws SystemException if a system exception occurred 1347 */ 1348 public com.liferay.portlet.wiki.model.WikiPage findByN_S_Last(long nodeId, 1349 int status, 1350 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1351 throws com.liferay.portal.kernel.exception.SystemException, 1352 com.liferay.portlet.wiki.NoSuchPageException; 1353 1354 /** 1355 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 1356 * 1357 * @param nodeId the node ID 1358 * @param status the status 1359 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1360 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1361 * @throws SystemException if a system exception occurred 1362 */ 1363 public com.liferay.portlet.wiki.model.WikiPage fetchByN_S_Last( 1364 long nodeId, int status, 1365 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1366 throws com.liferay.portal.kernel.exception.SystemException; 1367 1368 /** 1369 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?. 1370 * 1371 * @param pageId the primary key of the current wiki page 1372 * @param nodeId the node ID 1373 * @param status the status 1374 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1375 * @return the previous, current, and next wiki page 1376 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1377 * @throws SystemException if a system exception occurred 1378 */ 1379 public com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext( 1380 long pageId, long nodeId, int status, 1381 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1382 throws com.liferay.portal.kernel.exception.SystemException, 1383 com.liferay.portlet.wiki.NoSuchPageException; 1384 1385 /** 1386 * Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 1387 * 1388 * @param resourcePrimKey the resource prim key 1389 * @param nodeId the node ID 1390 * @param version the version 1391 * @return the matching wiki page 1392 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1393 * @throws SystemException if a system exception occurred 1394 */ 1395 public com.liferay.portlet.wiki.model.WikiPage findByR_N_V( 1396 long resourcePrimKey, long nodeId, double version) 1397 throws com.liferay.portal.kernel.exception.SystemException, 1398 com.liferay.portlet.wiki.NoSuchPageException; 1399 1400 /** 1401 * Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1402 * 1403 * @param resourcePrimKey the resource prim key 1404 * @param nodeId the node ID 1405 * @param version the version 1406 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1407 * @throws SystemException if a system exception occurred 1408 */ 1409 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 1410 long resourcePrimKey, long nodeId, double version) 1411 throws com.liferay.portal.kernel.exception.SystemException; 1412 1413 /** 1414 * Returns the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1415 * 1416 * @param resourcePrimKey the resource prim key 1417 * @param nodeId the node ID 1418 * @param version the version 1419 * @param retrieveFromCache whether to use the finder cache 1420 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1421 * @throws SystemException if a system exception occurred 1422 */ 1423 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 1424 long resourcePrimKey, long nodeId, double version, 1425 boolean retrieveFromCache) 1426 throws com.liferay.portal.kernel.exception.SystemException; 1427 1428 /** 1429 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1430 * 1431 * @param resourcePrimKey the resource prim key 1432 * @param nodeId the node ID 1433 * @param status the status 1434 * @return the matching wiki pages 1435 * @throws SystemException if a system exception occurred 1436 */ 1437 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1438 long resourcePrimKey, long nodeId, int status) 1439 throws com.liferay.portal.kernel.exception.SystemException; 1440 1441 /** 1442 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1443 * 1444 * <p> 1445 * 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. 1446 * </p> 1447 * 1448 * @param resourcePrimKey the resource prim key 1449 * @param nodeId the node ID 1450 * @param status the status 1451 * @param start the lower bound of the range of wiki pages 1452 * @param end the upper bound of the range of wiki pages (not inclusive) 1453 * @return the range of matching wiki pages 1454 * @throws SystemException if a system exception occurred 1455 */ 1456 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1457 long resourcePrimKey, long nodeId, int status, int start, int end) 1458 throws com.liferay.portal.kernel.exception.SystemException; 1459 1460 /** 1461 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 1462 * 1463 * <p> 1464 * 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. 1465 * </p> 1466 * 1467 * @param resourcePrimKey the resource prim key 1468 * @param nodeId the node ID 1469 * @param status the status 1470 * @param start the lower bound of the range of wiki pages 1471 * @param end the upper bound of the range of wiki pages (not inclusive) 1472 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1473 * @return the ordered range of matching wiki pages 1474 * @throws SystemException if a system exception occurred 1475 */ 1476 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 1477 long resourcePrimKey, long nodeId, int status, int start, int end, 1478 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1479 throws com.liferay.portal.kernel.exception.SystemException; 1480 1481 /** 1482 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1483 * 1484 * @param resourcePrimKey the resource prim key 1485 * @param nodeId the node ID 1486 * @param status the status 1487 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1488 * @return the first matching wiki page 1489 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1490 * @throws SystemException if a system exception occurred 1491 */ 1492 public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First( 1493 long resourcePrimKey, long nodeId, int status, 1494 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1495 throws com.liferay.portal.kernel.exception.SystemException, 1496 com.liferay.portlet.wiki.NoSuchPageException; 1497 1498 /** 1499 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1500 * 1501 * @param resourcePrimKey the resource prim key 1502 * @param nodeId the node ID 1503 * @param status the status 1504 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1505 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1506 * @throws SystemException if a system exception occurred 1507 */ 1508 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_First( 1509 long resourcePrimKey, long nodeId, int status, 1510 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1511 throws com.liferay.portal.kernel.exception.SystemException; 1512 1513 /** 1514 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1515 * 1516 * @param resourcePrimKey the resource prim key 1517 * @param nodeId the node ID 1518 * @param status the status 1519 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1520 * @return the last matching wiki page 1521 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1522 * @throws SystemException if a system exception occurred 1523 */ 1524 public com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last( 1525 long resourcePrimKey, long nodeId, int status, 1526 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1527 throws com.liferay.portal.kernel.exception.SystemException, 1528 com.liferay.portlet.wiki.NoSuchPageException; 1529 1530 /** 1531 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1532 * 1533 * @param resourcePrimKey the resource prim key 1534 * @param nodeId the node ID 1535 * @param status the status 1536 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1537 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1538 * @throws SystemException if a system exception occurred 1539 */ 1540 public com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_Last( 1541 long resourcePrimKey, long nodeId, int status, 1542 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1543 throws com.liferay.portal.kernel.exception.SystemException; 1544 1545 /** 1546 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 1547 * 1548 * @param pageId the primary key of the current wiki page 1549 * @param resourcePrimKey the resource prim key 1550 * @param nodeId the node ID 1551 * @param status the status 1552 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1553 * @return the previous, current, and next wiki page 1554 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1555 * @throws SystemException if a system exception occurred 1556 */ 1557 public com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext( 1558 long pageId, long resourcePrimKey, long nodeId, int status, 1559 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1560 throws com.liferay.portal.kernel.exception.SystemException, 1561 com.liferay.portlet.wiki.NoSuchPageException; 1562 1563 /** 1564 * Returns all the wiki pages where userId = ? and nodeId = ? and status = ?. 1565 * 1566 * @param userId the user ID 1567 * @param nodeId the node ID 1568 * @param status the status 1569 * @return the matching wiki pages 1570 * @throws SystemException if a system exception occurred 1571 */ 1572 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1573 long userId, long nodeId, int status) 1574 throws com.liferay.portal.kernel.exception.SystemException; 1575 1576 /** 1577 * Returns a range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 1578 * 1579 * <p> 1580 * 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. 1581 * </p> 1582 * 1583 * @param userId the user ID 1584 * @param nodeId the node ID 1585 * @param status the status 1586 * @param start the lower bound of the range of wiki pages 1587 * @param end the upper bound of the range of wiki pages (not inclusive) 1588 * @return the range of matching wiki pages 1589 * @throws SystemException if a system exception occurred 1590 */ 1591 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1592 long userId, long nodeId, int status, int start, int end) 1593 throws com.liferay.portal.kernel.exception.SystemException; 1594 1595 /** 1596 * Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 1597 * 1598 * <p> 1599 * 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. 1600 * </p> 1601 * 1602 * @param userId the user ID 1603 * @param nodeId the node ID 1604 * @param status the status 1605 * @param start the lower bound of the range of wiki pages 1606 * @param end the upper bound of the range of wiki pages (not inclusive) 1607 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1608 * @return the ordered range of matching wiki pages 1609 * @throws SystemException if a system exception occurred 1610 */ 1611 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 1612 long userId, long nodeId, int status, int start, int end, 1613 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1614 throws com.liferay.portal.kernel.exception.SystemException; 1615 1616 /** 1617 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1618 * 1619 * @param userId the user ID 1620 * @param nodeId the node ID 1621 * @param status the status 1622 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1623 * @return the first matching wiki page 1624 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1625 * @throws SystemException if a system exception occurred 1626 */ 1627 public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First( 1628 long userId, long nodeId, int status, 1629 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1630 throws com.liferay.portal.kernel.exception.SystemException, 1631 com.liferay.portlet.wiki.NoSuchPageException; 1632 1633 /** 1634 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1635 * 1636 * @param userId the user ID 1637 * @param nodeId the node ID 1638 * @param status the status 1639 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1640 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1641 * @throws SystemException if a system exception occurred 1642 */ 1643 public com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_First( 1644 long userId, long nodeId, int status, 1645 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1646 throws com.liferay.portal.kernel.exception.SystemException; 1647 1648 /** 1649 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1650 * 1651 * @param userId the user ID 1652 * @param nodeId the node ID 1653 * @param status the status 1654 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1655 * @return the last matching wiki page 1656 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1657 * @throws SystemException if a system exception occurred 1658 */ 1659 public com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last( 1660 long userId, long nodeId, int status, 1661 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1662 throws com.liferay.portal.kernel.exception.SystemException, 1663 com.liferay.portlet.wiki.NoSuchPageException; 1664 1665 /** 1666 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1667 * 1668 * @param userId the user ID 1669 * @param nodeId the node ID 1670 * @param status the status 1671 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1672 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1673 * @throws SystemException if a system exception occurred 1674 */ 1675 public com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_Last( 1676 long userId, long nodeId, int status, 1677 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1678 throws com.liferay.portal.kernel.exception.SystemException; 1679 1680 /** 1681 * Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 1682 * 1683 * @param pageId the primary key of the current wiki page 1684 * @param userId the user ID 1685 * @param nodeId the node ID 1686 * @param status the status 1687 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1688 * @return the previous, current, and next wiki page 1689 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1690 * @throws SystemException if a system exception occurred 1691 */ 1692 public com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext( 1693 long pageId, long userId, long nodeId, int status, 1694 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1695 throws com.liferay.portal.kernel.exception.SystemException, 1696 com.liferay.portlet.wiki.NoSuchPageException; 1697 1698 /** 1699 * Returns the wiki page where nodeId = ? and title = ? and version = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 1700 * 1701 * @param nodeId the node ID 1702 * @param title the title 1703 * @param version the version 1704 * @return the matching wiki page 1705 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1706 * @throws SystemException if a system exception occurred 1707 */ 1708 public com.liferay.portlet.wiki.model.WikiPage findByN_T_V(long nodeId, 1709 java.lang.String title, double version) 1710 throws com.liferay.portal.kernel.exception.SystemException, 1711 com.liferay.portlet.wiki.NoSuchPageException; 1712 1713 /** 1714 * Returns the wiki page where nodeId = ? and title = ? and version = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 1715 * 1716 * @param nodeId the node ID 1717 * @param title the title 1718 * @param version the version 1719 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1720 * @throws SystemException if a system exception occurred 1721 */ 1722 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId, 1723 java.lang.String title, double version) 1724 throws com.liferay.portal.kernel.exception.SystemException; 1725 1726 /** 1727 * Returns the wiki page where nodeId = ? and title = ? and version = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 1728 * 1729 * @param nodeId the node ID 1730 * @param title the title 1731 * @param version the version 1732 * @param retrieveFromCache whether to use the finder cache 1733 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 1734 * @throws SystemException if a system exception occurred 1735 */ 1736 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V(long nodeId, 1737 java.lang.String title, double version, boolean retrieveFromCache) 1738 throws com.liferay.portal.kernel.exception.SystemException; 1739 1740 /** 1741 * Returns all the wiki pages where nodeId = ? and title = ? and head = ?. 1742 * 1743 * @param nodeId the node ID 1744 * @param title the title 1745 * @param head the head 1746 * @return the matching wiki pages 1747 * @throws SystemException if a system exception occurred 1748 */ 1749 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 1750 long nodeId, java.lang.String title, boolean head) 1751 throws com.liferay.portal.kernel.exception.SystemException; 1752 1753 /** 1754 * Returns a range of all the wiki pages where nodeId = ? and title = ? and head = ?. 1755 * 1756 * <p> 1757 * 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. 1758 * </p> 1759 * 1760 * @param nodeId the node ID 1761 * @param title the title 1762 * @param head the head 1763 * @param start the lower bound of the range of wiki pages 1764 * @param end the upper bound of the range of wiki pages (not inclusive) 1765 * @return the range of matching wiki pages 1766 * @throws SystemException if a system exception occurred 1767 */ 1768 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 1769 long nodeId, java.lang.String title, boolean head, int start, int end) 1770 throws com.liferay.portal.kernel.exception.SystemException; 1771 1772 /** 1773 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?. 1774 * 1775 * <p> 1776 * 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. 1777 * </p> 1778 * 1779 * @param nodeId the node ID 1780 * @param title the title 1781 * @param head the head 1782 * @param start the lower bound of the range of wiki pages 1783 * @param end the upper bound of the range of wiki pages (not inclusive) 1784 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1785 * @return the ordered range of matching wiki pages 1786 * @throws SystemException if a system exception occurred 1787 */ 1788 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 1789 long nodeId, java.lang.String title, boolean head, int start, int end, 1790 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1791 throws com.liferay.portal.kernel.exception.SystemException; 1792 1793 /** 1794 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1795 * 1796 * @param nodeId the node ID 1797 * @param title the title 1798 * @param head the head 1799 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1800 * @return the first matching wiki page 1801 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1802 * @throws SystemException if a system exception occurred 1803 */ 1804 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First( 1805 long nodeId, java.lang.String title, boolean head, 1806 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1807 throws com.liferay.portal.kernel.exception.SystemException, 1808 com.liferay.portlet.wiki.NoSuchPageException; 1809 1810 /** 1811 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1812 * 1813 * @param nodeId the node ID 1814 * @param title the title 1815 * @param head the head 1816 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1817 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1818 * @throws SystemException if a system exception occurred 1819 */ 1820 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_First( 1821 long nodeId, java.lang.String title, boolean head, 1822 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1823 throws com.liferay.portal.kernel.exception.SystemException; 1824 1825 /** 1826 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1827 * 1828 * @param nodeId the node ID 1829 * @param title the title 1830 * @param head the head 1831 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1832 * @return the last matching wiki page 1833 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1834 * @throws SystemException if a system exception occurred 1835 */ 1836 public com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last( 1837 long nodeId, java.lang.String title, boolean head, 1838 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1839 throws com.liferay.portal.kernel.exception.SystemException, 1840 com.liferay.portlet.wiki.NoSuchPageException; 1841 1842 /** 1843 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1844 * 1845 * @param nodeId the node ID 1846 * @param title the title 1847 * @param head the head 1848 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1849 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1850 * @throws SystemException if a system exception occurred 1851 */ 1852 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_Last( 1853 long nodeId, java.lang.String title, boolean head, 1854 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1855 throws com.liferay.portal.kernel.exception.SystemException; 1856 1857 /** 1858 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 1859 * 1860 * @param pageId the primary key of the current wiki page 1861 * @param nodeId the node ID 1862 * @param title the title 1863 * @param head the head 1864 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1865 * @return the previous, current, and next wiki page 1866 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1867 * @throws SystemException if a system exception occurred 1868 */ 1869 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext( 1870 long pageId, long nodeId, java.lang.String title, boolean head, 1871 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1872 throws com.liferay.portal.kernel.exception.SystemException, 1873 com.liferay.portlet.wiki.NoSuchPageException; 1874 1875 /** 1876 * Returns all the wiki pages where nodeId = ? and title = ? and status = ?. 1877 * 1878 * @param nodeId the node ID 1879 * @param title the title 1880 * @param status the status 1881 * @return the matching wiki pages 1882 * @throws SystemException if a system exception occurred 1883 */ 1884 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 1885 long nodeId, java.lang.String title, int status) 1886 throws com.liferay.portal.kernel.exception.SystemException; 1887 1888 /** 1889 * Returns a range of all the wiki pages where nodeId = ? and title = ? and status = ?. 1890 * 1891 * <p> 1892 * 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. 1893 * </p> 1894 * 1895 * @param nodeId the node ID 1896 * @param title the title 1897 * @param status the status 1898 * @param start the lower bound of the range of wiki pages 1899 * @param end the upper bound of the range of wiki pages (not inclusive) 1900 * @return the range of matching wiki pages 1901 * @throws SystemException if a system exception occurred 1902 */ 1903 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 1904 long nodeId, java.lang.String title, int status, int start, int end) 1905 throws com.liferay.portal.kernel.exception.SystemException; 1906 1907 /** 1908 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?. 1909 * 1910 * <p> 1911 * 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. 1912 * </p> 1913 * 1914 * @param nodeId the node ID 1915 * @param title the title 1916 * @param status the status 1917 * @param start the lower bound of the range of wiki pages 1918 * @param end the upper bound of the range of wiki pages (not inclusive) 1919 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1920 * @return the ordered range of matching wiki pages 1921 * @throws SystemException if a system exception occurred 1922 */ 1923 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 1924 long nodeId, java.lang.String title, int status, int start, int end, 1925 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1926 throws com.liferay.portal.kernel.exception.SystemException; 1927 1928 /** 1929 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1930 * 1931 * @param nodeId the node ID 1932 * @param title the title 1933 * @param status the status 1934 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1935 * @return the first matching wiki page 1936 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1937 * @throws SystemException if a system exception occurred 1938 */ 1939 public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First( 1940 long nodeId, java.lang.String title, int status, 1941 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1942 throws com.liferay.portal.kernel.exception.SystemException, 1943 com.liferay.portlet.wiki.NoSuchPageException; 1944 1945 /** 1946 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1947 * 1948 * @param nodeId the node ID 1949 * @param title the title 1950 * @param status the status 1951 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1952 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1953 * @throws SystemException if a system exception occurred 1954 */ 1955 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_First( 1956 long nodeId, java.lang.String title, int status, 1957 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1958 throws com.liferay.portal.kernel.exception.SystemException; 1959 1960 /** 1961 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1962 * 1963 * @param nodeId the node ID 1964 * @param title the title 1965 * @param status the status 1966 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1967 * @return the last matching wiki page 1968 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1969 * @throws SystemException if a system exception occurred 1970 */ 1971 public com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last( 1972 long nodeId, java.lang.String title, int status, 1973 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1974 throws com.liferay.portal.kernel.exception.SystemException, 1975 com.liferay.portlet.wiki.NoSuchPageException; 1976 1977 /** 1978 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1979 * 1980 * @param nodeId the node ID 1981 * @param title the title 1982 * @param status the status 1983 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1984 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1985 * @throws SystemException if a system exception occurred 1986 */ 1987 public com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_Last( 1988 long nodeId, java.lang.String title, int status, 1989 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 1990 throws com.liferay.portal.kernel.exception.SystemException; 1991 1992 /** 1993 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 1994 * 1995 * @param pageId the primary key of the current wiki page 1996 * @param nodeId the node ID 1997 * @param title the title 1998 * @param status the status 1999 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2000 * @return the previous, current, and next wiki page 2001 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2002 * @throws SystemException if a system exception occurred 2003 */ 2004 public com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext( 2005 long pageId, long nodeId, java.lang.String title, int status, 2006 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2007 throws com.liferay.portal.kernel.exception.SystemException, 2008 com.liferay.portlet.wiki.NoSuchPageException; 2009 2010 /** 2011 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2012 * 2013 * @param nodeId the node ID 2014 * @param head the head 2015 * @param parentTitle the parent title 2016 * @return the matching wiki pages 2017 * @throws SystemException if a system exception occurred 2018 */ 2019 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 2020 long nodeId, boolean head, java.lang.String parentTitle) 2021 throws com.liferay.portal.kernel.exception.SystemException; 2022 2023 /** 2024 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2025 * 2026 * <p> 2027 * 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. 2028 * </p> 2029 * 2030 * @param nodeId the node ID 2031 * @param head the head 2032 * @param parentTitle the parent title 2033 * @param start the lower bound of the range of wiki pages 2034 * @param end the upper bound of the range of wiki pages (not inclusive) 2035 * @return the range of matching wiki pages 2036 * @throws SystemException if a system exception occurred 2037 */ 2038 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 2039 long nodeId, boolean head, java.lang.String parentTitle, int start, 2040 int end) throws com.liferay.portal.kernel.exception.SystemException; 2041 2042 /** 2043 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2044 * 2045 * <p> 2046 * 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. 2047 * </p> 2048 * 2049 * @param nodeId the node ID 2050 * @param head the head 2051 * @param parentTitle the parent title 2052 * @param start the lower bound of the range of wiki pages 2053 * @param end the upper bound of the range of wiki pages (not inclusive) 2054 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2055 * @return the ordered range of matching wiki pages 2056 * @throws SystemException if a system exception occurred 2057 */ 2058 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 2059 long nodeId, boolean head, java.lang.String parentTitle, int start, 2060 int end, 2061 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2062 throws com.liferay.portal.kernel.exception.SystemException; 2063 2064 /** 2065 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2066 * 2067 * @param nodeId the node ID 2068 * @param head the head 2069 * @param parentTitle the parent title 2070 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2071 * @return the first matching wiki page 2072 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2073 * @throws SystemException if a system exception occurred 2074 */ 2075 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First( 2076 long nodeId, boolean head, java.lang.String parentTitle, 2077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2078 throws com.liferay.portal.kernel.exception.SystemException, 2079 com.liferay.portlet.wiki.NoSuchPageException; 2080 2081 /** 2082 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2083 * 2084 * @param nodeId the node ID 2085 * @param head the head 2086 * @param parentTitle the parent title 2087 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2088 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2089 * @throws SystemException if a system exception occurred 2090 */ 2091 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_First( 2092 long nodeId, boolean head, java.lang.String parentTitle, 2093 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2094 throws com.liferay.portal.kernel.exception.SystemException; 2095 2096 /** 2097 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2098 * 2099 * @param nodeId the node ID 2100 * @param head the head 2101 * @param parentTitle the parent title 2102 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2103 * @return the last matching wiki page 2104 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2105 * @throws SystemException if a system exception occurred 2106 */ 2107 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last( 2108 long nodeId, boolean head, java.lang.String parentTitle, 2109 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2110 throws com.liferay.portal.kernel.exception.SystemException, 2111 com.liferay.portlet.wiki.NoSuchPageException; 2112 2113 /** 2114 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2115 * 2116 * @param nodeId the node ID 2117 * @param head the head 2118 * @param parentTitle the parent title 2119 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2120 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2121 * @throws SystemException if a system exception occurred 2122 */ 2123 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_Last( 2124 long nodeId, boolean head, java.lang.String parentTitle, 2125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2126 throws com.liferay.portal.kernel.exception.SystemException; 2127 2128 /** 2129 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 2130 * 2131 * @param pageId the primary key of the current wiki page 2132 * @param nodeId the node ID 2133 * @param head the head 2134 * @param parentTitle the parent title 2135 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2136 * @return the previous, current, and next wiki page 2137 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2138 * @throws SystemException if a system exception occurred 2139 */ 2140 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext( 2141 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 2142 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2143 throws com.liferay.portal.kernel.exception.SystemException, 2144 com.liferay.portlet.wiki.NoSuchPageException; 2145 2146 /** 2147 * Returns all the wiki pages where nodeId = ? and head = ? and status = ?. 2148 * 2149 * @param nodeId the node ID 2150 * @param head the head 2151 * @param status the status 2152 * @return the matching wiki pages 2153 * @throws SystemException if a system exception occurred 2154 */ 2155 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 2156 long nodeId, boolean head, int status) 2157 throws com.liferay.portal.kernel.exception.SystemException; 2158 2159 /** 2160 * Returns a range of all the wiki pages where nodeId = ? and head = ? and status = ?. 2161 * 2162 * <p> 2163 * 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. 2164 * </p> 2165 * 2166 * @param nodeId the node ID 2167 * @param head the head 2168 * @param status the status 2169 * @param start the lower bound of the range of wiki pages 2170 * @param end the upper bound of the range of wiki pages (not inclusive) 2171 * @return the range of matching wiki pages 2172 * @throws SystemException if a system exception occurred 2173 */ 2174 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 2175 long nodeId, boolean head, int status, int start, int end) 2176 throws com.liferay.portal.kernel.exception.SystemException; 2177 2178 /** 2179 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?. 2180 * 2181 * <p> 2182 * 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. 2183 * </p> 2184 * 2185 * @param nodeId the node ID 2186 * @param head the head 2187 * @param status the status 2188 * @param start the lower bound of the range of wiki pages 2189 * @param end the upper bound of the range of wiki pages (not inclusive) 2190 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2191 * @return the ordered range of matching wiki pages 2192 * @throws SystemException if a system exception occurred 2193 */ 2194 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 2195 long nodeId, boolean head, int status, int start, int end, 2196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2197 throws com.liferay.portal.kernel.exception.SystemException; 2198 2199 /** 2200 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2201 * 2202 * @param nodeId the node ID 2203 * @param head the head 2204 * @param status the status 2205 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2206 * @return the first matching wiki page 2207 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2208 * @throws SystemException if a system exception occurred 2209 */ 2210 public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First( 2211 long nodeId, boolean head, int status, 2212 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2213 throws com.liferay.portal.kernel.exception.SystemException, 2214 com.liferay.portlet.wiki.NoSuchPageException; 2215 2216 /** 2217 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2218 * 2219 * @param nodeId the node ID 2220 * @param head the head 2221 * @param status the status 2222 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2223 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2224 * @throws SystemException if a system exception occurred 2225 */ 2226 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First( 2227 long nodeId, boolean head, int status, 2228 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2229 throws com.liferay.portal.kernel.exception.SystemException; 2230 2231 /** 2232 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2233 * 2234 * @param nodeId the node ID 2235 * @param head the head 2236 * @param status the status 2237 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2238 * @return the last matching wiki page 2239 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2240 * @throws SystemException if a system exception occurred 2241 */ 2242 public com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last( 2243 long nodeId, boolean head, int status, 2244 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2245 throws com.liferay.portal.kernel.exception.SystemException, 2246 com.liferay.portlet.wiki.NoSuchPageException; 2247 2248 /** 2249 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2250 * 2251 * @param nodeId the node ID 2252 * @param head the head 2253 * @param status the status 2254 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2255 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2256 * @throws SystemException if a system exception occurred 2257 */ 2258 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last( 2259 long nodeId, boolean head, int status, 2260 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2261 throws com.liferay.portal.kernel.exception.SystemException; 2262 2263 /** 2264 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 2265 * 2266 * @param pageId the primary key of the current wiki page 2267 * @param nodeId the node ID 2268 * @param head the head 2269 * @param status the status 2270 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2271 * @return the previous, current, and next wiki page 2272 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2273 * @throws SystemException if a system exception occurred 2274 */ 2275 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext( 2276 long pageId, long nodeId, boolean head, int status, 2277 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2278 throws com.liferay.portal.kernel.exception.SystemException, 2279 com.liferay.portlet.wiki.NoSuchPageException; 2280 2281 /** 2282 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2283 * 2284 * @param nodeId the node ID 2285 * @param head the head 2286 * @param parentTitle the parent title 2287 * @param status the status 2288 * @return the matching wiki pages 2289 * @throws SystemException if a system exception occurred 2290 */ 2291 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 2292 long nodeId, boolean head, java.lang.String parentTitle, int status) 2293 throws com.liferay.portal.kernel.exception.SystemException; 2294 2295 /** 2296 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2297 * 2298 * <p> 2299 * 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. 2300 * </p> 2301 * 2302 * @param nodeId the node ID 2303 * @param head the head 2304 * @param parentTitle the parent title 2305 * @param status the status 2306 * @param start the lower bound of the range of wiki pages 2307 * @param end the upper bound of the range of wiki pages (not inclusive) 2308 * @return the range of matching wiki pages 2309 * @throws SystemException if a system exception occurred 2310 */ 2311 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 2312 long nodeId, boolean head, java.lang.String parentTitle, int status, 2313 int start, int end) 2314 throws com.liferay.portal.kernel.exception.SystemException; 2315 2316 /** 2317 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2318 * 2319 * <p> 2320 * 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. 2321 * </p> 2322 * 2323 * @param nodeId the node ID 2324 * @param head the head 2325 * @param parentTitle the parent title 2326 * @param status the status 2327 * @param start the lower bound of the range of wiki pages 2328 * @param end the upper bound of the range of wiki pages (not inclusive) 2329 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2330 * @return the ordered range of matching wiki pages 2331 * @throws SystemException if a system exception occurred 2332 */ 2333 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 2334 long nodeId, boolean head, java.lang.String parentTitle, int status, 2335 int start, int end, 2336 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2337 throws com.liferay.portal.kernel.exception.SystemException; 2338 2339 /** 2340 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2341 * 2342 * @param nodeId the node ID 2343 * @param head the head 2344 * @param parentTitle the parent title 2345 * @param status the status 2346 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2347 * @return the first matching wiki page 2348 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2349 * @throws SystemException if a system exception occurred 2350 */ 2351 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First( 2352 long nodeId, boolean head, java.lang.String parentTitle, int status, 2353 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2354 throws com.liferay.portal.kernel.exception.SystemException, 2355 com.liferay.portlet.wiki.NoSuchPageException; 2356 2357 /** 2358 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2359 * 2360 * @param nodeId the node ID 2361 * @param head the head 2362 * @param parentTitle the parent title 2363 * @param status the status 2364 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2365 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2366 * @throws SystemException if a system exception occurred 2367 */ 2368 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First( 2369 long nodeId, boolean head, java.lang.String parentTitle, int status, 2370 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2371 throws com.liferay.portal.kernel.exception.SystemException; 2372 2373 /** 2374 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2375 * 2376 * @param nodeId the node ID 2377 * @param head the head 2378 * @param parentTitle the parent title 2379 * @param status the status 2380 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2381 * @return the last matching wiki page 2382 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2383 * @throws SystemException if a system exception occurred 2384 */ 2385 public com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last( 2386 long nodeId, boolean head, java.lang.String parentTitle, int status, 2387 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2388 throws com.liferay.portal.kernel.exception.SystemException, 2389 com.liferay.portlet.wiki.NoSuchPageException; 2390 2391 /** 2392 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2393 * 2394 * @param nodeId the node ID 2395 * @param head the head 2396 * @param parentTitle the parent title 2397 * @param status the status 2398 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2399 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2400 * @throws SystemException if a system exception occurred 2401 */ 2402 public com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last( 2403 long nodeId, boolean head, java.lang.String parentTitle, int status, 2404 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2405 throws com.liferay.portal.kernel.exception.SystemException; 2406 2407 /** 2408 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2409 * 2410 * @param pageId the primary key of the current wiki page 2411 * @param nodeId the node ID 2412 * @param head the head 2413 * @param parentTitle the parent title 2414 * @param status the status 2415 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2416 * @return the previous, current, and next wiki page 2417 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2418 * @throws SystemException if a system exception occurred 2419 */ 2420 public com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext( 2421 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 2422 int status, 2423 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2424 throws com.liferay.portal.kernel.exception.SystemException, 2425 com.liferay.portlet.wiki.NoSuchPageException; 2426 2427 /** 2428 * Returns all the wiki pages. 2429 * 2430 * @return the wiki pages 2431 * @throws SystemException if a system exception occurred 2432 */ 2433 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll() 2434 throws com.liferay.portal.kernel.exception.SystemException; 2435 2436 /** 2437 * Returns a range of all the wiki pages. 2438 * 2439 * <p> 2440 * 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. 2441 * </p> 2442 * 2443 * @param start the lower bound of the range of wiki pages 2444 * @param end the upper bound of the range of wiki pages (not inclusive) 2445 * @return the range of wiki pages 2446 * @throws SystemException if a system exception occurred 2447 */ 2448 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 2449 int start, int end) 2450 throws com.liferay.portal.kernel.exception.SystemException; 2451 2452 /** 2453 * Returns an ordered range of all the wiki pages. 2454 * 2455 * <p> 2456 * 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. 2457 * </p> 2458 * 2459 * @param start the lower bound of the range of wiki pages 2460 * @param end the upper bound of the range of wiki pages (not inclusive) 2461 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2462 * @return the ordered range of wiki pages 2463 * @throws SystemException if a system exception occurred 2464 */ 2465 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 2466 int start, int end, 2467 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 2468 throws com.liferay.portal.kernel.exception.SystemException; 2469 2470 /** 2471 * Removes all the wiki pages where uuid = ? from the database. 2472 * 2473 * @param uuid the uuid 2474 * @throws SystemException if a system exception occurred 2475 */ 2476 public void removeByUuid(java.lang.String uuid) 2477 throws com.liferay.portal.kernel.exception.SystemException; 2478 2479 /** 2480 * Removes the wiki page where uuid = ? and groupId = ? from the database. 2481 * 2482 * @param uuid the uuid 2483 * @param groupId the group ID 2484 * @return the wiki page that was removed 2485 * @throws SystemException if a system exception occurred 2486 */ 2487 public com.liferay.portlet.wiki.model.WikiPage removeByUUID_G( 2488 java.lang.String uuid, long groupId) 2489 throws com.liferay.portal.kernel.exception.SystemException, 2490 com.liferay.portlet.wiki.NoSuchPageException; 2491 2492 /** 2493 * Removes all the wiki pages where uuid = ? and companyId = ? from the database. 2494 * 2495 * @param uuid the uuid 2496 * @param companyId the company ID 2497 * @throws SystemException if a system exception occurred 2498 */ 2499 public void removeByUuid_C(java.lang.String uuid, long companyId) 2500 throws com.liferay.portal.kernel.exception.SystemException; 2501 2502 /** 2503 * Removes all the wiki pages where nodeId = ? from the database. 2504 * 2505 * @param nodeId the node ID 2506 * @throws SystemException if a system exception occurred 2507 */ 2508 public void removeByNodeId(long nodeId) 2509 throws com.liferay.portal.kernel.exception.SystemException; 2510 2511 /** 2512 * Removes all the wiki pages where format = ? from the database. 2513 * 2514 * @param format the format 2515 * @throws SystemException if a system exception occurred 2516 */ 2517 public void removeByFormat(java.lang.String format) 2518 throws com.liferay.portal.kernel.exception.SystemException; 2519 2520 /** 2521 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database. 2522 * 2523 * @param resourcePrimKey the resource prim key 2524 * @param nodeId the node ID 2525 * @throws SystemException if a system exception occurred 2526 */ 2527 public void removeByR_N(long resourcePrimKey, long nodeId) 2528 throws com.liferay.portal.kernel.exception.SystemException; 2529 2530 /** 2531 * Removes all the wiki pages where nodeId = ? and title = ? from the database. 2532 * 2533 * @param nodeId the node ID 2534 * @param title the title 2535 * @throws SystemException if a system exception occurred 2536 */ 2537 public void removeByN_T(long nodeId, java.lang.String title) 2538 throws com.liferay.portal.kernel.exception.SystemException; 2539 2540 /** 2541 * Removes all the wiki pages where nodeId = ? and head = ? from the database. 2542 * 2543 * @param nodeId the node ID 2544 * @param head the head 2545 * @throws SystemException if a system exception occurred 2546 */ 2547 public void removeByN_H(long nodeId, boolean head) 2548 throws com.liferay.portal.kernel.exception.SystemException; 2549 2550 /** 2551 * Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database. 2552 * 2553 * @param nodeId the node ID 2554 * @param parentTitle the parent title 2555 * @throws SystemException if a system exception occurred 2556 */ 2557 public void removeByN_P(long nodeId, java.lang.String parentTitle) 2558 throws com.liferay.portal.kernel.exception.SystemException; 2559 2560 /** 2561 * Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database. 2562 * 2563 * @param nodeId the node ID 2564 * @param redirectTitle the redirect title 2565 * @throws SystemException if a system exception occurred 2566 */ 2567 public void removeByN_R(long nodeId, java.lang.String redirectTitle) 2568 throws com.liferay.portal.kernel.exception.SystemException; 2569 2570 /** 2571 * Removes all the wiki pages where nodeId = ? and status = ? from the database. 2572 * 2573 * @param nodeId the node ID 2574 * @param status the status 2575 * @throws SystemException if a system exception occurred 2576 */ 2577 public void removeByN_S(long nodeId, int status) 2578 throws com.liferay.portal.kernel.exception.SystemException; 2579 2580 /** 2581 * Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database. 2582 * 2583 * @param resourcePrimKey the resource prim key 2584 * @param nodeId the node ID 2585 * @param version the version 2586 * @return the wiki page that was removed 2587 * @throws SystemException if a system exception occurred 2588 */ 2589 public com.liferay.portlet.wiki.model.WikiPage removeByR_N_V( 2590 long resourcePrimKey, long nodeId, double version) 2591 throws com.liferay.portal.kernel.exception.SystemException, 2592 com.liferay.portlet.wiki.NoSuchPageException; 2593 2594 /** 2595 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database. 2596 * 2597 * @param resourcePrimKey the resource prim key 2598 * @param nodeId the node ID 2599 * @param status the status 2600 * @throws SystemException if a system exception occurred 2601 */ 2602 public void removeByR_N_S(long resourcePrimKey, long nodeId, int status) 2603 throws com.liferay.portal.kernel.exception.SystemException; 2604 2605 /** 2606 * Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database. 2607 * 2608 * @param userId the user ID 2609 * @param nodeId the node ID 2610 * @param status the status 2611 * @throws SystemException if a system exception occurred 2612 */ 2613 public void removeByU_N_S(long userId, long nodeId, int status) 2614 throws com.liferay.portal.kernel.exception.SystemException; 2615 2616 /** 2617 * Removes the wiki page where nodeId = ? and title = ? and version = ? from the database. 2618 * 2619 * @param nodeId the node ID 2620 * @param title the title 2621 * @param version the version 2622 * @return the wiki page that was removed 2623 * @throws SystemException if a system exception occurred 2624 */ 2625 public com.liferay.portlet.wiki.model.WikiPage removeByN_T_V(long nodeId, 2626 java.lang.String title, double version) 2627 throws com.liferay.portal.kernel.exception.SystemException, 2628 com.liferay.portlet.wiki.NoSuchPageException; 2629 2630 /** 2631 * Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database. 2632 * 2633 * @param nodeId the node ID 2634 * @param title the title 2635 * @param head the head 2636 * @throws SystemException if a system exception occurred 2637 */ 2638 public void removeByN_T_H(long nodeId, java.lang.String title, boolean head) 2639 throws com.liferay.portal.kernel.exception.SystemException; 2640 2641 /** 2642 * Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database. 2643 * 2644 * @param nodeId the node ID 2645 * @param title the title 2646 * @param status the status 2647 * @throws SystemException if a system exception occurred 2648 */ 2649 public void removeByN_T_S(long nodeId, java.lang.String title, int status) 2650 throws com.liferay.portal.kernel.exception.SystemException; 2651 2652 /** 2653 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database. 2654 * 2655 * @param nodeId the node ID 2656 * @param head the head 2657 * @param parentTitle the parent title 2658 * @throws SystemException if a system exception occurred 2659 */ 2660 public void removeByN_H_P(long nodeId, boolean head, 2661 java.lang.String parentTitle) 2662 throws com.liferay.portal.kernel.exception.SystemException; 2663 2664 /** 2665 * Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database. 2666 * 2667 * @param nodeId the node ID 2668 * @param head the head 2669 * @param status the status 2670 * @throws SystemException if a system exception occurred 2671 */ 2672 public void removeByN_H_S(long nodeId, boolean head, int status) 2673 throws com.liferay.portal.kernel.exception.SystemException; 2674 2675 /** 2676 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 2677 * 2678 * @param nodeId the node ID 2679 * @param head the head 2680 * @param parentTitle the parent title 2681 * @param status the status 2682 * @throws SystemException if a system exception occurred 2683 */ 2684 public void removeByN_H_P_S(long nodeId, boolean head, 2685 java.lang.String parentTitle, int status) 2686 throws com.liferay.portal.kernel.exception.SystemException; 2687 2688 /** 2689 * Removes all the wiki pages from the database. 2690 * 2691 * @throws SystemException if a system exception occurred 2692 */ 2693 public void removeAll() 2694 throws com.liferay.portal.kernel.exception.SystemException; 2695 2696 /** 2697 * Returns the number of wiki pages where uuid = ?. 2698 * 2699 * @param uuid the uuid 2700 * @return the number of matching wiki pages 2701 * @throws SystemException if a system exception occurred 2702 */ 2703 public int countByUuid(java.lang.String uuid) 2704 throws com.liferay.portal.kernel.exception.SystemException; 2705 2706 /** 2707 * Returns the number of wiki pages where uuid = ? and groupId = ?. 2708 * 2709 * @param uuid the uuid 2710 * @param groupId the group ID 2711 * @return the number of matching wiki pages 2712 * @throws SystemException if a system exception occurred 2713 */ 2714 public int countByUUID_G(java.lang.String uuid, long groupId) 2715 throws com.liferay.portal.kernel.exception.SystemException; 2716 2717 /** 2718 * Returns the number of wiki pages where uuid = ? and companyId = ?. 2719 * 2720 * @param uuid the uuid 2721 * @param companyId the company ID 2722 * @return the number of matching wiki pages 2723 * @throws SystemException if a system exception occurred 2724 */ 2725 public int countByUuid_C(java.lang.String uuid, long companyId) 2726 throws com.liferay.portal.kernel.exception.SystemException; 2727 2728 /** 2729 * Returns the number of wiki pages where nodeId = ?. 2730 * 2731 * @param nodeId the node ID 2732 * @return the number of matching wiki pages 2733 * @throws SystemException if a system exception occurred 2734 */ 2735 public int countByNodeId(long nodeId) 2736 throws com.liferay.portal.kernel.exception.SystemException; 2737 2738 /** 2739 * Returns the number of wiki pages where format = ?. 2740 * 2741 * @param format the format 2742 * @return the number of matching wiki pages 2743 * @throws SystemException if a system exception occurred 2744 */ 2745 public int countByFormat(java.lang.String format) 2746 throws com.liferay.portal.kernel.exception.SystemException; 2747 2748 /** 2749 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?. 2750 * 2751 * @param resourcePrimKey the resource prim key 2752 * @param nodeId the node ID 2753 * @return the number of matching wiki pages 2754 * @throws SystemException if a system exception occurred 2755 */ 2756 public int countByR_N(long resourcePrimKey, long nodeId) 2757 throws com.liferay.portal.kernel.exception.SystemException; 2758 2759 /** 2760 * Returns the number of wiki pages where nodeId = ? and title = ?. 2761 * 2762 * @param nodeId the node ID 2763 * @param title the title 2764 * @return the number of matching wiki pages 2765 * @throws SystemException if a system exception occurred 2766 */ 2767 public int countByN_T(long nodeId, java.lang.String title) 2768 throws com.liferay.portal.kernel.exception.SystemException; 2769 2770 /** 2771 * Returns the number of wiki pages where nodeId = ? and head = ?. 2772 * 2773 * @param nodeId the node ID 2774 * @param head the head 2775 * @return the number of matching wiki pages 2776 * @throws SystemException if a system exception occurred 2777 */ 2778 public int countByN_H(long nodeId, boolean head) 2779 throws com.liferay.portal.kernel.exception.SystemException; 2780 2781 /** 2782 * Returns the number of wiki pages where nodeId = ? and parentTitle = ?. 2783 * 2784 * @param nodeId the node ID 2785 * @param parentTitle the parent title 2786 * @return the number of matching wiki pages 2787 * @throws SystemException if a system exception occurred 2788 */ 2789 public int countByN_P(long nodeId, java.lang.String parentTitle) 2790 throws com.liferay.portal.kernel.exception.SystemException; 2791 2792 /** 2793 * Returns the number of wiki pages where nodeId = ? and redirectTitle = ?. 2794 * 2795 * @param nodeId the node ID 2796 * @param redirectTitle the redirect title 2797 * @return the number of matching wiki pages 2798 * @throws SystemException if a system exception occurred 2799 */ 2800 public int countByN_R(long nodeId, java.lang.String redirectTitle) 2801 throws com.liferay.portal.kernel.exception.SystemException; 2802 2803 /** 2804 * Returns the number of wiki pages where nodeId = ? and status = ?. 2805 * 2806 * @param nodeId the node ID 2807 * @param status the status 2808 * @return the number of matching wiki pages 2809 * @throws SystemException if a system exception occurred 2810 */ 2811 public int countByN_S(long nodeId, int status) 2812 throws com.liferay.portal.kernel.exception.SystemException; 2813 2814 /** 2815 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?. 2816 * 2817 * @param resourcePrimKey the resource prim key 2818 * @param nodeId the node ID 2819 * @param version the version 2820 * @return the number of matching wiki pages 2821 * @throws SystemException if a system exception occurred 2822 */ 2823 public int countByR_N_V(long resourcePrimKey, long nodeId, double version) 2824 throws com.liferay.portal.kernel.exception.SystemException; 2825 2826 /** 2827 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2828 * 2829 * @param resourcePrimKey the resource prim key 2830 * @param nodeId the node ID 2831 * @param status the status 2832 * @return the number of matching wiki pages 2833 * @throws SystemException if a system exception occurred 2834 */ 2835 public int countByR_N_S(long resourcePrimKey, long nodeId, int status) 2836 throws com.liferay.portal.kernel.exception.SystemException; 2837 2838 /** 2839 * Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?. 2840 * 2841 * @param userId the user ID 2842 * @param nodeId the node ID 2843 * @param status the status 2844 * @return the number of matching wiki pages 2845 * @throws SystemException if a system exception occurred 2846 */ 2847 public int countByU_N_S(long userId, long nodeId, int status) 2848 throws com.liferay.portal.kernel.exception.SystemException; 2849 2850 /** 2851 * Returns the number of wiki pages where nodeId = ? and title = ? and version = ?. 2852 * 2853 * @param nodeId the node ID 2854 * @param title the title 2855 * @param version the version 2856 * @return the number of matching wiki pages 2857 * @throws SystemException if a system exception occurred 2858 */ 2859 public int countByN_T_V(long nodeId, java.lang.String title, double version) 2860 throws com.liferay.portal.kernel.exception.SystemException; 2861 2862 /** 2863 * Returns the number of wiki pages where nodeId = ? and title = ? and head = ?. 2864 * 2865 * @param nodeId the node ID 2866 * @param title the title 2867 * @param head the head 2868 * @return the number of matching wiki pages 2869 * @throws SystemException if a system exception occurred 2870 */ 2871 public int countByN_T_H(long nodeId, java.lang.String title, boolean head) 2872 throws com.liferay.portal.kernel.exception.SystemException; 2873 2874 /** 2875 * Returns the number of wiki pages where nodeId = ? and title = ? and status = ?. 2876 * 2877 * @param nodeId the node ID 2878 * @param title the title 2879 * @param status the status 2880 * @return the number of matching wiki pages 2881 * @throws SystemException if a system exception occurred 2882 */ 2883 public int countByN_T_S(long nodeId, java.lang.String title, int status) 2884 throws com.liferay.portal.kernel.exception.SystemException; 2885 2886 /** 2887 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?. 2888 * 2889 * @param nodeId the node ID 2890 * @param head the head 2891 * @param parentTitle the parent title 2892 * @return the number of matching wiki pages 2893 * @throws SystemException if a system exception occurred 2894 */ 2895 public int countByN_H_P(long nodeId, boolean head, 2896 java.lang.String parentTitle) 2897 throws com.liferay.portal.kernel.exception.SystemException; 2898 2899 /** 2900 * Returns the number of wiki pages where nodeId = ? and head = ? and status = ?. 2901 * 2902 * @param nodeId the node ID 2903 * @param head the head 2904 * @param status the status 2905 * @return the number of matching wiki pages 2906 * @throws SystemException if a system exception occurred 2907 */ 2908 public int countByN_H_S(long nodeId, boolean head, int status) 2909 throws com.liferay.portal.kernel.exception.SystemException; 2910 2911 /** 2912 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 2913 * 2914 * @param nodeId the node ID 2915 * @param head the head 2916 * @param parentTitle the parent title 2917 * @param status the status 2918 * @return the number of matching wiki pages 2919 * @throws SystemException if a system exception occurred 2920 */ 2921 public int countByN_H_P_S(long nodeId, boolean head, 2922 java.lang.String parentTitle, int status) 2923 throws com.liferay.portal.kernel.exception.SystemException; 2924 2925 /** 2926 * Returns the number of wiki pages. 2927 * 2928 * @return the number of wiki pages 2929 * @throws SystemException if a system exception occurred 2930 */ 2931 public int countAll() 2932 throws com.liferay.portal.kernel.exception.SystemException; 2933 }