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