001 /** 002 * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil; 020 import com.liferay.portal.kernel.dao.orm.DynamicQuery; 021 import com.liferay.portal.kernel.util.OrderByComparator; 022 import com.liferay.portal.kernel.util.ReferenceRegistry; 023 import com.liferay.portal.service.ServiceContext; 024 025 import com.liferay.portlet.wiki.model.WikiPage; 026 027 import java.util.List; 028 029 /** 030 * 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. 031 * 032 * <p> 033 * Caching information and settings can be found in <code>portal.properties</code> 034 * </p> 035 * 036 * @author Brian Wing Shun Chan 037 * @see WikiPagePersistence 038 * @see WikiPagePersistenceImpl 039 * @generated 040 */ 041 @ProviderType 042 public class WikiPageUtil { 043 /* 044 * NOTE FOR DEVELOPERS: 045 * 046 * Never modify this class directly. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this class. 047 */ 048 049 /** 050 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache() 051 */ 052 public static void clearCache() { 053 getPersistence().clearCache(); 054 } 055 056 /** 057 * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel) 058 */ 059 public static void clearCache(WikiPage wikiPage) { 060 getPersistence().clearCache(wikiPage); 061 } 062 063 /** 064 * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery) 065 */ 066 public static long countWithDynamicQuery(DynamicQuery dynamicQuery) { 067 return getPersistence().countWithDynamicQuery(dynamicQuery); 068 } 069 070 /** 071 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery) 072 */ 073 public static List<WikiPage> findWithDynamicQuery(DynamicQuery dynamicQuery) { 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 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end); 083 } 084 085 /** 086 * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator) 087 */ 088 public static List<WikiPage> findWithDynamicQuery( 089 DynamicQuery dynamicQuery, int start, int end, 090 OrderByComparator<WikiPage> orderByComparator) { 091 return getPersistence() 092 .findWithDynamicQuery(dynamicQuery, start, end, 093 orderByComparator); 094 } 095 096 /** 097 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel) 098 */ 099 public static WikiPage update(WikiPage wikiPage) { 100 return getPersistence().update(wikiPage); 101 } 102 103 /** 104 * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, ServiceContext) 105 */ 106 public static WikiPage update(WikiPage wikiPage, 107 ServiceContext serviceContext) { 108 return getPersistence().update(wikiPage, serviceContext); 109 } 110 111 /** 112 * Returns all the wiki pages where uuid = ?. 113 * 114 * @param uuid the uuid 115 * @return the matching wiki pages 116 */ 117 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 118 java.lang.String uuid) { 119 return getPersistence().findByUuid(uuid); 120 } 121 122 /** 123 * Returns a range of all the wiki pages where uuid = ?. 124 * 125 * <p> 126 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 127 * </p> 128 * 129 * @param uuid the uuid 130 * @param start the lower bound of the range of wiki pages 131 * @param end the upper bound of the range of wiki pages (not inclusive) 132 * @return the range of matching wiki pages 133 */ 134 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 135 java.lang.String uuid, int start, int end) { 136 return getPersistence().findByUuid(uuid, start, end); 137 } 138 139 /** 140 * Returns an ordered range of all the wiki pages where uuid = ?. 141 * 142 * <p> 143 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 144 * </p> 145 * 146 * @param uuid the uuid 147 * @param start the lower bound of the range of wiki pages 148 * @param end the upper bound of the range of wiki pages (not inclusive) 149 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 150 * @return the ordered range of matching wiki pages 151 */ 152 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid( 153 java.lang.String uuid, int start, int end, 154 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 155 return getPersistence().findByUuid(uuid, start, end, orderByComparator); 156 } 157 158 /** 159 * Returns the first wiki page in the ordered set where uuid = ?. 160 * 161 * @param uuid the uuid 162 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 163 * @return the first matching wiki page 164 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 165 */ 166 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_First( 167 java.lang.String uuid, 168 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 169 throws com.liferay.portlet.wiki.NoSuchPageException { 170 return getPersistence().findByUuid_First(uuid, orderByComparator); 171 } 172 173 /** 174 * Returns the first wiki page in the ordered set where uuid = ?. 175 * 176 * @param uuid the uuid 177 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 178 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 179 */ 180 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_First( 181 java.lang.String uuid, 182 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 183 return getPersistence().fetchByUuid_First(uuid, orderByComparator); 184 } 185 186 /** 187 * Returns the last wiki page in the ordered set where uuid = ?. 188 * 189 * @param uuid the uuid 190 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 191 * @return the last matching wiki page 192 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 193 */ 194 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_Last( 195 java.lang.String uuid, 196 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 197 throws com.liferay.portlet.wiki.NoSuchPageException { 198 return getPersistence().findByUuid_Last(uuid, orderByComparator); 199 } 200 201 /** 202 * Returns the last wiki page in the ordered set where uuid = ?. 203 * 204 * @param uuid the uuid 205 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 206 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 207 */ 208 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_Last( 209 java.lang.String uuid, 210 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 211 return getPersistence().fetchByUuid_Last(uuid, orderByComparator); 212 } 213 214 /** 215 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ?. 216 * 217 * @param pageId the primary key of the current wiki page 218 * @param uuid the uuid 219 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 220 * @return the previous, current, and next wiki page 221 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 222 */ 223 public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_PrevAndNext( 224 long pageId, java.lang.String uuid, 225 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 226 throws com.liferay.portlet.wiki.NoSuchPageException { 227 return getPersistence() 228 .findByUuid_PrevAndNext(pageId, uuid, orderByComparator); 229 } 230 231 /** 232 * Removes all the wiki pages where uuid = ? from the database. 233 * 234 * @param uuid the uuid 235 */ 236 public static void removeByUuid(java.lang.String uuid) { 237 getPersistence().removeByUuid(uuid); 238 } 239 240 /** 241 * Returns the number of wiki pages where uuid = ?. 242 * 243 * @param uuid the uuid 244 * @return the number of matching wiki pages 245 */ 246 public static int countByUuid(java.lang.String uuid) { 247 return getPersistence().countByUuid(uuid); 248 } 249 250 /** 251 * Returns the wiki page where uuid = ? and groupId = ? or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 252 * 253 * @param uuid the uuid 254 * @param groupId the group ID 255 * @return the matching wiki page 256 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 257 */ 258 public static com.liferay.portlet.wiki.model.WikiPage findByUUID_G( 259 java.lang.String uuid, long groupId) 260 throws com.liferay.portlet.wiki.NoSuchPageException { 261 return getPersistence().findByUUID_G(uuid, groupId); 262 } 263 264 /** 265 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 266 * 267 * @param uuid the uuid 268 * @param groupId the group ID 269 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 270 */ 271 public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 272 java.lang.String uuid, long groupId) { 273 return getPersistence().fetchByUUID_G(uuid, groupId); 274 } 275 276 /** 277 * Returns the wiki page where uuid = ? and groupId = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 278 * 279 * @param uuid the uuid 280 * @param groupId the group ID 281 * @param retrieveFromCache whether to use the finder cache 282 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 283 */ 284 public static com.liferay.portlet.wiki.model.WikiPage fetchByUUID_G( 285 java.lang.String uuid, long groupId, boolean retrieveFromCache) { 286 return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache); 287 } 288 289 /** 290 * Removes the wiki page where uuid = ? and groupId = ? from the database. 291 * 292 * @param uuid the uuid 293 * @param groupId the group ID 294 * @return the wiki page that was removed 295 */ 296 public static com.liferay.portlet.wiki.model.WikiPage removeByUUID_G( 297 java.lang.String uuid, long groupId) 298 throws com.liferay.portlet.wiki.NoSuchPageException { 299 return getPersistence().removeByUUID_G(uuid, groupId); 300 } 301 302 /** 303 * Returns the number of wiki pages where uuid = ? and groupId = ?. 304 * 305 * @param uuid the uuid 306 * @param groupId the group ID 307 * @return the number of matching wiki pages 308 */ 309 public static int countByUUID_G(java.lang.String uuid, long groupId) { 310 return getPersistence().countByUUID_G(uuid, groupId); 311 } 312 313 /** 314 * Returns all the wiki pages where uuid = ? and companyId = ?. 315 * 316 * @param uuid the uuid 317 * @param companyId the company ID 318 * @return the matching wiki pages 319 */ 320 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 321 java.lang.String uuid, long companyId) { 322 return getPersistence().findByUuid_C(uuid, companyId); 323 } 324 325 /** 326 * Returns a range of all the wiki pages where uuid = ? and companyId = ?. 327 * 328 * <p> 329 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 330 * </p> 331 * 332 * @param uuid the uuid 333 * @param companyId the company ID 334 * @param start the lower bound of the range of wiki pages 335 * @param end the upper bound of the range of wiki pages (not inclusive) 336 * @return the range of matching wiki pages 337 */ 338 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 339 java.lang.String uuid, long companyId, int start, int end) { 340 return getPersistence().findByUuid_C(uuid, companyId, start, end); 341 } 342 343 /** 344 * Returns an ordered range of all the wiki pages where uuid = ? and companyId = ?. 345 * 346 * <p> 347 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 348 * </p> 349 * 350 * @param uuid the uuid 351 * @param companyId the company ID 352 * @param start the lower bound of the range of wiki pages 353 * @param end the upper bound of the range of wiki pages (not inclusive) 354 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 355 * @return the ordered range of matching wiki pages 356 */ 357 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByUuid_C( 358 java.lang.String uuid, long companyId, int start, int end, 359 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 360 return getPersistence() 361 .findByUuid_C(uuid, companyId, start, end, orderByComparator); 362 } 363 364 /** 365 * Returns the first wiki page in the ordered set where uuid = ? and companyId = ?. 366 * 367 * @param uuid the uuid 368 * @param companyId the company ID 369 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 370 * @return the first matching wiki page 371 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 372 */ 373 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_C_First( 374 java.lang.String uuid, long companyId, 375 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 376 throws com.liferay.portlet.wiki.NoSuchPageException { 377 return getPersistence() 378 .findByUuid_C_First(uuid, companyId, orderByComparator); 379 } 380 381 /** 382 * Returns the first wiki page in the ordered set where uuid = ? and companyId = ?. 383 * 384 * @param uuid the uuid 385 * @param companyId the company ID 386 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 387 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 388 */ 389 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_First( 390 java.lang.String uuid, long companyId, 391 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 392 return getPersistence() 393 .fetchByUuid_C_First(uuid, companyId, orderByComparator); 394 } 395 396 /** 397 * Returns the last wiki page in the ordered set where uuid = ? and companyId = ?. 398 * 399 * @param uuid the uuid 400 * @param companyId the company ID 401 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 402 * @return the last matching wiki page 403 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 404 */ 405 public static com.liferay.portlet.wiki.model.WikiPage findByUuid_C_Last( 406 java.lang.String uuid, long companyId, 407 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 408 throws com.liferay.portlet.wiki.NoSuchPageException { 409 return getPersistence() 410 .findByUuid_C_Last(uuid, companyId, orderByComparator); 411 } 412 413 /** 414 * Returns the last wiki page in the ordered set where uuid = ? and companyId = ?. 415 * 416 * @param uuid the uuid 417 * @param companyId the company ID 418 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 419 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 420 */ 421 public static com.liferay.portlet.wiki.model.WikiPage fetchByUuid_C_Last( 422 java.lang.String uuid, long companyId, 423 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 424 return getPersistence() 425 .fetchByUuid_C_Last(uuid, companyId, orderByComparator); 426 } 427 428 /** 429 * Returns the wiki pages before and after the current wiki page in the ordered set where uuid = ? and companyId = ?. 430 * 431 * @param pageId the primary key of the current wiki page 432 * @param uuid the uuid 433 * @param companyId the company ID 434 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 435 * @return the previous, current, and next wiki page 436 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 437 */ 438 public static com.liferay.portlet.wiki.model.WikiPage[] findByUuid_C_PrevAndNext( 439 long pageId, java.lang.String uuid, long companyId, 440 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 441 throws com.liferay.portlet.wiki.NoSuchPageException { 442 return getPersistence() 443 .findByUuid_C_PrevAndNext(pageId, uuid, companyId, 444 orderByComparator); 445 } 446 447 /** 448 * Removes all the wiki pages where uuid = ? and companyId = ? from the database. 449 * 450 * @param uuid the uuid 451 * @param companyId the company ID 452 */ 453 public static void removeByUuid_C(java.lang.String uuid, long companyId) { 454 getPersistence().removeByUuid_C(uuid, companyId); 455 } 456 457 /** 458 * Returns the number of wiki pages where uuid = ? and companyId = ?. 459 * 460 * @param uuid the uuid 461 * @param companyId the company ID 462 * @return the number of matching wiki pages 463 */ 464 public static int countByUuid_C(java.lang.String uuid, long companyId) { 465 return getPersistence().countByUuid_C(uuid, companyId); 466 } 467 468 /** 469 * Returns all the wiki pages where resourcePrimKey = ?. 470 * 471 * @param resourcePrimKey the resource prim key 472 * @return the matching wiki pages 473 */ 474 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey( 475 long resourcePrimKey) { 476 return getPersistence().findByResourcePrimKey(resourcePrimKey); 477 } 478 479 /** 480 * Returns a range of all the wiki pages where resourcePrimKey = ?. 481 * 482 * <p> 483 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 484 * </p> 485 * 486 * @param resourcePrimKey the resource prim key 487 * @param start the lower bound of the range of wiki pages 488 * @param end the upper bound of the range of wiki pages (not inclusive) 489 * @return the range of matching wiki pages 490 */ 491 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey( 492 long resourcePrimKey, int start, int end) { 493 return getPersistence() 494 .findByResourcePrimKey(resourcePrimKey, start, end); 495 } 496 497 /** 498 * Returns an ordered range of all the wiki pages where resourcePrimKey = ?. 499 * 500 * <p> 501 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 502 * </p> 503 * 504 * @param resourcePrimKey the resource prim key 505 * @param start the lower bound of the range of wiki pages 506 * @param end the upper bound of the range of wiki pages (not inclusive) 507 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 508 * @return the ordered range of matching wiki pages 509 */ 510 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByResourcePrimKey( 511 long resourcePrimKey, int start, int end, 512 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 513 return getPersistence() 514 .findByResourcePrimKey(resourcePrimKey, start, end, 515 orderByComparator); 516 } 517 518 /** 519 * Returns the first wiki page in the ordered set where resourcePrimKey = ?. 520 * 521 * @param resourcePrimKey the resource prim key 522 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 523 * @return the first matching wiki page 524 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 525 */ 526 public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey_First( 527 long resourcePrimKey, 528 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 529 throws com.liferay.portlet.wiki.NoSuchPageException { 530 return getPersistence() 531 .findByResourcePrimKey_First(resourcePrimKey, 532 orderByComparator); 533 } 534 535 /** 536 * Returns the first wiki page in the ordered set where resourcePrimKey = ?. 537 * 538 * @param resourcePrimKey the resource prim key 539 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 540 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 541 */ 542 public static com.liferay.portlet.wiki.model.WikiPage fetchByResourcePrimKey_First( 543 long resourcePrimKey, 544 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 545 return getPersistence() 546 .fetchByResourcePrimKey_First(resourcePrimKey, 547 orderByComparator); 548 } 549 550 /** 551 * Returns the last wiki page in the ordered set where resourcePrimKey = ?. 552 * 553 * @param resourcePrimKey the resource prim key 554 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 555 * @return the last matching wiki page 556 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 557 */ 558 public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey_Last( 559 long resourcePrimKey, 560 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 561 throws com.liferay.portlet.wiki.NoSuchPageException { 562 return getPersistence() 563 .findByResourcePrimKey_Last(resourcePrimKey, 564 orderByComparator); 565 } 566 567 /** 568 * Returns the last wiki page in the ordered set where resourcePrimKey = ?. 569 * 570 * @param resourcePrimKey the resource prim key 571 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 572 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 573 */ 574 public static com.liferay.portlet.wiki.model.WikiPage fetchByResourcePrimKey_Last( 575 long resourcePrimKey, 576 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 577 return getPersistence() 578 .fetchByResourcePrimKey_Last(resourcePrimKey, 579 orderByComparator); 580 } 581 582 /** 583 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ?. 584 * 585 * @param pageId the primary key of the current wiki page 586 * @param resourcePrimKey the resource prim key 587 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 588 * @return the previous, current, and next wiki page 589 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 590 */ 591 public static com.liferay.portlet.wiki.model.WikiPage[] findByResourcePrimKey_PrevAndNext( 592 long pageId, long resourcePrimKey, 593 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 594 throws com.liferay.portlet.wiki.NoSuchPageException { 595 return getPersistence() 596 .findByResourcePrimKey_PrevAndNext(pageId, resourcePrimKey, 597 orderByComparator); 598 } 599 600 /** 601 * Removes all the wiki pages where resourcePrimKey = ? from the database. 602 * 603 * @param resourcePrimKey the resource prim key 604 */ 605 public static void removeByResourcePrimKey(long resourcePrimKey) { 606 getPersistence().removeByResourcePrimKey(resourcePrimKey); 607 } 608 609 /** 610 * Returns the number of wiki pages where resourcePrimKey = ?. 611 * 612 * @param resourcePrimKey the resource prim key 613 * @return the number of matching wiki pages 614 */ 615 public static int countByResourcePrimKey(long resourcePrimKey) { 616 return getPersistence().countByResourcePrimKey(resourcePrimKey); 617 } 618 619 /** 620 * Returns all the wiki pages where nodeId = ?. 621 * 622 * @param nodeId the node ID 623 * @return the matching wiki pages 624 */ 625 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 626 long nodeId) { 627 return getPersistence().findByNodeId(nodeId); 628 } 629 630 /** 631 * Returns a range of all the wiki pages where nodeId = ?. 632 * 633 * <p> 634 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 635 * </p> 636 * 637 * @param nodeId the node ID 638 * @param start the lower bound of the range of wiki pages 639 * @param end the upper bound of the range of wiki pages (not inclusive) 640 * @return the range of matching wiki pages 641 */ 642 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 643 long nodeId, int start, int end) { 644 return getPersistence().findByNodeId(nodeId, start, end); 645 } 646 647 /** 648 * Returns an ordered range of all the wiki pages where nodeId = ?. 649 * 650 * <p> 651 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 652 * </p> 653 * 654 * @param nodeId the node ID 655 * @param start the lower bound of the range of wiki pages 656 * @param end the upper bound of the range of wiki pages (not inclusive) 657 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 658 * @return the ordered range of matching wiki pages 659 */ 660 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNodeId( 661 long nodeId, int start, int end, 662 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 663 return getPersistence() 664 .findByNodeId(nodeId, start, end, orderByComparator); 665 } 666 667 /** 668 * Returns the first wiki page in the ordered set where nodeId = ?. 669 * 670 * @param nodeId the node ID 671 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 672 * @return the first matching wiki page 673 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 674 */ 675 public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_First( 676 long nodeId, 677 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 678 throws com.liferay.portlet.wiki.NoSuchPageException { 679 return getPersistence().findByNodeId_First(nodeId, orderByComparator); 680 } 681 682 /** 683 * Returns the first wiki page in the ordered set where nodeId = ?. 684 * 685 * @param nodeId the node ID 686 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 687 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 688 */ 689 public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_First( 690 long nodeId, 691 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 692 return getPersistence().fetchByNodeId_First(nodeId, orderByComparator); 693 } 694 695 /** 696 * Returns the last wiki page in the ordered set where nodeId = ?. 697 * 698 * @param nodeId the node ID 699 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 700 * @return the last matching wiki page 701 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 702 */ 703 public static com.liferay.portlet.wiki.model.WikiPage findByNodeId_Last( 704 long nodeId, 705 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 706 throws com.liferay.portlet.wiki.NoSuchPageException { 707 return getPersistence().findByNodeId_Last(nodeId, orderByComparator); 708 } 709 710 /** 711 * Returns the last wiki page in the ordered set where nodeId = ?. 712 * 713 * @param nodeId the node ID 714 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 715 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 716 */ 717 public static com.liferay.portlet.wiki.model.WikiPage fetchByNodeId_Last( 718 long nodeId, 719 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 720 return getPersistence().fetchByNodeId_Last(nodeId, orderByComparator); 721 } 722 723 /** 724 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ?. 725 * 726 * @param pageId the primary key of the current wiki page 727 * @param nodeId the node ID 728 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 729 * @return the previous, current, and next wiki page 730 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 731 */ 732 public static com.liferay.portlet.wiki.model.WikiPage[] findByNodeId_PrevAndNext( 733 long pageId, long nodeId, 734 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 735 throws com.liferay.portlet.wiki.NoSuchPageException { 736 return getPersistence() 737 .findByNodeId_PrevAndNext(pageId, nodeId, orderByComparator); 738 } 739 740 /** 741 * Removes all the wiki pages where nodeId = ? from the database. 742 * 743 * @param nodeId the node ID 744 */ 745 public static void removeByNodeId(long nodeId) { 746 getPersistence().removeByNodeId(nodeId); 747 } 748 749 /** 750 * Returns the number of wiki pages where nodeId = ?. 751 * 752 * @param nodeId the node ID 753 * @return the number of matching wiki pages 754 */ 755 public static int countByNodeId(long nodeId) { 756 return getPersistence().countByNodeId(nodeId); 757 } 758 759 /** 760 * Returns all the wiki pages where format = ?. 761 * 762 * @param format the format 763 * @return the matching wiki pages 764 */ 765 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 766 java.lang.String format) { 767 return getPersistence().findByFormat(format); 768 } 769 770 /** 771 * Returns a range of all the wiki pages where format = ?. 772 * 773 * <p> 774 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 775 * </p> 776 * 777 * @param format the format 778 * @param start the lower bound of the range of wiki pages 779 * @param end the upper bound of the range of wiki pages (not inclusive) 780 * @return the range of matching wiki pages 781 */ 782 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 783 java.lang.String format, int start, int end) { 784 return getPersistence().findByFormat(format, start, end); 785 } 786 787 /** 788 * Returns an ordered range of all the wiki pages where format = ?. 789 * 790 * <p> 791 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 792 * </p> 793 * 794 * @param format the format 795 * @param start the lower bound of the range of wiki pages 796 * @param end the upper bound of the range of wiki pages (not inclusive) 797 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 798 * @return the ordered range of matching wiki pages 799 */ 800 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByFormat( 801 java.lang.String format, int start, int end, 802 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 803 return getPersistence() 804 .findByFormat(format, start, end, orderByComparator); 805 } 806 807 /** 808 * Returns the first wiki page in the ordered set where format = ?. 809 * 810 * @param format the format 811 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 812 * @return the first matching wiki page 813 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 814 */ 815 public static com.liferay.portlet.wiki.model.WikiPage findByFormat_First( 816 java.lang.String format, 817 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 818 throws com.liferay.portlet.wiki.NoSuchPageException { 819 return getPersistence().findByFormat_First(format, orderByComparator); 820 } 821 822 /** 823 * Returns the first wiki page in the ordered set where format = ?. 824 * 825 * @param format the format 826 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 827 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 828 */ 829 public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_First( 830 java.lang.String format, 831 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 832 return getPersistence().fetchByFormat_First(format, orderByComparator); 833 } 834 835 /** 836 * Returns the last wiki page in the ordered set where format = ?. 837 * 838 * @param format the format 839 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 840 * @return the last matching wiki page 841 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 842 */ 843 public static com.liferay.portlet.wiki.model.WikiPage findByFormat_Last( 844 java.lang.String format, 845 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 846 throws com.liferay.portlet.wiki.NoSuchPageException { 847 return getPersistence().findByFormat_Last(format, orderByComparator); 848 } 849 850 /** 851 * Returns the last wiki page in the ordered set where format = ?. 852 * 853 * @param format the format 854 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 855 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 856 */ 857 public static com.liferay.portlet.wiki.model.WikiPage fetchByFormat_Last( 858 java.lang.String format, 859 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 860 return getPersistence().fetchByFormat_Last(format, orderByComparator); 861 } 862 863 /** 864 * Returns the wiki pages before and after the current wiki page in the ordered set where format = ?. 865 * 866 * @param pageId the primary key of the current wiki page 867 * @param format the format 868 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 869 * @return the previous, current, and next wiki page 870 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 871 */ 872 public static com.liferay.portlet.wiki.model.WikiPage[] findByFormat_PrevAndNext( 873 long pageId, java.lang.String format, 874 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 875 throws com.liferay.portlet.wiki.NoSuchPageException { 876 return getPersistence() 877 .findByFormat_PrevAndNext(pageId, format, orderByComparator); 878 } 879 880 /** 881 * Removes all the wiki pages where format = ? from the database. 882 * 883 * @param format the format 884 */ 885 public static void removeByFormat(java.lang.String format) { 886 getPersistence().removeByFormat(format); 887 } 888 889 /** 890 * Returns the number of wiki pages where format = ?. 891 * 892 * @param format the format 893 * @return the number of matching wiki pages 894 */ 895 public static int countByFormat(java.lang.String format) { 896 return getPersistence().countByFormat(format); 897 } 898 899 /** 900 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ?. 901 * 902 * @param resourcePrimKey the resource prim key 903 * @param nodeId the node ID 904 * @return the matching wiki pages 905 */ 906 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 907 long resourcePrimKey, long nodeId) { 908 return getPersistence().findByR_N(resourcePrimKey, nodeId); 909 } 910 911 /** 912 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 913 * 914 * <p> 915 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 916 * </p> 917 * 918 * @param resourcePrimKey the resource prim key 919 * @param nodeId the node ID 920 * @param start the lower bound of the range of wiki pages 921 * @param end the upper bound of the range of wiki pages (not inclusive) 922 * @return the range of matching wiki pages 923 */ 924 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 925 long resourcePrimKey, long nodeId, int start, int end) { 926 return getPersistence().findByR_N(resourcePrimKey, nodeId, start, end); 927 } 928 929 /** 930 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ?. 931 * 932 * <p> 933 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 934 * </p> 935 * 936 * @param resourcePrimKey the resource prim key 937 * @param nodeId the node ID 938 * @param start the lower bound of the range of wiki pages 939 * @param end the upper bound of the range of wiki pages (not inclusive) 940 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 941 * @return the ordered range of matching wiki pages 942 */ 943 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N( 944 long resourcePrimKey, long nodeId, int start, int end, 945 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 946 return getPersistence() 947 .findByR_N(resourcePrimKey, nodeId, start, end, 948 orderByComparator); 949 } 950 951 /** 952 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 953 * 954 * @param resourcePrimKey the resource prim key 955 * @param nodeId the node ID 956 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 957 * @return the first matching wiki page 958 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 959 */ 960 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_First( 961 long resourcePrimKey, long nodeId, 962 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 963 throws com.liferay.portlet.wiki.NoSuchPageException { 964 return getPersistence() 965 .findByR_N_First(resourcePrimKey, nodeId, orderByComparator); 966 } 967 968 /** 969 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 970 * 971 * @param resourcePrimKey the resource prim key 972 * @param nodeId the node ID 973 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 974 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 975 */ 976 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_First( 977 long resourcePrimKey, long nodeId, 978 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 979 return getPersistence() 980 .fetchByR_N_First(resourcePrimKey, nodeId, orderByComparator); 981 } 982 983 /** 984 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 985 * 986 * @param resourcePrimKey the resource prim key 987 * @param nodeId the node ID 988 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 989 * @return the last matching wiki page 990 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 991 */ 992 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_Last( 993 long resourcePrimKey, long nodeId, 994 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 995 throws com.liferay.portlet.wiki.NoSuchPageException { 996 return getPersistence() 997 .findByR_N_Last(resourcePrimKey, nodeId, orderByComparator); 998 } 999 1000 /** 1001 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 1002 * 1003 * @param resourcePrimKey the resource prim key 1004 * @param nodeId the node ID 1005 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1006 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1007 */ 1008 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_Last( 1009 long resourcePrimKey, long nodeId, 1010 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1011 return getPersistence() 1012 .fetchByR_N_Last(resourcePrimKey, nodeId, orderByComparator); 1013 } 1014 1015 /** 1016 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ?. 1017 * 1018 * @param pageId the primary key of the current wiki page 1019 * @param resourcePrimKey the resource prim key 1020 * @param nodeId the node ID 1021 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1022 * @return the previous, current, and next wiki page 1023 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1024 */ 1025 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_PrevAndNext( 1026 long pageId, long resourcePrimKey, long nodeId, 1027 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1028 throws com.liferay.portlet.wiki.NoSuchPageException { 1029 return getPersistence() 1030 .findByR_N_PrevAndNext(pageId, resourcePrimKey, nodeId, 1031 orderByComparator); 1032 } 1033 1034 /** 1035 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? from the database. 1036 * 1037 * @param resourcePrimKey the resource prim key 1038 * @param nodeId the node ID 1039 */ 1040 public static void removeByR_N(long resourcePrimKey, long nodeId) { 1041 getPersistence().removeByR_N(resourcePrimKey, nodeId); 1042 } 1043 1044 /** 1045 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ?. 1046 * 1047 * @param resourcePrimKey the resource prim key 1048 * @param nodeId the node ID 1049 * @return the number of matching wiki pages 1050 */ 1051 public static int countByR_N(long resourcePrimKey, long nodeId) { 1052 return getPersistence().countByR_N(resourcePrimKey, nodeId); 1053 } 1054 1055 /** 1056 * Returns all the wiki pages where resourcePrimKey = ? and status = ?. 1057 * 1058 * @param resourcePrimKey the resource prim key 1059 * @param status the status 1060 * @return the matching wiki pages 1061 */ 1062 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S( 1063 long resourcePrimKey, int status) { 1064 return getPersistence().findByR_S(resourcePrimKey, status); 1065 } 1066 1067 /** 1068 * Returns a range of all the wiki pages where resourcePrimKey = ? and status = ?. 1069 * 1070 * <p> 1071 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1072 * </p> 1073 * 1074 * @param resourcePrimKey the resource prim key 1075 * @param status the status 1076 * @param start the lower bound of the range of wiki pages 1077 * @param end the upper bound of the range of wiki pages (not inclusive) 1078 * @return the range of matching wiki pages 1079 */ 1080 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S( 1081 long resourcePrimKey, int status, int start, int end) { 1082 return getPersistence().findByR_S(resourcePrimKey, status, start, end); 1083 } 1084 1085 /** 1086 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and status = ?. 1087 * 1088 * <p> 1089 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1090 * </p> 1091 * 1092 * @param resourcePrimKey the resource prim key 1093 * @param status the status 1094 * @param start the lower bound of the range of wiki pages 1095 * @param end the upper bound of the range of wiki pages (not inclusive) 1096 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1097 * @return the ordered range of matching wiki pages 1098 */ 1099 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_S( 1100 long resourcePrimKey, int status, int start, int end, 1101 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1102 return getPersistence() 1103 .findByR_S(resourcePrimKey, status, start, end, 1104 orderByComparator); 1105 } 1106 1107 /** 1108 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1109 * 1110 * @param resourcePrimKey the resource prim key 1111 * @param status the status 1112 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1113 * @return the first matching wiki page 1114 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1115 */ 1116 public static com.liferay.portlet.wiki.model.WikiPage findByR_S_First( 1117 long resourcePrimKey, int status, 1118 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1119 throws com.liferay.portlet.wiki.NoSuchPageException { 1120 return getPersistence() 1121 .findByR_S_First(resourcePrimKey, status, orderByComparator); 1122 } 1123 1124 /** 1125 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1126 * 1127 * @param resourcePrimKey the resource prim key 1128 * @param status the status 1129 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1130 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1131 */ 1132 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_S_First( 1133 long resourcePrimKey, int status, 1134 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1135 return getPersistence() 1136 .fetchByR_S_First(resourcePrimKey, status, orderByComparator); 1137 } 1138 1139 /** 1140 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1141 * 1142 * @param resourcePrimKey the resource prim key 1143 * @param status the status 1144 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1145 * @return the last matching wiki page 1146 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1147 */ 1148 public static com.liferay.portlet.wiki.model.WikiPage findByR_S_Last( 1149 long resourcePrimKey, int status, 1150 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1151 throws com.liferay.portlet.wiki.NoSuchPageException { 1152 return getPersistence() 1153 .findByR_S_Last(resourcePrimKey, status, orderByComparator); 1154 } 1155 1156 /** 1157 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1158 * 1159 * @param resourcePrimKey the resource prim key 1160 * @param status the status 1161 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1162 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1163 */ 1164 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_S_Last( 1165 long resourcePrimKey, int status, 1166 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1167 return getPersistence() 1168 .fetchByR_S_Last(resourcePrimKey, status, orderByComparator); 1169 } 1170 1171 /** 1172 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and status = ?. 1173 * 1174 * @param pageId the primary key of the current wiki page 1175 * @param resourcePrimKey the resource prim key 1176 * @param status the status 1177 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1178 * @return the previous, current, and next wiki page 1179 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1180 */ 1181 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_S_PrevAndNext( 1182 long pageId, long resourcePrimKey, int status, 1183 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1184 throws com.liferay.portlet.wiki.NoSuchPageException { 1185 return getPersistence() 1186 .findByR_S_PrevAndNext(pageId, resourcePrimKey, status, 1187 orderByComparator); 1188 } 1189 1190 /** 1191 * Removes all the wiki pages where resourcePrimKey = ? and status = ? from the database. 1192 * 1193 * @param resourcePrimKey the resource prim key 1194 * @param status the status 1195 */ 1196 public static void removeByR_S(long resourcePrimKey, int status) { 1197 getPersistence().removeByR_S(resourcePrimKey, status); 1198 } 1199 1200 /** 1201 * Returns the number of wiki pages where resourcePrimKey = ? and status = ?. 1202 * 1203 * @param resourcePrimKey the resource prim key 1204 * @param status the status 1205 * @return the number of matching wiki pages 1206 */ 1207 public static int countByR_S(long resourcePrimKey, int status) { 1208 return getPersistence().countByR_S(resourcePrimKey, status); 1209 } 1210 1211 /** 1212 * Returns all the wiki pages where nodeId = ? and title = ?. 1213 * 1214 * @param nodeId the node ID 1215 * @param title the title 1216 * @return the matching wiki pages 1217 */ 1218 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 1219 long nodeId, java.lang.String title) { 1220 return getPersistence().findByN_T(nodeId, title); 1221 } 1222 1223 /** 1224 * Returns a range of all the wiki pages where nodeId = ? and title = ?. 1225 * 1226 * <p> 1227 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1228 * </p> 1229 * 1230 * @param nodeId the node ID 1231 * @param title the title 1232 * @param start the lower bound of the range of wiki pages 1233 * @param end the upper bound of the range of wiki pages (not inclusive) 1234 * @return the range of matching wiki pages 1235 */ 1236 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 1237 long nodeId, java.lang.String title, int start, int end) { 1238 return getPersistence().findByN_T(nodeId, title, start, end); 1239 } 1240 1241 /** 1242 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ?. 1243 * 1244 * <p> 1245 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1246 * </p> 1247 * 1248 * @param nodeId the node ID 1249 * @param title the title 1250 * @param start the lower bound of the range of wiki pages 1251 * @param end the upper bound of the range of wiki pages (not inclusive) 1252 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1253 * @return the ordered range of matching wiki pages 1254 */ 1255 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T( 1256 long nodeId, java.lang.String title, int start, int end, 1257 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1258 return getPersistence() 1259 .findByN_T(nodeId, title, start, end, orderByComparator); 1260 } 1261 1262 /** 1263 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 1264 * 1265 * @param nodeId the node ID 1266 * @param title the title 1267 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1268 * @return the first matching wiki page 1269 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1270 */ 1271 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_First( 1272 long nodeId, java.lang.String title, 1273 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1274 throws com.liferay.portlet.wiki.NoSuchPageException { 1275 return getPersistence().findByN_T_First(nodeId, title, orderByComparator); 1276 } 1277 1278 /** 1279 * Returns the first wiki page in the ordered set where nodeId = ? and title = ?. 1280 * 1281 * @param nodeId the node ID 1282 * @param title the title 1283 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1284 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1285 */ 1286 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_First( 1287 long nodeId, java.lang.String title, 1288 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1289 return getPersistence() 1290 .fetchByN_T_First(nodeId, title, orderByComparator); 1291 } 1292 1293 /** 1294 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 1295 * 1296 * @param nodeId the node ID 1297 * @param title the title 1298 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1299 * @return the last matching wiki page 1300 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1301 */ 1302 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_Last( 1303 long nodeId, java.lang.String title, 1304 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1305 throws com.liferay.portlet.wiki.NoSuchPageException { 1306 return getPersistence().findByN_T_Last(nodeId, title, orderByComparator); 1307 } 1308 1309 /** 1310 * Returns the last wiki page in the ordered set where nodeId = ? and title = ?. 1311 * 1312 * @param nodeId the node ID 1313 * @param title the title 1314 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1315 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1316 */ 1317 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_Last( 1318 long nodeId, java.lang.String title, 1319 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1320 return getPersistence().fetchByN_T_Last(nodeId, title, orderByComparator); 1321 } 1322 1323 /** 1324 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ?. 1325 * 1326 * @param pageId the primary key of the current wiki page 1327 * @param nodeId the node ID 1328 * @param title the title 1329 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1330 * @return the previous, current, and next wiki page 1331 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1332 */ 1333 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_PrevAndNext( 1334 long pageId, long nodeId, java.lang.String title, 1335 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1336 throws com.liferay.portlet.wiki.NoSuchPageException { 1337 return getPersistence() 1338 .findByN_T_PrevAndNext(pageId, nodeId, title, 1339 orderByComparator); 1340 } 1341 1342 /** 1343 * Removes all the wiki pages where nodeId = ? and title = ? from the database. 1344 * 1345 * @param nodeId the node ID 1346 * @param title the title 1347 */ 1348 public static void removeByN_T(long nodeId, java.lang.String title) { 1349 getPersistence().removeByN_T(nodeId, title); 1350 } 1351 1352 /** 1353 * Returns the number of wiki pages where nodeId = ? and title = ?. 1354 * 1355 * @param nodeId the node ID 1356 * @param title the title 1357 * @return the number of matching wiki pages 1358 */ 1359 public static int countByN_T(long nodeId, java.lang.String title) { 1360 return getPersistence().countByN_T(nodeId, title); 1361 } 1362 1363 /** 1364 * Returns all the wiki pages where nodeId = ? and head = ?. 1365 * 1366 * @param nodeId the node ID 1367 * @param head the head 1368 * @return the matching wiki pages 1369 */ 1370 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 1371 long nodeId, boolean head) { 1372 return getPersistence().findByN_H(nodeId, head); 1373 } 1374 1375 /** 1376 * Returns a range of all the wiki pages where nodeId = ? and head = ?. 1377 * 1378 * <p> 1379 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1380 * </p> 1381 * 1382 * @param nodeId the node ID 1383 * @param head the head 1384 * @param start the lower bound of the range of wiki pages 1385 * @param end the upper bound of the range of wiki pages (not inclusive) 1386 * @return the range of matching wiki pages 1387 */ 1388 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 1389 long nodeId, boolean head, int start, int end) { 1390 return getPersistence().findByN_H(nodeId, head, start, end); 1391 } 1392 1393 /** 1394 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ?. 1395 * 1396 * <p> 1397 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1398 * </p> 1399 * 1400 * @param nodeId the node ID 1401 * @param head the head 1402 * @param start the lower bound of the range of wiki pages 1403 * @param end the upper bound of the range of wiki pages (not inclusive) 1404 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1405 * @return the ordered range of matching wiki pages 1406 */ 1407 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H( 1408 long nodeId, boolean head, int start, int end, 1409 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1410 return getPersistence() 1411 .findByN_H(nodeId, head, start, end, orderByComparator); 1412 } 1413 1414 /** 1415 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 1416 * 1417 * @param nodeId the node ID 1418 * @param head the head 1419 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1420 * @return the first matching wiki page 1421 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1422 */ 1423 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_First( 1424 long nodeId, boolean head, 1425 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1426 throws com.liferay.portlet.wiki.NoSuchPageException { 1427 return getPersistence().findByN_H_First(nodeId, head, orderByComparator); 1428 } 1429 1430 /** 1431 * Returns the first wiki page in the ordered set where nodeId = ? and head = ?. 1432 * 1433 * @param nodeId the node ID 1434 * @param head the head 1435 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1436 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1437 */ 1438 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_First( 1439 long nodeId, boolean head, 1440 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1441 return getPersistence().fetchByN_H_First(nodeId, head, orderByComparator); 1442 } 1443 1444 /** 1445 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 1446 * 1447 * @param nodeId the node ID 1448 * @param head the head 1449 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1450 * @return the last matching wiki page 1451 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1452 */ 1453 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_Last( 1454 long nodeId, boolean head, 1455 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1456 throws com.liferay.portlet.wiki.NoSuchPageException { 1457 return getPersistence().findByN_H_Last(nodeId, head, orderByComparator); 1458 } 1459 1460 /** 1461 * Returns the last wiki page in the ordered set where nodeId = ? and head = ?. 1462 * 1463 * @param nodeId the node ID 1464 * @param head the head 1465 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1466 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1467 */ 1468 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_Last( 1469 long nodeId, boolean head, 1470 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1471 return getPersistence().fetchByN_H_Last(nodeId, head, orderByComparator); 1472 } 1473 1474 /** 1475 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ?. 1476 * 1477 * @param pageId the primary key of the current wiki page 1478 * @param nodeId the node ID 1479 * @param head the head 1480 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1481 * @return the previous, current, and next wiki page 1482 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1483 */ 1484 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_PrevAndNext( 1485 long pageId, long nodeId, boolean head, 1486 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1487 throws com.liferay.portlet.wiki.NoSuchPageException { 1488 return getPersistence() 1489 .findByN_H_PrevAndNext(pageId, nodeId, head, 1490 orderByComparator); 1491 } 1492 1493 /** 1494 * Removes all the wiki pages where nodeId = ? and head = ? from the database. 1495 * 1496 * @param nodeId the node ID 1497 * @param head the head 1498 */ 1499 public static void removeByN_H(long nodeId, boolean head) { 1500 getPersistence().removeByN_H(nodeId, head); 1501 } 1502 1503 /** 1504 * Returns the number of wiki pages where nodeId = ? and head = ?. 1505 * 1506 * @param nodeId the node ID 1507 * @param head the head 1508 * @return the number of matching wiki pages 1509 */ 1510 public static int countByN_H(long nodeId, boolean head) { 1511 return getPersistence().countByN_H(nodeId, head); 1512 } 1513 1514 /** 1515 * Returns all the wiki pages where nodeId = ? and parentTitle = ?. 1516 * 1517 * @param nodeId the node ID 1518 * @param parentTitle the parent title 1519 * @return the matching wiki pages 1520 */ 1521 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1522 long nodeId, java.lang.String parentTitle) { 1523 return getPersistence().findByN_P(nodeId, parentTitle); 1524 } 1525 1526 /** 1527 * Returns a range of all the wiki pages where nodeId = ? and parentTitle = ?. 1528 * 1529 * <p> 1530 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1531 * </p> 1532 * 1533 * @param nodeId the node ID 1534 * @param parentTitle the parent title 1535 * @param start the lower bound of the range of wiki pages 1536 * @param end the upper bound of the range of wiki pages (not inclusive) 1537 * @return the range of matching wiki pages 1538 */ 1539 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1540 long nodeId, java.lang.String parentTitle, int start, int end) { 1541 return getPersistence().findByN_P(nodeId, parentTitle, start, end); 1542 } 1543 1544 /** 1545 * Returns an ordered range of all the wiki pages where nodeId = ? and parentTitle = ?. 1546 * 1547 * <p> 1548 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1549 * </p> 1550 * 1551 * @param nodeId the node ID 1552 * @param parentTitle the parent title 1553 * @param start the lower bound of the range of wiki pages 1554 * @param end the upper bound of the range of wiki pages (not inclusive) 1555 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1556 * @return the ordered range of matching wiki pages 1557 */ 1558 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_P( 1559 long nodeId, java.lang.String parentTitle, int start, int end, 1560 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1561 return getPersistence() 1562 .findByN_P(nodeId, parentTitle, start, end, orderByComparator); 1563 } 1564 1565 /** 1566 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1567 * 1568 * @param nodeId the node ID 1569 * @param parentTitle the parent title 1570 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1571 * @return the first matching wiki page 1572 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1573 */ 1574 public static com.liferay.portlet.wiki.model.WikiPage findByN_P_First( 1575 long nodeId, java.lang.String parentTitle, 1576 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1577 throws com.liferay.portlet.wiki.NoSuchPageException { 1578 return getPersistence() 1579 .findByN_P_First(nodeId, parentTitle, orderByComparator); 1580 } 1581 1582 /** 1583 * Returns the first wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1584 * 1585 * @param nodeId the node ID 1586 * @param parentTitle the parent title 1587 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1588 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1589 */ 1590 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_First( 1591 long nodeId, java.lang.String parentTitle, 1592 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1593 return getPersistence() 1594 .fetchByN_P_First(nodeId, parentTitle, orderByComparator); 1595 } 1596 1597 /** 1598 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1599 * 1600 * @param nodeId the node ID 1601 * @param parentTitle the parent title 1602 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1603 * @return the last matching wiki page 1604 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1605 */ 1606 public static com.liferay.portlet.wiki.model.WikiPage findByN_P_Last( 1607 long nodeId, java.lang.String parentTitle, 1608 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1609 throws com.liferay.portlet.wiki.NoSuchPageException { 1610 return getPersistence() 1611 .findByN_P_Last(nodeId, parentTitle, orderByComparator); 1612 } 1613 1614 /** 1615 * Returns the last wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1616 * 1617 * @param nodeId the node ID 1618 * @param parentTitle the parent title 1619 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1620 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1621 */ 1622 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_P_Last( 1623 long nodeId, java.lang.String parentTitle, 1624 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1625 return getPersistence() 1626 .fetchByN_P_Last(nodeId, parentTitle, orderByComparator); 1627 } 1628 1629 /** 1630 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and parentTitle = ?. 1631 * 1632 * @param pageId the primary key of the current wiki page 1633 * @param nodeId the node ID 1634 * @param parentTitle the parent title 1635 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1636 * @return the previous, current, and next wiki page 1637 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1638 */ 1639 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_P_PrevAndNext( 1640 long pageId, long nodeId, java.lang.String parentTitle, 1641 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1642 throws com.liferay.portlet.wiki.NoSuchPageException { 1643 return getPersistence() 1644 .findByN_P_PrevAndNext(pageId, nodeId, parentTitle, 1645 orderByComparator); 1646 } 1647 1648 /** 1649 * Removes all the wiki pages where nodeId = ? and parentTitle = ? from the database. 1650 * 1651 * @param nodeId the node ID 1652 * @param parentTitle the parent title 1653 */ 1654 public static void removeByN_P(long nodeId, java.lang.String parentTitle) { 1655 getPersistence().removeByN_P(nodeId, parentTitle); 1656 } 1657 1658 /** 1659 * Returns the number of wiki pages where nodeId = ? and parentTitle = ?. 1660 * 1661 * @param nodeId the node ID 1662 * @param parentTitle the parent title 1663 * @return the number of matching wiki pages 1664 */ 1665 public static int countByN_P(long nodeId, java.lang.String parentTitle) { 1666 return getPersistence().countByN_P(nodeId, parentTitle); 1667 } 1668 1669 /** 1670 * Returns all the wiki pages where nodeId = ? and redirectTitle = ?. 1671 * 1672 * @param nodeId the node ID 1673 * @param redirectTitle the redirect title 1674 * @return the matching wiki pages 1675 */ 1676 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1677 long nodeId, java.lang.String redirectTitle) { 1678 return getPersistence().findByN_R(nodeId, redirectTitle); 1679 } 1680 1681 /** 1682 * Returns a range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1683 * 1684 * <p> 1685 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1686 * </p> 1687 * 1688 * @param nodeId the node ID 1689 * @param redirectTitle the redirect title 1690 * @param start the lower bound of the range of wiki pages 1691 * @param end the upper bound of the range of wiki pages (not inclusive) 1692 * @return the range of matching wiki pages 1693 */ 1694 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1695 long nodeId, java.lang.String redirectTitle, int start, int end) { 1696 return getPersistence().findByN_R(nodeId, redirectTitle, start, end); 1697 } 1698 1699 /** 1700 * Returns an ordered range of all the wiki pages where nodeId = ? and redirectTitle = ?. 1701 * 1702 * <p> 1703 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1704 * </p> 1705 * 1706 * @param nodeId the node ID 1707 * @param redirectTitle the redirect title 1708 * @param start the lower bound of the range of wiki pages 1709 * @param end the upper bound of the range of wiki pages (not inclusive) 1710 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1711 * @return the ordered range of matching wiki pages 1712 */ 1713 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_R( 1714 long nodeId, java.lang.String redirectTitle, int start, int end, 1715 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1716 return getPersistence() 1717 .findByN_R(nodeId, redirectTitle, start, end, 1718 orderByComparator); 1719 } 1720 1721 /** 1722 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1723 * 1724 * @param nodeId the node ID 1725 * @param redirectTitle the redirect title 1726 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1727 * @return the first matching wiki page 1728 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1729 */ 1730 public static com.liferay.portlet.wiki.model.WikiPage findByN_R_First( 1731 long nodeId, java.lang.String redirectTitle, 1732 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1733 throws com.liferay.portlet.wiki.NoSuchPageException { 1734 return getPersistence() 1735 .findByN_R_First(nodeId, redirectTitle, orderByComparator); 1736 } 1737 1738 /** 1739 * Returns the first wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1740 * 1741 * @param nodeId the node ID 1742 * @param redirectTitle the redirect title 1743 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1744 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1745 */ 1746 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_First( 1747 long nodeId, java.lang.String redirectTitle, 1748 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1749 return getPersistence() 1750 .fetchByN_R_First(nodeId, redirectTitle, orderByComparator); 1751 } 1752 1753 /** 1754 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1755 * 1756 * @param nodeId the node ID 1757 * @param redirectTitle the redirect title 1758 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1759 * @return the last matching wiki page 1760 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1761 */ 1762 public static com.liferay.portlet.wiki.model.WikiPage findByN_R_Last( 1763 long nodeId, java.lang.String redirectTitle, 1764 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1765 throws com.liferay.portlet.wiki.NoSuchPageException { 1766 return getPersistence() 1767 .findByN_R_Last(nodeId, redirectTitle, orderByComparator); 1768 } 1769 1770 /** 1771 * Returns the last wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1772 * 1773 * @param nodeId the node ID 1774 * @param redirectTitle the redirect title 1775 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1776 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1777 */ 1778 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_R_Last( 1779 long nodeId, java.lang.String redirectTitle, 1780 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1781 return getPersistence() 1782 .fetchByN_R_Last(nodeId, redirectTitle, orderByComparator); 1783 } 1784 1785 /** 1786 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and redirectTitle = ?. 1787 * 1788 * @param pageId the primary key of the current wiki page 1789 * @param nodeId the node ID 1790 * @param redirectTitle the redirect title 1791 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1792 * @return the previous, current, and next wiki page 1793 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1794 */ 1795 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_R_PrevAndNext( 1796 long pageId, long nodeId, java.lang.String redirectTitle, 1797 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1798 throws com.liferay.portlet.wiki.NoSuchPageException { 1799 return getPersistence() 1800 .findByN_R_PrevAndNext(pageId, nodeId, redirectTitle, 1801 orderByComparator); 1802 } 1803 1804 /** 1805 * Removes all the wiki pages where nodeId = ? and redirectTitle = ? from the database. 1806 * 1807 * @param nodeId the node ID 1808 * @param redirectTitle the redirect title 1809 */ 1810 public static void removeByN_R(long nodeId, java.lang.String redirectTitle) { 1811 getPersistence().removeByN_R(nodeId, redirectTitle); 1812 } 1813 1814 /** 1815 * Returns the number of wiki pages where nodeId = ? and redirectTitle = ?. 1816 * 1817 * @param nodeId the node ID 1818 * @param redirectTitle the redirect title 1819 * @return the number of matching wiki pages 1820 */ 1821 public static int countByN_R(long nodeId, java.lang.String redirectTitle) { 1822 return getPersistence().countByN_R(nodeId, redirectTitle); 1823 } 1824 1825 /** 1826 * Returns all the wiki pages where nodeId = ? and status = ?. 1827 * 1828 * @param nodeId the node ID 1829 * @param status the status 1830 * @return the matching wiki pages 1831 */ 1832 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1833 long nodeId, int status) { 1834 return getPersistence().findByN_S(nodeId, status); 1835 } 1836 1837 /** 1838 * Returns a range of all the wiki pages where nodeId = ? and status = ?. 1839 * 1840 * <p> 1841 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1842 * </p> 1843 * 1844 * @param nodeId the node ID 1845 * @param status the status 1846 * @param start the lower bound of the range of wiki pages 1847 * @param end the upper bound of the range of wiki pages (not inclusive) 1848 * @return the range of matching wiki pages 1849 */ 1850 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1851 long nodeId, int status, int start, int end) { 1852 return getPersistence().findByN_S(nodeId, status, start, end); 1853 } 1854 1855 /** 1856 * Returns an ordered range of all the wiki pages where nodeId = ? and status = ?. 1857 * 1858 * <p> 1859 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 1860 * </p> 1861 * 1862 * @param nodeId the node ID 1863 * @param status the status 1864 * @param start the lower bound of the range of wiki pages 1865 * @param end the upper bound of the range of wiki pages (not inclusive) 1866 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 1867 * @return the ordered range of matching wiki pages 1868 */ 1869 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_S( 1870 long nodeId, int status, int start, int end, 1871 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1872 return getPersistence() 1873 .findByN_S(nodeId, status, start, end, orderByComparator); 1874 } 1875 1876 /** 1877 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 1878 * 1879 * @param nodeId the node ID 1880 * @param status the status 1881 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1882 * @return the first matching wiki page 1883 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1884 */ 1885 public static com.liferay.portlet.wiki.model.WikiPage findByN_S_First( 1886 long nodeId, int status, 1887 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1888 throws com.liferay.portlet.wiki.NoSuchPageException { 1889 return getPersistence() 1890 .findByN_S_First(nodeId, status, orderByComparator); 1891 } 1892 1893 /** 1894 * Returns the first wiki page in the ordered set where nodeId = ? and status = ?. 1895 * 1896 * @param nodeId the node ID 1897 * @param status the status 1898 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1899 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 1900 */ 1901 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_First( 1902 long nodeId, int status, 1903 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1904 return getPersistence() 1905 .fetchByN_S_First(nodeId, status, orderByComparator); 1906 } 1907 1908 /** 1909 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 1910 * 1911 * @param nodeId the node ID 1912 * @param status the status 1913 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1914 * @return the last matching wiki page 1915 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1916 */ 1917 public static com.liferay.portlet.wiki.model.WikiPage findByN_S_Last( 1918 long nodeId, int status, 1919 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1920 throws com.liferay.portlet.wiki.NoSuchPageException { 1921 return getPersistence().findByN_S_Last(nodeId, status, orderByComparator); 1922 } 1923 1924 /** 1925 * Returns the last wiki page in the ordered set where nodeId = ? and status = ?. 1926 * 1927 * @param nodeId the node ID 1928 * @param status the status 1929 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1930 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 1931 */ 1932 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_S_Last( 1933 long nodeId, int status, 1934 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 1935 return getPersistence() 1936 .fetchByN_S_Last(nodeId, status, orderByComparator); 1937 } 1938 1939 /** 1940 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and status = ?. 1941 * 1942 * @param pageId the primary key of the current wiki page 1943 * @param nodeId the node ID 1944 * @param status the status 1945 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 1946 * @return the previous, current, and next wiki page 1947 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 1948 */ 1949 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_S_PrevAndNext( 1950 long pageId, long nodeId, int status, 1951 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 1952 throws com.liferay.portlet.wiki.NoSuchPageException { 1953 return getPersistence() 1954 .findByN_S_PrevAndNext(pageId, nodeId, status, 1955 orderByComparator); 1956 } 1957 1958 /** 1959 * Removes all the wiki pages where nodeId = ? and status = ? from the database. 1960 * 1961 * @param nodeId the node ID 1962 * @param status the status 1963 */ 1964 public static void removeByN_S(long nodeId, int status) { 1965 getPersistence().removeByN_S(nodeId, status); 1966 } 1967 1968 /** 1969 * Returns the number of wiki pages where nodeId = ? and status = ?. 1970 * 1971 * @param nodeId the node ID 1972 * @param status the status 1973 * @return the number of matching wiki pages 1974 */ 1975 public static int countByN_S(long nodeId, int status) { 1976 return getPersistence().countByN_S(nodeId, status); 1977 } 1978 1979 /** 1980 * 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. 1981 * 1982 * @param resourcePrimKey the resource prim key 1983 * @param nodeId the node ID 1984 * @param version the version 1985 * @return the matching wiki page 1986 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 1987 */ 1988 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_V( 1989 long resourcePrimKey, long nodeId, double version) 1990 throws com.liferay.portlet.wiki.NoSuchPageException { 1991 return getPersistence().findByR_N_V(resourcePrimKey, nodeId, version); 1992 } 1993 1994 /** 1995 * 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. 1996 * 1997 * @param resourcePrimKey the resource prim key 1998 * @param nodeId the node ID 1999 * @param version the version 2000 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 2001 */ 2002 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 2003 long resourcePrimKey, long nodeId, double version) { 2004 return getPersistence().fetchByR_N_V(resourcePrimKey, nodeId, version); 2005 } 2006 2007 /** 2008 * 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. 2009 * 2010 * @param resourcePrimKey the resource prim key 2011 * @param nodeId the node ID 2012 * @param version the version 2013 * @param retrieveFromCache whether to use the finder cache 2014 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 2015 */ 2016 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_V( 2017 long resourcePrimKey, long nodeId, double version, 2018 boolean retrieveFromCache) { 2019 return getPersistence() 2020 .fetchByR_N_V(resourcePrimKey, nodeId, version, 2021 retrieveFromCache); 2022 } 2023 2024 /** 2025 * Removes the wiki page where resourcePrimKey = ? and nodeId = ? and version = ? from the database. 2026 * 2027 * @param resourcePrimKey the resource prim key 2028 * @param nodeId the node ID 2029 * @param version the version 2030 * @return the wiki page that was removed 2031 */ 2032 public static com.liferay.portlet.wiki.model.WikiPage removeByR_N_V( 2033 long resourcePrimKey, long nodeId, double version) 2034 throws com.liferay.portlet.wiki.NoSuchPageException { 2035 return getPersistence().removeByR_N_V(resourcePrimKey, nodeId, version); 2036 } 2037 2038 /** 2039 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and version = ?. 2040 * 2041 * @param resourcePrimKey the resource prim key 2042 * @param nodeId the node ID 2043 * @param version the version 2044 * @return the number of matching wiki pages 2045 */ 2046 public static int countByR_N_V(long resourcePrimKey, long nodeId, 2047 double version) { 2048 return getPersistence().countByR_N_V(resourcePrimKey, nodeId, version); 2049 } 2050 2051 /** 2052 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2053 * 2054 * @param resourcePrimKey the resource prim key 2055 * @param nodeId the node ID 2056 * @param head the head 2057 * @return the matching wiki pages 2058 */ 2059 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H( 2060 long resourcePrimKey, long nodeId, boolean head) { 2061 return getPersistence().findByR_N_H(resourcePrimKey, nodeId, head); 2062 } 2063 2064 /** 2065 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2066 * 2067 * <p> 2068 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2069 * </p> 2070 * 2071 * @param resourcePrimKey the resource prim key 2072 * @param nodeId the node ID 2073 * @param head the head 2074 * @param start the lower bound of the range of wiki pages 2075 * @param end the upper bound of the range of wiki pages (not inclusive) 2076 * @return the range of matching wiki pages 2077 */ 2078 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H( 2079 long resourcePrimKey, long nodeId, boolean head, int start, int end) { 2080 return getPersistence() 2081 .findByR_N_H(resourcePrimKey, nodeId, head, start, end); 2082 } 2083 2084 /** 2085 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2086 * 2087 * <p> 2088 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2089 * </p> 2090 * 2091 * @param resourcePrimKey the resource prim key 2092 * @param nodeId the node ID 2093 * @param head the head 2094 * @param start the lower bound of the range of wiki pages 2095 * @param end the upper bound of the range of wiki pages (not inclusive) 2096 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2097 * @return the ordered range of matching wiki pages 2098 */ 2099 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_H( 2100 long resourcePrimKey, long nodeId, boolean head, int start, int end, 2101 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2102 return getPersistence() 2103 .findByR_N_H(resourcePrimKey, nodeId, head, start, end, 2104 orderByComparator); 2105 } 2106 2107 /** 2108 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2109 * 2110 * @param resourcePrimKey the resource prim key 2111 * @param nodeId the node ID 2112 * @param head the head 2113 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2114 * @return the first matching wiki page 2115 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2116 */ 2117 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_H_First( 2118 long resourcePrimKey, long nodeId, boolean head, 2119 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2120 throws com.liferay.portlet.wiki.NoSuchPageException { 2121 return getPersistence() 2122 .findByR_N_H_First(resourcePrimKey, nodeId, head, 2123 orderByComparator); 2124 } 2125 2126 /** 2127 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2128 * 2129 * @param resourcePrimKey the resource prim key 2130 * @param nodeId the node ID 2131 * @param head the head 2132 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2133 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2134 */ 2135 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_H_First( 2136 long resourcePrimKey, long nodeId, boolean head, 2137 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2138 return getPersistence() 2139 .fetchByR_N_H_First(resourcePrimKey, nodeId, head, 2140 orderByComparator); 2141 } 2142 2143 /** 2144 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2145 * 2146 * @param resourcePrimKey the resource prim key 2147 * @param nodeId the node ID 2148 * @param head the head 2149 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2150 * @return the last matching wiki page 2151 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2152 */ 2153 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_H_Last( 2154 long resourcePrimKey, long nodeId, boolean head, 2155 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2156 throws com.liferay.portlet.wiki.NoSuchPageException { 2157 return getPersistence() 2158 .findByR_N_H_Last(resourcePrimKey, nodeId, head, 2159 orderByComparator); 2160 } 2161 2162 /** 2163 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2164 * 2165 * @param resourcePrimKey the resource prim key 2166 * @param nodeId the node ID 2167 * @param head the head 2168 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2169 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2170 */ 2171 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_H_Last( 2172 long resourcePrimKey, long nodeId, boolean head, 2173 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2174 return getPersistence() 2175 .fetchByR_N_H_Last(resourcePrimKey, nodeId, head, 2176 orderByComparator); 2177 } 2178 2179 /** 2180 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and head = ?. 2181 * 2182 * @param pageId the primary key of the current wiki page 2183 * @param resourcePrimKey the resource prim key 2184 * @param nodeId the node ID 2185 * @param head the head 2186 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2187 * @return the previous, current, and next wiki page 2188 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2189 */ 2190 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_H_PrevAndNext( 2191 long pageId, long resourcePrimKey, long nodeId, boolean head, 2192 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2193 throws com.liferay.portlet.wiki.NoSuchPageException { 2194 return getPersistence() 2195 .findByR_N_H_PrevAndNext(pageId, resourcePrimKey, nodeId, 2196 head, orderByComparator); 2197 } 2198 2199 /** 2200 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and head = ? from the database. 2201 * 2202 * @param resourcePrimKey the resource prim key 2203 * @param nodeId the node ID 2204 * @param head the head 2205 */ 2206 public static void removeByR_N_H(long resourcePrimKey, long nodeId, 2207 boolean head) { 2208 getPersistence().removeByR_N_H(resourcePrimKey, nodeId, head); 2209 } 2210 2211 /** 2212 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and head = ?. 2213 * 2214 * @param resourcePrimKey the resource prim key 2215 * @param nodeId the node ID 2216 * @param head the head 2217 * @return the number of matching wiki pages 2218 */ 2219 public static int countByR_N_H(long resourcePrimKey, long nodeId, 2220 boolean head) { 2221 return getPersistence().countByR_N_H(resourcePrimKey, nodeId, head); 2222 } 2223 2224 /** 2225 * Returns all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2226 * 2227 * @param resourcePrimKey the resource prim key 2228 * @param nodeId the node ID 2229 * @param status the status 2230 * @return the matching wiki pages 2231 */ 2232 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 2233 long resourcePrimKey, long nodeId, int status) { 2234 return getPersistence().findByR_N_S(resourcePrimKey, nodeId, status); 2235 } 2236 2237 /** 2238 * Returns a range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2239 * 2240 * <p> 2241 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2242 * </p> 2243 * 2244 * @param resourcePrimKey the resource prim key 2245 * @param nodeId the node ID 2246 * @param status the status 2247 * @param start the lower bound of the range of wiki pages 2248 * @param end the upper bound of the range of wiki pages (not inclusive) 2249 * @return the range of matching wiki pages 2250 */ 2251 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 2252 long resourcePrimKey, long nodeId, int status, int start, int end) { 2253 return getPersistence() 2254 .findByR_N_S(resourcePrimKey, nodeId, status, start, end); 2255 } 2256 2257 /** 2258 * Returns an ordered range of all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2259 * 2260 * <p> 2261 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2262 * </p> 2263 * 2264 * @param resourcePrimKey the resource prim key 2265 * @param nodeId the node ID 2266 * @param status the status 2267 * @param start the lower bound of the range of wiki pages 2268 * @param end the upper bound of the range of wiki pages (not inclusive) 2269 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2270 * @return the ordered range of matching wiki pages 2271 */ 2272 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByR_N_S( 2273 long resourcePrimKey, long nodeId, int status, int start, int end, 2274 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2275 return getPersistence() 2276 .findByR_N_S(resourcePrimKey, nodeId, status, start, end, 2277 orderByComparator); 2278 } 2279 2280 /** 2281 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2282 * 2283 * @param resourcePrimKey the resource prim key 2284 * @param nodeId the node ID 2285 * @param status the status 2286 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2287 * @return the first matching wiki page 2288 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2289 */ 2290 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_First( 2291 long resourcePrimKey, long nodeId, int status, 2292 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2293 throws com.liferay.portlet.wiki.NoSuchPageException { 2294 return getPersistence() 2295 .findByR_N_S_First(resourcePrimKey, nodeId, status, 2296 orderByComparator); 2297 } 2298 2299 /** 2300 * Returns the first wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2301 * 2302 * @param resourcePrimKey the resource prim key 2303 * @param nodeId the node ID 2304 * @param status the status 2305 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2306 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2307 */ 2308 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_First( 2309 long resourcePrimKey, long nodeId, int status, 2310 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2311 return getPersistence() 2312 .fetchByR_N_S_First(resourcePrimKey, nodeId, status, 2313 orderByComparator); 2314 } 2315 2316 /** 2317 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2318 * 2319 * @param resourcePrimKey the resource prim key 2320 * @param nodeId the node ID 2321 * @param status the status 2322 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2323 * @return the last matching wiki page 2324 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2325 */ 2326 public static com.liferay.portlet.wiki.model.WikiPage findByR_N_S_Last( 2327 long resourcePrimKey, long nodeId, int status, 2328 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2329 throws com.liferay.portlet.wiki.NoSuchPageException { 2330 return getPersistence() 2331 .findByR_N_S_Last(resourcePrimKey, nodeId, status, 2332 orderByComparator); 2333 } 2334 2335 /** 2336 * Returns the last wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2337 * 2338 * @param resourcePrimKey the resource prim key 2339 * @param nodeId the node ID 2340 * @param status the status 2341 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2342 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2343 */ 2344 public static com.liferay.portlet.wiki.model.WikiPage fetchByR_N_S_Last( 2345 long resourcePrimKey, long nodeId, int status, 2346 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2347 return getPersistence() 2348 .fetchByR_N_S_Last(resourcePrimKey, nodeId, status, 2349 orderByComparator); 2350 } 2351 2352 /** 2353 * Returns the wiki pages before and after the current wiki page in the ordered set where resourcePrimKey = ? and nodeId = ? and status = ?. 2354 * 2355 * @param pageId the primary key of the current wiki page 2356 * @param resourcePrimKey the resource prim key 2357 * @param nodeId the node ID 2358 * @param status the status 2359 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2360 * @return the previous, current, and next wiki page 2361 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2362 */ 2363 public static com.liferay.portlet.wiki.model.WikiPage[] findByR_N_S_PrevAndNext( 2364 long pageId, long resourcePrimKey, long nodeId, int status, 2365 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2366 throws com.liferay.portlet.wiki.NoSuchPageException { 2367 return getPersistence() 2368 .findByR_N_S_PrevAndNext(pageId, resourcePrimKey, nodeId, 2369 status, orderByComparator); 2370 } 2371 2372 /** 2373 * Removes all the wiki pages where resourcePrimKey = ? and nodeId = ? and status = ? from the database. 2374 * 2375 * @param resourcePrimKey the resource prim key 2376 * @param nodeId the node ID 2377 * @param status the status 2378 */ 2379 public static void removeByR_N_S(long resourcePrimKey, long nodeId, 2380 int status) { 2381 getPersistence().removeByR_N_S(resourcePrimKey, nodeId, status); 2382 } 2383 2384 /** 2385 * Returns the number of wiki pages where resourcePrimKey = ? and nodeId = ? and status = ?. 2386 * 2387 * @param resourcePrimKey the resource prim key 2388 * @param nodeId the node ID 2389 * @param status the status 2390 * @return the number of matching wiki pages 2391 */ 2392 public static int countByR_N_S(long resourcePrimKey, long nodeId, int status) { 2393 return getPersistence().countByR_N_S(resourcePrimKey, nodeId, status); 2394 } 2395 2396 /** 2397 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ?. 2398 * 2399 * @param groupId the group ID 2400 * @param nodeId the node ID 2401 * @param head the head 2402 * @return the matching wiki pages 2403 */ 2404 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 2405 long groupId, long nodeId, boolean head) { 2406 return getPersistence().findByG_N_H(groupId, nodeId, head); 2407 } 2408 2409 /** 2410 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ?. 2411 * 2412 * <p> 2413 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2414 * </p> 2415 * 2416 * @param groupId the group ID 2417 * @param nodeId the node ID 2418 * @param head the head 2419 * @param start the lower bound of the range of wiki pages 2420 * @param end the upper bound of the range of wiki pages (not inclusive) 2421 * @return the range of matching wiki pages 2422 */ 2423 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 2424 long groupId, long nodeId, boolean head, int start, int end) { 2425 return getPersistence().findByG_N_H(groupId, nodeId, head, start, end); 2426 } 2427 2428 /** 2429 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ?. 2430 * 2431 * <p> 2432 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2433 * </p> 2434 * 2435 * @param groupId the group ID 2436 * @param nodeId the node ID 2437 * @param head the head 2438 * @param start the lower bound of the range of wiki pages 2439 * @param end the upper bound of the range of wiki pages (not inclusive) 2440 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2441 * @return the ordered range of matching wiki pages 2442 */ 2443 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H( 2444 long groupId, long nodeId, boolean head, int start, int end, 2445 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2446 return getPersistence() 2447 .findByG_N_H(groupId, nodeId, head, start, end, 2448 orderByComparator); 2449 } 2450 2451 /** 2452 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2453 * 2454 * @param groupId the group ID 2455 * @param nodeId the node ID 2456 * @param head the head 2457 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2458 * @return the first matching wiki page 2459 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2460 */ 2461 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_First( 2462 long groupId, long nodeId, boolean head, 2463 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2464 throws com.liferay.portlet.wiki.NoSuchPageException { 2465 return getPersistence() 2466 .findByG_N_H_First(groupId, nodeId, head, orderByComparator); 2467 } 2468 2469 /** 2470 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2471 * 2472 * @param groupId the group ID 2473 * @param nodeId the node ID 2474 * @param head the head 2475 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2476 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2477 */ 2478 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_First( 2479 long groupId, long nodeId, boolean head, 2480 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2481 return getPersistence() 2482 .fetchByG_N_H_First(groupId, nodeId, head, orderByComparator); 2483 } 2484 2485 /** 2486 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2487 * 2488 * @param groupId the group ID 2489 * @param nodeId the node ID 2490 * @param head the head 2491 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2492 * @return the last matching wiki page 2493 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2494 */ 2495 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_Last( 2496 long groupId, long nodeId, boolean head, 2497 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2498 throws com.liferay.portlet.wiki.NoSuchPageException { 2499 return getPersistence() 2500 .findByG_N_H_Last(groupId, nodeId, head, orderByComparator); 2501 } 2502 2503 /** 2504 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2505 * 2506 * @param groupId the group ID 2507 * @param nodeId the node ID 2508 * @param head the head 2509 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2510 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2511 */ 2512 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_Last( 2513 long groupId, long nodeId, boolean head, 2514 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2515 return getPersistence() 2516 .fetchByG_N_H_Last(groupId, nodeId, head, orderByComparator); 2517 } 2518 2519 /** 2520 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ?. 2521 * 2522 * @param pageId the primary key of the current wiki page 2523 * @param groupId the group ID 2524 * @param nodeId the node ID 2525 * @param head the head 2526 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2527 * @return the previous, current, and next wiki page 2528 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2529 */ 2530 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_PrevAndNext( 2531 long pageId, long groupId, long nodeId, boolean head, 2532 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2533 throws com.liferay.portlet.wiki.NoSuchPageException { 2534 return getPersistence() 2535 .findByG_N_H_PrevAndNext(pageId, groupId, nodeId, head, 2536 orderByComparator); 2537 } 2538 2539 /** 2540 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 2541 * 2542 * @param groupId the group ID 2543 * @param nodeId the node ID 2544 * @param head the head 2545 * @return the matching wiki pages that the user has permission to view 2546 */ 2547 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 2548 long groupId, long nodeId, boolean head) { 2549 return getPersistence().filterFindByG_N_H(groupId, nodeId, head); 2550 } 2551 2552 /** 2553 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 2554 * 2555 * <p> 2556 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2557 * </p> 2558 * 2559 * @param groupId the group ID 2560 * @param nodeId the node ID 2561 * @param head the head 2562 * @param start the lower bound of the range of wiki pages 2563 * @param end the upper bound of the range of wiki pages (not inclusive) 2564 * @return the range of matching wiki pages that the user has permission to view 2565 */ 2566 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 2567 long groupId, long nodeId, boolean head, int start, int end) { 2568 return getPersistence() 2569 .filterFindByG_N_H(groupId, nodeId, head, start, end); 2570 } 2571 2572 /** 2573 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ?. 2574 * 2575 * <p> 2576 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2577 * </p> 2578 * 2579 * @param groupId the group ID 2580 * @param nodeId the node ID 2581 * @param head the head 2582 * @param start the lower bound of the range of wiki pages 2583 * @param end the upper bound of the range of wiki pages (not inclusive) 2584 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2585 * @return the ordered range of matching wiki pages that the user has permission to view 2586 */ 2587 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H( 2588 long groupId, long nodeId, boolean head, int start, int end, 2589 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2590 return getPersistence() 2591 .filterFindByG_N_H(groupId, nodeId, head, start, end, 2592 orderByComparator); 2593 } 2594 2595 /** 2596 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 2597 * 2598 * @param pageId the primary key of the current wiki page 2599 * @param groupId the group ID 2600 * @param nodeId the node ID 2601 * @param head the head 2602 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2603 * @return the previous, current, and next wiki page 2604 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2605 */ 2606 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_PrevAndNext( 2607 long pageId, long groupId, long nodeId, boolean head, 2608 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2609 throws com.liferay.portlet.wiki.NoSuchPageException { 2610 return getPersistence() 2611 .filterFindByG_N_H_PrevAndNext(pageId, groupId, nodeId, 2612 head, orderByComparator); 2613 } 2614 2615 /** 2616 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? from the database. 2617 * 2618 * @param groupId the group ID 2619 * @param nodeId the node ID 2620 * @param head the head 2621 */ 2622 public static void removeByG_N_H(long groupId, long nodeId, boolean head) { 2623 getPersistence().removeByG_N_H(groupId, nodeId, head); 2624 } 2625 2626 /** 2627 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ?. 2628 * 2629 * @param groupId the group ID 2630 * @param nodeId the node ID 2631 * @param head the head 2632 * @return the number of matching wiki pages 2633 */ 2634 public static int countByG_N_H(long groupId, long nodeId, boolean head) { 2635 return getPersistence().countByG_N_H(groupId, nodeId, head); 2636 } 2637 2638 /** 2639 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ?. 2640 * 2641 * @param groupId the group ID 2642 * @param nodeId the node ID 2643 * @param head the head 2644 * @return the number of matching wiki pages that the user has permission to view 2645 */ 2646 public static int filterCountByG_N_H(long groupId, long nodeId, boolean head) { 2647 return getPersistence().filterCountByG_N_H(groupId, nodeId, head); 2648 } 2649 2650 /** 2651 * Returns all the wiki pages where groupId = ? and nodeId = ? and status = ?. 2652 * 2653 * @param groupId the group ID 2654 * @param nodeId the node ID 2655 * @param status the status 2656 * @return the matching wiki pages 2657 */ 2658 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 2659 long groupId, long nodeId, int status) { 2660 return getPersistence().findByG_N_S(groupId, nodeId, status); 2661 } 2662 2663 /** 2664 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and status = ?. 2665 * 2666 * <p> 2667 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2668 * </p> 2669 * 2670 * @param groupId the group ID 2671 * @param nodeId the node ID 2672 * @param status the status 2673 * @param start the lower bound of the range of wiki pages 2674 * @param end the upper bound of the range of wiki pages (not inclusive) 2675 * @return the range of matching wiki pages 2676 */ 2677 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 2678 long groupId, long nodeId, int status, int start, int end) { 2679 return getPersistence().findByG_N_S(groupId, nodeId, status, start, end); 2680 } 2681 2682 /** 2683 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and status = ?. 2684 * 2685 * <p> 2686 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2687 * </p> 2688 * 2689 * @param groupId the group ID 2690 * @param nodeId the node ID 2691 * @param status the status 2692 * @param start the lower bound of the range of wiki pages 2693 * @param end the upper bound of the range of wiki pages (not inclusive) 2694 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2695 * @return the ordered range of matching wiki pages 2696 */ 2697 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_S( 2698 long groupId, long nodeId, int status, int start, int end, 2699 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2700 return getPersistence() 2701 .findByG_N_S(groupId, nodeId, status, start, end, 2702 orderByComparator); 2703 } 2704 2705 /** 2706 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 2707 * 2708 * @param groupId the group ID 2709 * @param nodeId the node ID 2710 * @param status the status 2711 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2712 * @return the first matching wiki page 2713 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2714 */ 2715 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_First( 2716 long groupId, long nodeId, int status, 2717 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2718 throws com.liferay.portlet.wiki.NoSuchPageException { 2719 return getPersistence() 2720 .findByG_N_S_First(groupId, nodeId, status, orderByComparator); 2721 } 2722 2723 /** 2724 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 2725 * 2726 * @param groupId the group ID 2727 * @param nodeId the node ID 2728 * @param status the status 2729 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2730 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2731 */ 2732 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_First( 2733 long groupId, long nodeId, int status, 2734 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2735 return getPersistence() 2736 .fetchByG_N_S_First(groupId, nodeId, status, 2737 orderByComparator); 2738 } 2739 2740 /** 2741 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 2742 * 2743 * @param groupId the group ID 2744 * @param nodeId the node ID 2745 * @param status the status 2746 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2747 * @return the last matching wiki page 2748 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2749 */ 2750 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_S_Last( 2751 long groupId, long nodeId, int status, 2752 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2753 throws com.liferay.portlet.wiki.NoSuchPageException { 2754 return getPersistence() 2755 .findByG_N_S_Last(groupId, nodeId, status, orderByComparator); 2756 } 2757 2758 /** 2759 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 2760 * 2761 * @param groupId the group ID 2762 * @param nodeId the node ID 2763 * @param status the status 2764 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2765 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 2766 */ 2767 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_S_Last( 2768 long groupId, long nodeId, int status, 2769 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2770 return getPersistence() 2771 .fetchByG_N_S_Last(groupId, nodeId, status, orderByComparator); 2772 } 2773 2774 /** 2775 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and status = ?. 2776 * 2777 * @param pageId the primary key of the current wiki page 2778 * @param groupId the group ID 2779 * @param nodeId the node ID 2780 * @param status the status 2781 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2782 * @return the previous, current, and next wiki page 2783 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2784 */ 2785 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_S_PrevAndNext( 2786 long pageId, long groupId, long nodeId, int status, 2787 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2788 throws com.liferay.portlet.wiki.NoSuchPageException { 2789 return getPersistence() 2790 .findByG_N_S_PrevAndNext(pageId, groupId, nodeId, status, 2791 orderByComparator); 2792 } 2793 2794 /** 2795 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 2796 * 2797 * @param groupId the group ID 2798 * @param nodeId the node ID 2799 * @param status the status 2800 * @return the matching wiki pages that the user has permission to view 2801 */ 2802 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 2803 long groupId, long nodeId, int status) { 2804 return getPersistence().filterFindByG_N_S(groupId, nodeId, status); 2805 } 2806 2807 /** 2808 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 2809 * 2810 * <p> 2811 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2812 * </p> 2813 * 2814 * @param groupId the group ID 2815 * @param nodeId the node ID 2816 * @param status the status 2817 * @param start the lower bound of the range of wiki pages 2818 * @param end the upper bound of the range of wiki pages (not inclusive) 2819 * @return the range of matching wiki pages that the user has permission to view 2820 */ 2821 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 2822 long groupId, long nodeId, int status, int start, int end) { 2823 return getPersistence() 2824 .filterFindByG_N_S(groupId, nodeId, status, start, end); 2825 } 2826 2827 /** 2828 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and status = ?. 2829 * 2830 * <p> 2831 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2832 * </p> 2833 * 2834 * @param groupId the group ID 2835 * @param nodeId the node ID 2836 * @param status the status 2837 * @param start the lower bound of the range of wiki pages 2838 * @param end the upper bound of the range of wiki pages (not inclusive) 2839 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2840 * @return the ordered range of matching wiki pages that the user has permission to view 2841 */ 2842 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_S( 2843 long groupId, long nodeId, int status, int start, int end, 2844 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2845 return getPersistence() 2846 .filterFindByG_N_S(groupId, nodeId, status, start, end, 2847 orderByComparator); 2848 } 2849 2850 /** 2851 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 2852 * 2853 * @param pageId the primary key of the current wiki page 2854 * @param groupId the group ID 2855 * @param nodeId the node ID 2856 * @param status the status 2857 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2858 * @return the previous, current, and next wiki page 2859 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 2860 */ 2861 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_S_PrevAndNext( 2862 long pageId, long groupId, long nodeId, int status, 2863 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2864 throws com.liferay.portlet.wiki.NoSuchPageException { 2865 return getPersistence() 2866 .filterFindByG_N_S_PrevAndNext(pageId, groupId, nodeId, 2867 status, orderByComparator); 2868 } 2869 2870 /** 2871 * Removes all the wiki pages where groupId = ? and nodeId = ? and status = ? from the database. 2872 * 2873 * @param groupId the group ID 2874 * @param nodeId the node ID 2875 * @param status the status 2876 */ 2877 public static void removeByG_N_S(long groupId, long nodeId, int status) { 2878 getPersistence().removeByG_N_S(groupId, nodeId, status); 2879 } 2880 2881 /** 2882 * Returns the number of wiki pages where groupId = ? and nodeId = ? and status = ?. 2883 * 2884 * @param groupId the group ID 2885 * @param nodeId the node ID 2886 * @param status the status 2887 * @return the number of matching wiki pages 2888 */ 2889 public static int countByG_N_S(long groupId, long nodeId, int status) { 2890 return getPersistence().countByG_N_S(groupId, nodeId, status); 2891 } 2892 2893 /** 2894 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and status = ?. 2895 * 2896 * @param groupId the group ID 2897 * @param nodeId the node ID 2898 * @param status the status 2899 * @return the number of matching wiki pages that the user has permission to view 2900 */ 2901 public static int filterCountByG_N_S(long groupId, long nodeId, int status) { 2902 return getPersistence().filterCountByG_N_S(groupId, nodeId, status); 2903 } 2904 2905 /** 2906 * Returns all the wiki pages where userId = ? and nodeId = ? and status = ?. 2907 * 2908 * @param userId the user ID 2909 * @param nodeId the node ID 2910 * @param status the status 2911 * @return the matching wiki pages 2912 */ 2913 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 2914 long userId, long nodeId, int status) { 2915 return getPersistence().findByU_N_S(userId, nodeId, status); 2916 } 2917 2918 /** 2919 * Returns a range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 2920 * 2921 * <p> 2922 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2923 * </p> 2924 * 2925 * @param userId the user ID 2926 * @param nodeId the node ID 2927 * @param status the status 2928 * @param start the lower bound of the range of wiki pages 2929 * @param end the upper bound of the range of wiki pages (not inclusive) 2930 * @return the range of matching wiki pages 2931 */ 2932 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 2933 long userId, long nodeId, int status, int start, int end) { 2934 return getPersistence().findByU_N_S(userId, nodeId, status, start, end); 2935 } 2936 2937 /** 2938 * Returns an ordered range of all the wiki pages where userId = ? and nodeId = ? and status = ?. 2939 * 2940 * <p> 2941 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 2942 * </p> 2943 * 2944 * @param userId the user ID 2945 * @param nodeId the node ID 2946 * @param status the status 2947 * @param start the lower bound of the range of wiki pages 2948 * @param end the upper bound of the range of wiki pages (not inclusive) 2949 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 2950 * @return the ordered range of matching wiki pages 2951 */ 2952 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByU_N_S( 2953 long userId, long nodeId, int status, int start, int end, 2954 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2955 return getPersistence() 2956 .findByU_N_S(userId, nodeId, status, start, end, 2957 orderByComparator); 2958 } 2959 2960 /** 2961 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 2962 * 2963 * @param userId the user ID 2964 * @param nodeId the node ID 2965 * @param status the status 2966 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2967 * @return the first matching wiki page 2968 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 2969 */ 2970 public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_First( 2971 long userId, long nodeId, int status, 2972 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 2973 throws com.liferay.portlet.wiki.NoSuchPageException { 2974 return getPersistence() 2975 .findByU_N_S_First(userId, nodeId, status, orderByComparator); 2976 } 2977 2978 /** 2979 * Returns the first wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 2980 * 2981 * @param userId the user ID 2982 * @param nodeId the node ID 2983 * @param status the status 2984 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 2985 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 2986 */ 2987 public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_First( 2988 long userId, long nodeId, int status, 2989 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 2990 return getPersistence() 2991 .fetchByU_N_S_First(userId, nodeId, status, orderByComparator); 2992 } 2993 2994 /** 2995 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 2996 * 2997 * @param userId the user ID 2998 * @param nodeId the node ID 2999 * @param status the status 3000 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3001 * @return the last matching wiki page 3002 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3003 */ 3004 public static com.liferay.portlet.wiki.model.WikiPage findByU_N_S_Last( 3005 long userId, long nodeId, int status, 3006 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3007 throws com.liferay.portlet.wiki.NoSuchPageException { 3008 return getPersistence() 3009 .findByU_N_S_Last(userId, nodeId, status, orderByComparator); 3010 } 3011 3012 /** 3013 * Returns the last wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 3014 * 3015 * @param userId the user ID 3016 * @param nodeId the node ID 3017 * @param status the status 3018 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3019 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3020 */ 3021 public static com.liferay.portlet.wiki.model.WikiPage fetchByU_N_S_Last( 3022 long userId, long nodeId, int status, 3023 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3024 return getPersistence() 3025 .fetchByU_N_S_Last(userId, nodeId, status, orderByComparator); 3026 } 3027 3028 /** 3029 * Returns the wiki pages before and after the current wiki page in the ordered set where userId = ? and nodeId = ? and status = ?. 3030 * 3031 * @param pageId the primary key of the current wiki page 3032 * @param userId the user ID 3033 * @param nodeId the node ID 3034 * @param status the status 3035 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3036 * @return the previous, current, and next wiki page 3037 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3038 */ 3039 public static com.liferay.portlet.wiki.model.WikiPage[] findByU_N_S_PrevAndNext( 3040 long pageId, long userId, long nodeId, int status, 3041 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3042 throws com.liferay.portlet.wiki.NoSuchPageException { 3043 return getPersistence() 3044 .findByU_N_S_PrevAndNext(pageId, userId, nodeId, status, 3045 orderByComparator); 3046 } 3047 3048 /** 3049 * Removes all the wiki pages where userId = ? and nodeId = ? and status = ? from the database. 3050 * 3051 * @param userId the user ID 3052 * @param nodeId the node ID 3053 * @param status the status 3054 */ 3055 public static void removeByU_N_S(long userId, long nodeId, int status) { 3056 getPersistence().removeByU_N_S(userId, nodeId, status); 3057 } 3058 3059 /** 3060 * Returns the number of wiki pages where userId = ? and nodeId = ? and status = ?. 3061 * 3062 * @param userId the user ID 3063 * @param nodeId the node ID 3064 * @param status the status 3065 * @return the number of matching wiki pages 3066 */ 3067 public static int countByU_N_S(long userId, long nodeId, int status) { 3068 return getPersistence().countByU_N_S(userId, nodeId, status); 3069 } 3070 3071 /** 3072 * 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. 3073 * 3074 * @param nodeId the node ID 3075 * @param title the title 3076 * @param version the version 3077 * @return the matching wiki page 3078 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3079 */ 3080 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_V( 3081 long nodeId, java.lang.String title, double version) 3082 throws com.liferay.portlet.wiki.NoSuchPageException { 3083 return getPersistence().findByN_T_V(nodeId, title, version); 3084 } 3085 3086 /** 3087 * 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. 3088 * 3089 * @param nodeId the node ID 3090 * @param title the title 3091 * @param version the version 3092 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 3093 */ 3094 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V( 3095 long nodeId, java.lang.String title, double version) { 3096 return getPersistence().fetchByN_T_V(nodeId, title, version); 3097 } 3098 3099 /** 3100 * 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. 3101 * 3102 * @param nodeId the node ID 3103 * @param title the title 3104 * @param version the version 3105 * @param retrieveFromCache whether to use the finder cache 3106 * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found 3107 */ 3108 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_V( 3109 long nodeId, java.lang.String title, double version, 3110 boolean retrieveFromCache) { 3111 return getPersistence() 3112 .fetchByN_T_V(nodeId, title, version, retrieveFromCache); 3113 } 3114 3115 /** 3116 * Removes the wiki page where nodeId = ? and title = ? and version = ? from the database. 3117 * 3118 * @param nodeId the node ID 3119 * @param title the title 3120 * @param version the version 3121 * @return the wiki page that was removed 3122 */ 3123 public static com.liferay.portlet.wiki.model.WikiPage removeByN_T_V( 3124 long nodeId, java.lang.String title, double version) 3125 throws com.liferay.portlet.wiki.NoSuchPageException { 3126 return getPersistence().removeByN_T_V(nodeId, title, version); 3127 } 3128 3129 /** 3130 * Returns the number of wiki pages where nodeId = ? and title = ? and version = ?. 3131 * 3132 * @param nodeId the node ID 3133 * @param title the title 3134 * @param version the version 3135 * @return the number of matching wiki pages 3136 */ 3137 public static int countByN_T_V(long nodeId, java.lang.String title, 3138 double version) { 3139 return getPersistence().countByN_T_V(nodeId, title, version); 3140 } 3141 3142 /** 3143 * Returns all the wiki pages where nodeId = ? and title = ? and head = ?. 3144 * 3145 * @param nodeId the node ID 3146 * @param title the title 3147 * @param head the head 3148 * @return the matching wiki pages 3149 */ 3150 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 3151 long nodeId, java.lang.String title, boolean head) { 3152 return getPersistence().findByN_T_H(nodeId, title, head); 3153 } 3154 3155 /** 3156 * Returns a range of all the wiki pages where nodeId = ? and title = ? and head = ?. 3157 * 3158 * <p> 3159 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3160 * </p> 3161 * 3162 * @param nodeId the node ID 3163 * @param title the title 3164 * @param head the head 3165 * @param start the lower bound of the range of wiki pages 3166 * @param end the upper bound of the range of wiki pages (not inclusive) 3167 * @return the range of matching wiki pages 3168 */ 3169 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 3170 long nodeId, java.lang.String title, boolean head, int start, int end) { 3171 return getPersistence().findByN_T_H(nodeId, title, head, start, end); 3172 } 3173 3174 /** 3175 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and head = ?. 3176 * 3177 * <p> 3178 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3179 * </p> 3180 * 3181 * @param nodeId the node ID 3182 * @param title the title 3183 * @param head the head 3184 * @param start the lower bound of the range of wiki pages 3185 * @param end the upper bound of the range of wiki pages (not inclusive) 3186 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3187 * @return the ordered range of matching wiki pages 3188 */ 3189 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_H( 3190 long nodeId, java.lang.String title, boolean head, int start, int end, 3191 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3192 return getPersistence() 3193 .findByN_T_H(nodeId, title, head, start, end, 3194 orderByComparator); 3195 } 3196 3197 /** 3198 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3199 * 3200 * @param nodeId the node ID 3201 * @param title the title 3202 * @param head the head 3203 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3204 * @return the first matching wiki page 3205 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3206 */ 3207 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_First( 3208 long nodeId, java.lang.String title, boolean head, 3209 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3210 throws com.liferay.portlet.wiki.NoSuchPageException { 3211 return getPersistence() 3212 .findByN_T_H_First(nodeId, title, head, orderByComparator); 3213 } 3214 3215 /** 3216 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3217 * 3218 * @param nodeId the node ID 3219 * @param title the title 3220 * @param head the head 3221 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3222 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3223 */ 3224 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_First( 3225 long nodeId, java.lang.String title, boolean head, 3226 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3227 return getPersistence() 3228 .fetchByN_T_H_First(nodeId, title, head, orderByComparator); 3229 } 3230 3231 /** 3232 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3233 * 3234 * @param nodeId the node ID 3235 * @param title the title 3236 * @param head the head 3237 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3238 * @return the last matching wiki page 3239 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3240 */ 3241 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_H_Last( 3242 long nodeId, java.lang.String title, boolean head, 3243 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3244 throws com.liferay.portlet.wiki.NoSuchPageException { 3245 return getPersistence() 3246 .findByN_T_H_Last(nodeId, title, head, orderByComparator); 3247 } 3248 3249 /** 3250 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3251 * 3252 * @param nodeId the node ID 3253 * @param title the title 3254 * @param head the head 3255 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3256 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3257 */ 3258 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_H_Last( 3259 long nodeId, java.lang.String title, boolean head, 3260 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3261 return getPersistence() 3262 .fetchByN_T_H_Last(nodeId, title, head, orderByComparator); 3263 } 3264 3265 /** 3266 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and head = ?. 3267 * 3268 * @param pageId the primary key of the current wiki page 3269 * @param nodeId the node ID 3270 * @param title the title 3271 * @param head the head 3272 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3273 * @return the previous, current, and next wiki page 3274 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3275 */ 3276 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_H_PrevAndNext( 3277 long pageId, long nodeId, java.lang.String title, boolean head, 3278 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3279 throws com.liferay.portlet.wiki.NoSuchPageException { 3280 return getPersistence() 3281 .findByN_T_H_PrevAndNext(pageId, nodeId, title, head, 3282 orderByComparator); 3283 } 3284 3285 /** 3286 * Removes all the wiki pages where nodeId = ? and title = ? and head = ? from the database. 3287 * 3288 * @param nodeId the node ID 3289 * @param title the title 3290 * @param head the head 3291 */ 3292 public static void removeByN_T_H(long nodeId, java.lang.String title, 3293 boolean head) { 3294 getPersistence().removeByN_T_H(nodeId, title, head); 3295 } 3296 3297 /** 3298 * Returns the number of wiki pages where nodeId = ? and title = ? and head = ?. 3299 * 3300 * @param nodeId the node ID 3301 * @param title the title 3302 * @param head the head 3303 * @return the number of matching wiki pages 3304 */ 3305 public static int countByN_T_H(long nodeId, java.lang.String title, 3306 boolean head) { 3307 return getPersistence().countByN_T_H(nodeId, title, head); 3308 } 3309 3310 /** 3311 * Returns all the wiki pages where nodeId = ? and title = ? and status = ?. 3312 * 3313 * @param nodeId the node ID 3314 * @param title the title 3315 * @param status the status 3316 * @return the matching wiki pages 3317 */ 3318 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 3319 long nodeId, java.lang.String title, int status) { 3320 return getPersistence().findByN_T_S(nodeId, title, status); 3321 } 3322 3323 /** 3324 * Returns a range of all the wiki pages where nodeId = ? and title = ? and status = ?. 3325 * 3326 * <p> 3327 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3328 * </p> 3329 * 3330 * @param nodeId the node ID 3331 * @param title the title 3332 * @param status the status 3333 * @param start the lower bound of the range of wiki pages 3334 * @param end the upper bound of the range of wiki pages (not inclusive) 3335 * @return the range of matching wiki pages 3336 */ 3337 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 3338 long nodeId, java.lang.String title, int status, int start, int end) { 3339 return getPersistence().findByN_T_S(nodeId, title, status, start, end); 3340 } 3341 3342 /** 3343 * Returns an ordered range of all the wiki pages where nodeId = ? and title = ? and status = ?. 3344 * 3345 * <p> 3346 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3347 * </p> 3348 * 3349 * @param nodeId the node ID 3350 * @param title the title 3351 * @param status the status 3352 * @param start the lower bound of the range of wiki pages 3353 * @param end the upper bound of the range of wiki pages (not inclusive) 3354 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3355 * @return the ordered range of matching wiki pages 3356 */ 3357 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_T_S( 3358 long nodeId, java.lang.String title, int status, int start, int end, 3359 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3360 return getPersistence() 3361 .findByN_T_S(nodeId, title, status, start, end, 3362 orderByComparator); 3363 } 3364 3365 /** 3366 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3367 * 3368 * @param nodeId the node ID 3369 * @param title the title 3370 * @param status the status 3371 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3372 * @return the first matching wiki page 3373 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3374 */ 3375 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_First( 3376 long nodeId, java.lang.String title, int status, 3377 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3378 throws com.liferay.portlet.wiki.NoSuchPageException { 3379 return getPersistence() 3380 .findByN_T_S_First(nodeId, title, status, orderByComparator); 3381 } 3382 3383 /** 3384 * Returns the first wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3385 * 3386 * @param nodeId the node ID 3387 * @param title the title 3388 * @param status the status 3389 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3390 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3391 */ 3392 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_First( 3393 long nodeId, java.lang.String title, int status, 3394 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3395 return getPersistence() 3396 .fetchByN_T_S_First(nodeId, title, status, orderByComparator); 3397 } 3398 3399 /** 3400 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3401 * 3402 * @param nodeId the node ID 3403 * @param title the title 3404 * @param status the status 3405 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3406 * @return the last matching wiki page 3407 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3408 */ 3409 public static com.liferay.portlet.wiki.model.WikiPage findByN_T_S_Last( 3410 long nodeId, java.lang.String title, int status, 3411 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3412 throws com.liferay.portlet.wiki.NoSuchPageException { 3413 return getPersistence() 3414 .findByN_T_S_Last(nodeId, title, status, orderByComparator); 3415 } 3416 3417 /** 3418 * Returns the last wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3419 * 3420 * @param nodeId the node ID 3421 * @param title the title 3422 * @param status the status 3423 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3424 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3425 */ 3426 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_T_S_Last( 3427 long nodeId, java.lang.String title, int status, 3428 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3429 return getPersistence() 3430 .fetchByN_T_S_Last(nodeId, title, status, orderByComparator); 3431 } 3432 3433 /** 3434 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and title = ? and status = ?. 3435 * 3436 * @param pageId the primary key of the current wiki page 3437 * @param nodeId the node ID 3438 * @param title the title 3439 * @param status the status 3440 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3441 * @return the previous, current, and next wiki page 3442 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3443 */ 3444 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_T_S_PrevAndNext( 3445 long pageId, long nodeId, java.lang.String title, int status, 3446 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3447 throws com.liferay.portlet.wiki.NoSuchPageException { 3448 return getPersistence() 3449 .findByN_T_S_PrevAndNext(pageId, nodeId, title, status, 3450 orderByComparator); 3451 } 3452 3453 /** 3454 * Removes all the wiki pages where nodeId = ? and title = ? and status = ? from the database. 3455 * 3456 * @param nodeId the node ID 3457 * @param title the title 3458 * @param status the status 3459 */ 3460 public static void removeByN_T_S(long nodeId, java.lang.String title, 3461 int status) { 3462 getPersistence().removeByN_T_S(nodeId, title, status); 3463 } 3464 3465 /** 3466 * Returns the number of wiki pages where nodeId = ? and title = ? and status = ?. 3467 * 3468 * @param nodeId the node ID 3469 * @param title the title 3470 * @param status the status 3471 * @return the number of matching wiki pages 3472 */ 3473 public static int countByN_T_S(long nodeId, java.lang.String title, 3474 int status) { 3475 return getPersistence().countByN_T_S(nodeId, title, status); 3476 } 3477 3478 /** 3479 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 3480 * 3481 * @param nodeId the node ID 3482 * @param head the head 3483 * @param parentTitle the parent title 3484 * @return the matching wiki pages 3485 */ 3486 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 3487 long nodeId, boolean head, java.lang.String parentTitle) { 3488 return getPersistence().findByN_H_P(nodeId, head, parentTitle); 3489 } 3490 3491 /** 3492 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 3493 * 3494 * <p> 3495 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3496 * </p> 3497 * 3498 * @param nodeId the node ID 3499 * @param head the head 3500 * @param parentTitle the parent title 3501 * @param start the lower bound of the range of wiki pages 3502 * @param end the upper bound of the range of wiki pages (not inclusive) 3503 * @return the range of matching wiki pages 3504 */ 3505 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 3506 long nodeId, boolean head, java.lang.String parentTitle, int start, 3507 int end) { 3508 return getPersistence() 3509 .findByN_H_P(nodeId, head, parentTitle, start, end); 3510 } 3511 3512 /** 3513 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ?. 3514 * 3515 * <p> 3516 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3517 * </p> 3518 * 3519 * @param nodeId the node ID 3520 * @param head the head 3521 * @param parentTitle the parent title 3522 * @param start the lower bound of the range of wiki pages 3523 * @param end the upper bound of the range of wiki pages (not inclusive) 3524 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3525 * @return the ordered range of matching wiki pages 3526 */ 3527 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P( 3528 long nodeId, boolean head, java.lang.String parentTitle, int start, 3529 int end, 3530 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3531 return getPersistence() 3532 .findByN_H_P(nodeId, head, parentTitle, start, end, 3533 orderByComparator); 3534 } 3535 3536 /** 3537 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 3538 * 3539 * @param nodeId the node ID 3540 * @param head the head 3541 * @param parentTitle the parent title 3542 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3543 * @return the first matching wiki page 3544 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3545 */ 3546 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_First( 3547 long nodeId, boolean head, java.lang.String parentTitle, 3548 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3549 throws com.liferay.portlet.wiki.NoSuchPageException { 3550 return getPersistence() 3551 .findByN_H_P_First(nodeId, head, parentTitle, 3552 orderByComparator); 3553 } 3554 3555 /** 3556 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 3557 * 3558 * @param nodeId the node ID 3559 * @param head the head 3560 * @param parentTitle the parent title 3561 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3562 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3563 */ 3564 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_First( 3565 long nodeId, boolean head, java.lang.String parentTitle, 3566 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3567 return getPersistence() 3568 .fetchByN_H_P_First(nodeId, head, parentTitle, 3569 orderByComparator); 3570 } 3571 3572 /** 3573 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 3574 * 3575 * @param nodeId the node ID 3576 * @param head the head 3577 * @param parentTitle the parent title 3578 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3579 * @return the last matching wiki page 3580 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3581 */ 3582 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_Last( 3583 long nodeId, boolean head, java.lang.String parentTitle, 3584 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3585 throws com.liferay.portlet.wiki.NoSuchPageException { 3586 return getPersistence() 3587 .findByN_H_P_Last(nodeId, head, parentTitle, 3588 orderByComparator); 3589 } 3590 3591 /** 3592 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 3593 * 3594 * @param nodeId the node ID 3595 * @param head the head 3596 * @param parentTitle the parent title 3597 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3598 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3599 */ 3600 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_Last( 3601 long nodeId, boolean head, java.lang.String parentTitle, 3602 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3603 return getPersistence() 3604 .fetchByN_H_P_Last(nodeId, head, parentTitle, 3605 orderByComparator); 3606 } 3607 3608 /** 3609 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ?. 3610 * 3611 * @param pageId the primary key of the current wiki page 3612 * @param nodeId the node ID 3613 * @param head the head 3614 * @param parentTitle the parent title 3615 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3616 * @return the previous, current, and next wiki page 3617 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3618 */ 3619 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_PrevAndNext( 3620 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 3621 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3622 throws com.liferay.portlet.wiki.NoSuchPageException { 3623 return getPersistence() 3624 .findByN_H_P_PrevAndNext(pageId, nodeId, head, parentTitle, 3625 orderByComparator); 3626 } 3627 3628 /** 3629 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? from the database. 3630 * 3631 * @param nodeId the node ID 3632 * @param head the head 3633 * @param parentTitle the parent title 3634 */ 3635 public static void removeByN_H_P(long nodeId, boolean head, 3636 java.lang.String parentTitle) { 3637 getPersistence().removeByN_H_P(nodeId, head, parentTitle); 3638 } 3639 3640 /** 3641 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ?. 3642 * 3643 * @param nodeId the node ID 3644 * @param head the head 3645 * @param parentTitle the parent title 3646 * @return the number of matching wiki pages 3647 */ 3648 public static int countByN_H_P(long nodeId, boolean head, 3649 java.lang.String parentTitle) { 3650 return getPersistence().countByN_H_P(nodeId, head, parentTitle); 3651 } 3652 3653 /** 3654 * Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?. 3655 * 3656 * @param nodeId the node ID 3657 * @param head the head 3658 * @param redirectTitle the redirect title 3659 * @return the matching wiki pages 3660 */ 3661 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R( 3662 long nodeId, boolean head, java.lang.String redirectTitle) { 3663 return getPersistence().findByN_H_R(nodeId, head, redirectTitle); 3664 } 3665 3666 /** 3667 * Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?. 3668 * 3669 * <p> 3670 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3671 * </p> 3672 * 3673 * @param nodeId the node ID 3674 * @param head the head 3675 * @param redirectTitle the redirect title 3676 * @param start the lower bound of the range of wiki pages 3677 * @param end the upper bound of the range of wiki pages (not inclusive) 3678 * @return the range of matching wiki pages 3679 */ 3680 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R( 3681 long nodeId, boolean head, java.lang.String redirectTitle, int start, 3682 int end) { 3683 return getPersistence() 3684 .findByN_H_R(nodeId, head, redirectTitle, start, end); 3685 } 3686 3687 /** 3688 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ?. 3689 * 3690 * <p> 3691 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3692 * </p> 3693 * 3694 * @param nodeId the node ID 3695 * @param head the head 3696 * @param redirectTitle the redirect title 3697 * @param start the lower bound of the range of wiki pages 3698 * @param end the upper bound of the range of wiki pages (not inclusive) 3699 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3700 * @return the ordered range of matching wiki pages 3701 */ 3702 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R( 3703 long nodeId, boolean head, java.lang.String redirectTitle, int start, 3704 int end, 3705 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3706 return getPersistence() 3707 .findByN_H_R(nodeId, head, redirectTitle, start, end, 3708 orderByComparator); 3709 } 3710 3711 /** 3712 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?. 3713 * 3714 * @param nodeId the node ID 3715 * @param head the head 3716 * @param redirectTitle the redirect title 3717 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3718 * @return the first matching wiki page 3719 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3720 */ 3721 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_First( 3722 long nodeId, boolean head, java.lang.String redirectTitle, 3723 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3724 throws com.liferay.portlet.wiki.NoSuchPageException { 3725 return getPersistence() 3726 .findByN_H_R_First(nodeId, head, redirectTitle, 3727 orderByComparator); 3728 } 3729 3730 /** 3731 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?. 3732 * 3733 * @param nodeId the node ID 3734 * @param head the head 3735 * @param redirectTitle the redirect title 3736 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3737 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3738 */ 3739 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_First( 3740 long nodeId, boolean head, java.lang.String redirectTitle, 3741 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3742 return getPersistence() 3743 .fetchByN_H_R_First(nodeId, head, redirectTitle, 3744 orderByComparator); 3745 } 3746 3747 /** 3748 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?. 3749 * 3750 * @param nodeId the node ID 3751 * @param head the head 3752 * @param redirectTitle the redirect title 3753 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3754 * @return the last matching wiki page 3755 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3756 */ 3757 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_Last( 3758 long nodeId, boolean head, java.lang.String redirectTitle, 3759 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3760 throws com.liferay.portlet.wiki.NoSuchPageException { 3761 return getPersistence() 3762 .findByN_H_R_Last(nodeId, head, redirectTitle, 3763 orderByComparator); 3764 } 3765 3766 /** 3767 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?. 3768 * 3769 * @param nodeId the node ID 3770 * @param head the head 3771 * @param redirectTitle the redirect title 3772 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3773 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3774 */ 3775 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_Last( 3776 long nodeId, boolean head, java.lang.String redirectTitle, 3777 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3778 return getPersistence() 3779 .fetchByN_H_R_Last(nodeId, head, redirectTitle, 3780 orderByComparator); 3781 } 3782 3783 /** 3784 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ?. 3785 * 3786 * @param pageId the primary key of the current wiki page 3787 * @param nodeId the node ID 3788 * @param head the head 3789 * @param redirectTitle the redirect title 3790 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3791 * @return the previous, current, and next wiki page 3792 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3793 */ 3794 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_PrevAndNext( 3795 long pageId, long nodeId, boolean head, java.lang.String redirectTitle, 3796 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3797 throws com.liferay.portlet.wiki.NoSuchPageException { 3798 return getPersistence() 3799 .findByN_H_R_PrevAndNext(pageId, nodeId, head, 3800 redirectTitle, orderByComparator); 3801 } 3802 3803 /** 3804 * Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? from the database. 3805 * 3806 * @param nodeId the node ID 3807 * @param head the head 3808 * @param redirectTitle the redirect title 3809 */ 3810 public static void removeByN_H_R(long nodeId, boolean head, 3811 java.lang.String redirectTitle) { 3812 getPersistence().removeByN_H_R(nodeId, head, redirectTitle); 3813 } 3814 3815 /** 3816 * Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ?. 3817 * 3818 * @param nodeId the node ID 3819 * @param head the head 3820 * @param redirectTitle the redirect title 3821 * @return the number of matching wiki pages 3822 */ 3823 public static int countByN_H_R(long nodeId, boolean head, 3824 java.lang.String redirectTitle) { 3825 return getPersistence().countByN_H_R(nodeId, head, redirectTitle); 3826 } 3827 3828 /** 3829 * Returns all the wiki pages where nodeId = ? and head = ? and status = ?. 3830 * 3831 * @param nodeId the node ID 3832 * @param head the head 3833 * @param status the status 3834 * @return the matching wiki pages 3835 */ 3836 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 3837 long nodeId, boolean head, int status) { 3838 return getPersistence().findByN_H_S(nodeId, head, status); 3839 } 3840 3841 /** 3842 * Returns a range of all the wiki pages where nodeId = ? and head = ? and status = ?. 3843 * 3844 * <p> 3845 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3846 * </p> 3847 * 3848 * @param nodeId the node ID 3849 * @param head the head 3850 * @param status the status 3851 * @param start the lower bound of the range of wiki pages 3852 * @param end the upper bound of the range of wiki pages (not inclusive) 3853 * @return the range of matching wiki pages 3854 */ 3855 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 3856 long nodeId, boolean head, int status, int start, int end) { 3857 return getPersistence().findByN_H_S(nodeId, head, status, start, end); 3858 } 3859 3860 /** 3861 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status = ?. 3862 * 3863 * <p> 3864 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 3865 * </p> 3866 * 3867 * @param nodeId the node ID 3868 * @param head the head 3869 * @param status the status 3870 * @param start the lower bound of the range of wiki pages 3871 * @param end the upper bound of the range of wiki pages (not inclusive) 3872 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 3873 * @return the ordered range of matching wiki pages 3874 */ 3875 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_S( 3876 long nodeId, boolean head, int status, int start, int end, 3877 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3878 return getPersistence() 3879 .findByN_H_S(nodeId, head, status, start, end, 3880 orderByComparator); 3881 } 3882 3883 /** 3884 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 3885 * 3886 * @param nodeId the node ID 3887 * @param head the head 3888 * @param status the status 3889 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3890 * @return the first matching wiki page 3891 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3892 */ 3893 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_First( 3894 long nodeId, boolean head, int status, 3895 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3896 throws com.liferay.portlet.wiki.NoSuchPageException { 3897 return getPersistence() 3898 .findByN_H_S_First(nodeId, head, status, orderByComparator); 3899 } 3900 3901 /** 3902 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 3903 * 3904 * @param nodeId the node ID 3905 * @param head the head 3906 * @param status the status 3907 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3908 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 3909 */ 3910 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_First( 3911 long nodeId, boolean head, int status, 3912 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3913 return getPersistence() 3914 .fetchByN_H_S_First(nodeId, head, status, orderByComparator); 3915 } 3916 3917 /** 3918 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 3919 * 3920 * @param nodeId the node ID 3921 * @param head the head 3922 * @param status the status 3923 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3924 * @return the last matching wiki page 3925 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 3926 */ 3927 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_S_Last( 3928 long nodeId, boolean head, int status, 3929 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3930 throws com.liferay.portlet.wiki.NoSuchPageException { 3931 return getPersistence() 3932 .findByN_H_S_Last(nodeId, head, status, orderByComparator); 3933 } 3934 3935 /** 3936 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 3937 * 3938 * @param nodeId the node ID 3939 * @param head the head 3940 * @param status the status 3941 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3942 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 3943 */ 3944 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_S_Last( 3945 long nodeId, boolean head, int status, 3946 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 3947 return getPersistence() 3948 .fetchByN_H_S_Last(nodeId, head, status, orderByComparator); 3949 } 3950 3951 /** 3952 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status = ?. 3953 * 3954 * @param pageId the primary key of the current wiki page 3955 * @param nodeId the node ID 3956 * @param head the head 3957 * @param status the status 3958 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 3959 * @return the previous, current, and next wiki page 3960 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 3961 */ 3962 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_S_PrevAndNext( 3963 long pageId, long nodeId, boolean head, int status, 3964 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 3965 throws com.liferay.portlet.wiki.NoSuchPageException { 3966 return getPersistence() 3967 .findByN_H_S_PrevAndNext(pageId, nodeId, head, status, 3968 orderByComparator); 3969 } 3970 3971 /** 3972 * Removes all the wiki pages where nodeId = ? and head = ? and status = ? from the database. 3973 * 3974 * @param nodeId the node ID 3975 * @param head the head 3976 * @param status the status 3977 */ 3978 public static void removeByN_H_S(long nodeId, boolean head, int status) { 3979 getPersistence().removeByN_H_S(nodeId, head, status); 3980 } 3981 3982 /** 3983 * Returns the number of wiki pages where nodeId = ? and head = ? and status = ?. 3984 * 3985 * @param nodeId the node ID 3986 * @param head the head 3987 * @param status the status 3988 * @return the number of matching wiki pages 3989 */ 3990 public static int countByN_H_S(long nodeId, boolean head, int status) { 3991 return getPersistence().countByN_H_S(nodeId, head, status); 3992 } 3993 3994 /** 3995 * Returns all the wiki pages where nodeId = ? and head = ? and status ≠ ?. 3996 * 3997 * @param nodeId the node ID 3998 * @param head the head 3999 * @param status the status 4000 * @return the matching wiki pages 4001 */ 4002 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS( 4003 long nodeId, boolean head, int status) { 4004 return getPersistence().findByN_H_NotS(nodeId, head, status); 4005 } 4006 4007 /** 4008 * Returns a range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?. 4009 * 4010 * <p> 4011 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4012 * </p> 4013 * 4014 * @param nodeId the node ID 4015 * @param head the head 4016 * @param status the status 4017 * @param start the lower bound of the range of wiki pages 4018 * @param end the upper bound of the range of wiki pages (not inclusive) 4019 * @return the range of matching wiki pages 4020 */ 4021 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS( 4022 long nodeId, boolean head, int status, int start, int end) { 4023 return getPersistence().findByN_H_NotS(nodeId, head, status, start, end); 4024 } 4025 4026 /** 4027 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and status ≠ ?. 4028 * 4029 * <p> 4030 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4031 * </p> 4032 * 4033 * @param nodeId the node ID 4034 * @param head the head 4035 * @param status the status 4036 * @param start the lower bound of the range of wiki pages 4037 * @param end the upper bound of the range of wiki pages (not inclusive) 4038 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4039 * @return the ordered range of matching wiki pages 4040 */ 4041 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_NotS( 4042 long nodeId, boolean head, int status, int start, int end, 4043 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4044 return getPersistence() 4045 .findByN_H_NotS(nodeId, head, status, start, end, 4046 orderByComparator); 4047 } 4048 4049 /** 4050 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4051 * 4052 * @param nodeId the node ID 4053 * @param head the head 4054 * @param status the status 4055 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4056 * @return the first matching wiki page 4057 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4058 */ 4059 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_First( 4060 long nodeId, boolean head, int status, 4061 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4062 throws com.liferay.portlet.wiki.NoSuchPageException { 4063 return getPersistence() 4064 .findByN_H_NotS_First(nodeId, head, status, orderByComparator); 4065 } 4066 4067 /** 4068 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4069 * 4070 * @param nodeId the node ID 4071 * @param head the head 4072 * @param status the status 4073 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4074 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4075 */ 4076 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_First( 4077 long nodeId, boolean head, int status, 4078 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4079 return getPersistence() 4080 .fetchByN_H_NotS_First(nodeId, head, status, 4081 orderByComparator); 4082 } 4083 4084 /** 4085 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4086 * 4087 * @param nodeId the node ID 4088 * @param head the head 4089 * @param status the status 4090 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4091 * @return the last matching wiki page 4092 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4093 */ 4094 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_NotS_Last( 4095 long nodeId, boolean head, int status, 4096 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4097 throws com.liferay.portlet.wiki.NoSuchPageException { 4098 return getPersistence() 4099 .findByN_H_NotS_Last(nodeId, head, status, orderByComparator); 4100 } 4101 4102 /** 4103 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4104 * 4105 * @param nodeId the node ID 4106 * @param head the head 4107 * @param status the status 4108 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4109 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4110 */ 4111 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_NotS_Last( 4112 long nodeId, boolean head, int status, 4113 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4114 return getPersistence() 4115 .fetchByN_H_NotS_Last(nodeId, head, status, orderByComparator); 4116 } 4117 4118 /** 4119 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and status ≠ ?. 4120 * 4121 * @param pageId the primary key of the current wiki page 4122 * @param nodeId the node ID 4123 * @param head the head 4124 * @param status the status 4125 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4126 * @return the previous, current, and next wiki page 4127 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4128 */ 4129 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_NotS_PrevAndNext( 4130 long pageId, long nodeId, boolean head, int status, 4131 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4132 throws com.liferay.portlet.wiki.NoSuchPageException { 4133 return getPersistence() 4134 .findByN_H_NotS_PrevAndNext(pageId, nodeId, head, status, 4135 orderByComparator); 4136 } 4137 4138 /** 4139 * Removes all the wiki pages where nodeId = ? and head = ? and status ≠ ? from the database. 4140 * 4141 * @param nodeId the node ID 4142 * @param head the head 4143 * @param status the status 4144 */ 4145 public static void removeByN_H_NotS(long nodeId, boolean head, int status) { 4146 getPersistence().removeByN_H_NotS(nodeId, head, status); 4147 } 4148 4149 /** 4150 * Returns the number of wiki pages where nodeId = ? and head = ? and status ≠ ?. 4151 * 4152 * @param nodeId the node ID 4153 * @param head the head 4154 * @param status the status 4155 * @return the number of matching wiki pages 4156 */ 4157 public static int countByN_H_NotS(long nodeId, boolean head, int status) { 4158 return getPersistence().countByN_H_NotS(nodeId, head, status); 4159 } 4160 4161 /** 4162 * Returns all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4163 * 4164 * @param groupId the group ID 4165 * @param userId the user ID 4166 * @param nodeId the node ID 4167 * @param status the status 4168 * @return the matching wiki pages 4169 */ 4170 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 4171 long groupId, long userId, long nodeId, int status) { 4172 return getPersistence().findByG_U_N_S(groupId, userId, nodeId, status); 4173 } 4174 4175 /** 4176 * Returns a range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4177 * 4178 * <p> 4179 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4180 * </p> 4181 * 4182 * @param groupId the group ID 4183 * @param userId the user ID 4184 * @param nodeId the node ID 4185 * @param status the status 4186 * @param start the lower bound of the range of wiki pages 4187 * @param end the upper bound of the range of wiki pages (not inclusive) 4188 * @return the range of matching wiki pages 4189 */ 4190 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 4191 long groupId, long userId, long nodeId, int status, int start, int end) { 4192 return getPersistence() 4193 .findByG_U_N_S(groupId, userId, nodeId, status, start, end); 4194 } 4195 4196 /** 4197 * Returns an ordered range of all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4198 * 4199 * <p> 4200 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4201 * </p> 4202 * 4203 * @param groupId the group ID 4204 * @param userId the user ID 4205 * @param nodeId the node ID 4206 * @param status the status 4207 * @param start the lower bound of the range of wiki pages 4208 * @param end the upper bound of the range of wiki pages (not inclusive) 4209 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4210 * @return the ordered range of matching wiki pages 4211 */ 4212 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_U_N_S( 4213 long groupId, long userId, long nodeId, int status, int start, int end, 4214 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4215 return getPersistence() 4216 .findByG_U_N_S(groupId, userId, nodeId, status, start, end, 4217 orderByComparator); 4218 } 4219 4220 /** 4221 * Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4222 * 4223 * @param groupId the group ID 4224 * @param userId the user ID 4225 * @param nodeId the node ID 4226 * @param status the status 4227 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4228 * @return the first matching wiki page 4229 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4230 */ 4231 public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_First( 4232 long groupId, long userId, long nodeId, int status, 4233 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4234 throws com.liferay.portlet.wiki.NoSuchPageException { 4235 return getPersistence() 4236 .findByG_U_N_S_First(groupId, userId, nodeId, status, 4237 orderByComparator); 4238 } 4239 4240 /** 4241 * Returns the first wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4242 * 4243 * @param groupId the group ID 4244 * @param userId the user ID 4245 * @param nodeId the node ID 4246 * @param status the status 4247 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4248 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4249 */ 4250 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_First( 4251 long groupId, long userId, long nodeId, int status, 4252 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4253 return getPersistence() 4254 .fetchByG_U_N_S_First(groupId, userId, nodeId, status, 4255 orderByComparator); 4256 } 4257 4258 /** 4259 * Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4260 * 4261 * @param groupId the group ID 4262 * @param userId the user ID 4263 * @param nodeId the node ID 4264 * @param status the status 4265 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4266 * @return the last matching wiki page 4267 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4268 */ 4269 public static com.liferay.portlet.wiki.model.WikiPage findByG_U_N_S_Last( 4270 long groupId, long userId, long nodeId, int status, 4271 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4272 throws com.liferay.portlet.wiki.NoSuchPageException { 4273 return getPersistence() 4274 .findByG_U_N_S_Last(groupId, userId, nodeId, status, 4275 orderByComparator); 4276 } 4277 4278 /** 4279 * Returns the last wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4280 * 4281 * @param groupId the group ID 4282 * @param userId the user ID 4283 * @param nodeId the node ID 4284 * @param status the status 4285 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4286 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4287 */ 4288 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_U_N_S_Last( 4289 long groupId, long userId, long nodeId, int status, 4290 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4291 return getPersistence() 4292 .fetchByG_U_N_S_Last(groupId, userId, nodeId, status, 4293 orderByComparator); 4294 } 4295 4296 /** 4297 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and userId = ? and nodeId = ? and status = ?. 4298 * 4299 * @param pageId the primary key of the current wiki page 4300 * @param groupId the group ID 4301 * @param userId the user ID 4302 * @param nodeId the node ID 4303 * @param status the status 4304 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4305 * @return the previous, current, and next wiki page 4306 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4307 */ 4308 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_U_N_S_PrevAndNext( 4309 long pageId, long groupId, long userId, long nodeId, int status, 4310 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4311 throws com.liferay.portlet.wiki.NoSuchPageException { 4312 return getPersistence() 4313 .findByG_U_N_S_PrevAndNext(pageId, groupId, userId, nodeId, 4314 status, orderByComparator); 4315 } 4316 4317 /** 4318 * Returns all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4319 * 4320 * @param groupId the group ID 4321 * @param userId the user ID 4322 * @param nodeId the node ID 4323 * @param status the status 4324 * @return the matching wiki pages that the user has permission to view 4325 */ 4326 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 4327 long groupId, long userId, long nodeId, int status) { 4328 return getPersistence() 4329 .filterFindByG_U_N_S(groupId, userId, nodeId, status); 4330 } 4331 4332 /** 4333 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4334 * 4335 * <p> 4336 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4337 * </p> 4338 * 4339 * @param groupId the group ID 4340 * @param userId the user ID 4341 * @param nodeId the node ID 4342 * @param status the status 4343 * @param start the lower bound of the range of wiki pages 4344 * @param end the upper bound of the range of wiki pages (not inclusive) 4345 * @return the range of matching wiki pages that the user has permission to view 4346 */ 4347 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 4348 long groupId, long userId, long nodeId, int status, int start, int end) { 4349 return getPersistence() 4350 .filterFindByG_U_N_S(groupId, userId, nodeId, status, start, 4351 end); 4352 } 4353 4354 /** 4355 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4356 * 4357 * <p> 4358 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4359 * </p> 4360 * 4361 * @param groupId the group ID 4362 * @param userId the user ID 4363 * @param nodeId the node ID 4364 * @param status the status 4365 * @param start the lower bound of the range of wiki pages 4366 * @param end the upper bound of the range of wiki pages (not inclusive) 4367 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4368 * @return the ordered range of matching wiki pages that the user has permission to view 4369 */ 4370 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_U_N_S( 4371 long groupId, long userId, long nodeId, int status, int start, int end, 4372 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4373 return getPersistence() 4374 .filterFindByG_U_N_S(groupId, userId, nodeId, status, start, 4375 end, orderByComparator); 4376 } 4377 4378 /** 4379 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4380 * 4381 * @param pageId the primary key of the current wiki page 4382 * @param groupId the group ID 4383 * @param userId the user ID 4384 * @param nodeId the node ID 4385 * @param status the status 4386 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4387 * @return the previous, current, and next wiki page 4388 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4389 */ 4390 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_U_N_S_PrevAndNext( 4391 long pageId, long groupId, long userId, long nodeId, int status, 4392 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4393 throws com.liferay.portlet.wiki.NoSuchPageException { 4394 return getPersistence() 4395 .filterFindByG_U_N_S_PrevAndNext(pageId, groupId, userId, 4396 nodeId, status, orderByComparator); 4397 } 4398 4399 /** 4400 * Removes all the wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ? from the database. 4401 * 4402 * @param groupId the group ID 4403 * @param userId the user ID 4404 * @param nodeId the node ID 4405 * @param status the status 4406 */ 4407 public static void removeByG_U_N_S(long groupId, long userId, long nodeId, 4408 int status) { 4409 getPersistence().removeByG_U_N_S(groupId, userId, nodeId, status); 4410 } 4411 4412 /** 4413 * Returns the number of wiki pages where groupId = ? and userId = ? and nodeId = ? and status = ?. 4414 * 4415 * @param groupId the group ID 4416 * @param userId the user ID 4417 * @param nodeId the node ID 4418 * @param status the status 4419 * @return the number of matching wiki pages 4420 */ 4421 public static int countByG_U_N_S(long groupId, long userId, long nodeId, 4422 int status) { 4423 return getPersistence().countByG_U_N_S(groupId, userId, nodeId, status); 4424 } 4425 4426 /** 4427 * Returns the number of wiki pages that the user has permission to view where groupId = ? and userId = ? and nodeId = ? and status = ?. 4428 * 4429 * @param groupId the group ID 4430 * @param userId the user ID 4431 * @param nodeId the node ID 4432 * @param status the status 4433 * @return the number of matching wiki pages that the user has permission to view 4434 */ 4435 public static int filterCountByG_U_N_S(long groupId, long userId, 4436 long nodeId, int status) { 4437 return getPersistence() 4438 .filterCountByG_U_N_S(groupId, userId, nodeId, status); 4439 } 4440 4441 /** 4442 * Returns all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4443 * 4444 * @param groupId the group ID 4445 * @param nodeId the node ID 4446 * @param title the title 4447 * @param head the head 4448 * @return the matching wiki pages 4449 */ 4450 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 4451 long groupId, long nodeId, java.lang.String title, boolean head) { 4452 return getPersistence().findByG_N_T_H(groupId, nodeId, title, head); 4453 } 4454 4455 /** 4456 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4457 * 4458 * <p> 4459 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4460 * </p> 4461 * 4462 * @param groupId the group ID 4463 * @param nodeId the node ID 4464 * @param title the title 4465 * @param head the head 4466 * @param start the lower bound of the range of wiki pages 4467 * @param end the upper bound of the range of wiki pages (not inclusive) 4468 * @return the range of matching wiki pages 4469 */ 4470 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 4471 long groupId, long nodeId, java.lang.String title, boolean head, 4472 int start, int end) { 4473 return getPersistence() 4474 .findByG_N_T_H(groupId, nodeId, title, head, start, end); 4475 } 4476 4477 /** 4478 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4479 * 4480 * <p> 4481 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4482 * </p> 4483 * 4484 * @param groupId the group ID 4485 * @param nodeId the node ID 4486 * @param title the title 4487 * @param head the head 4488 * @param start the lower bound of the range of wiki pages 4489 * @param end the upper bound of the range of wiki pages (not inclusive) 4490 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4491 * @return the ordered range of matching wiki pages 4492 */ 4493 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_T_H( 4494 long groupId, long nodeId, java.lang.String title, boolean head, 4495 int start, int end, 4496 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4497 return getPersistence() 4498 .findByG_N_T_H(groupId, nodeId, title, head, start, end, 4499 orderByComparator); 4500 } 4501 4502 /** 4503 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4504 * 4505 * @param groupId the group ID 4506 * @param nodeId the node ID 4507 * @param title the title 4508 * @param head the head 4509 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4510 * @return the first matching wiki page 4511 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4512 */ 4513 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_First( 4514 long groupId, long nodeId, java.lang.String title, boolean head, 4515 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4516 throws com.liferay.portlet.wiki.NoSuchPageException { 4517 return getPersistence() 4518 .findByG_N_T_H_First(groupId, nodeId, title, head, 4519 orderByComparator); 4520 } 4521 4522 /** 4523 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4524 * 4525 * @param groupId the group ID 4526 * @param nodeId the node ID 4527 * @param title the title 4528 * @param head the head 4529 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4530 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4531 */ 4532 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_First( 4533 long groupId, long nodeId, java.lang.String title, boolean head, 4534 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4535 return getPersistence() 4536 .fetchByG_N_T_H_First(groupId, nodeId, title, head, 4537 orderByComparator); 4538 } 4539 4540 /** 4541 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4542 * 4543 * @param groupId the group ID 4544 * @param nodeId the node ID 4545 * @param title the title 4546 * @param head the head 4547 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4548 * @return the last matching wiki page 4549 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4550 */ 4551 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_T_H_Last( 4552 long groupId, long nodeId, java.lang.String title, boolean head, 4553 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4554 throws com.liferay.portlet.wiki.NoSuchPageException { 4555 return getPersistence() 4556 .findByG_N_T_H_Last(groupId, nodeId, title, head, 4557 orderByComparator); 4558 } 4559 4560 /** 4561 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4562 * 4563 * @param groupId the group ID 4564 * @param nodeId the node ID 4565 * @param title the title 4566 * @param head the head 4567 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4568 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4569 */ 4570 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_T_H_Last( 4571 long groupId, long nodeId, java.lang.String title, boolean head, 4572 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4573 return getPersistence() 4574 .fetchByG_N_T_H_Last(groupId, nodeId, title, head, 4575 orderByComparator); 4576 } 4577 4578 /** 4579 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and title = ? and head = ?. 4580 * 4581 * @param pageId the primary key of the current wiki page 4582 * @param groupId the group ID 4583 * @param nodeId the node ID 4584 * @param title the title 4585 * @param head the head 4586 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4587 * @return the previous, current, and next wiki page 4588 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4589 */ 4590 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_T_H_PrevAndNext( 4591 long pageId, long groupId, long nodeId, java.lang.String title, 4592 boolean head, 4593 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4594 throws com.liferay.portlet.wiki.NoSuchPageException { 4595 return getPersistence() 4596 .findByG_N_T_H_PrevAndNext(pageId, groupId, nodeId, title, 4597 head, orderByComparator); 4598 } 4599 4600 /** 4601 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4602 * 4603 * @param groupId the group ID 4604 * @param nodeId the node ID 4605 * @param title the title 4606 * @param head the head 4607 * @return the matching wiki pages that the user has permission to view 4608 */ 4609 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 4610 long groupId, long nodeId, java.lang.String title, boolean head) { 4611 return getPersistence().filterFindByG_N_T_H(groupId, nodeId, title, head); 4612 } 4613 4614 /** 4615 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4616 * 4617 * <p> 4618 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4619 * </p> 4620 * 4621 * @param groupId the group ID 4622 * @param nodeId the node ID 4623 * @param title the title 4624 * @param head the head 4625 * @param start the lower bound of the range of wiki pages 4626 * @param end the upper bound of the range of wiki pages (not inclusive) 4627 * @return the range of matching wiki pages that the user has permission to view 4628 */ 4629 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 4630 long groupId, long nodeId, java.lang.String title, boolean head, 4631 int start, int end) { 4632 return getPersistence() 4633 .filterFindByG_N_T_H(groupId, nodeId, title, head, start, end); 4634 } 4635 4636 /** 4637 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4638 * 4639 * <p> 4640 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4641 * </p> 4642 * 4643 * @param groupId the group ID 4644 * @param nodeId the node ID 4645 * @param title the title 4646 * @param head the head 4647 * @param start the lower bound of the range of wiki pages 4648 * @param end the upper bound of the range of wiki pages (not inclusive) 4649 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4650 * @return the ordered range of matching wiki pages that the user has permission to view 4651 */ 4652 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_T_H( 4653 long groupId, long nodeId, java.lang.String title, boolean head, 4654 int start, int end, 4655 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4656 return getPersistence() 4657 .filterFindByG_N_T_H(groupId, nodeId, title, head, start, 4658 end, orderByComparator); 4659 } 4660 4661 /** 4662 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4663 * 4664 * @param pageId the primary key of the current wiki page 4665 * @param groupId the group ID 4666 * @param nodeId the node ID 4667 * @param title the title 4668 * @param head the head 4669 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4670 * @return the previous, current, and next wiki page 4671 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4672 */ 4673 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_T_H_PrevAndNext( 4674 long pageId, long groupId, long nodeId, java.lang.String title, 4675 boolean head, 4676 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4677 throws com.liferay.portlet.wiki.NoSuchPageException { 4678 return getPersistence() 4679 .filterFindByG_N_T_H_PrevAndNext(pageId, groupId, nodeId, 4680 title, head, orderByComparator); 4681 } 4682 4683 /** 4684 * Removes all the wiki pages where groupId = ? and nodeId = ? and title = ? and head = ? from the database. 4685 * 4686 * @param groupId the group ID 4687 * @param nodeId the node ID 4688 * @param title the title 4689 * @param head the head 4690 */ 4691 public static void removeByG_N_T_H(long groupId, long nodeId, 4692 java.lang.String title, boolean head) { 4693 getPersistence().removeByG_N_T_H(groupId, nodeId, title, head); 4694 } 4695 4696 /** 4697 * Returns the number of wiki pages where groupId = ? and nodeId = ? and title = ? and head = ?. 4698 * 4699 * @param groupId the group ID 4700 * @param nodeId the node ID 4701 * @param title the title 4702 * @param head the head 4703 * @return the number of matching wiki pages 4704 */ 4705 public static int countByG_N_T_H(long groupId, long nodeId, 4706 java.lang.String title, boolean head) { 4707 return getPersistence().countByG_N_T_H(groupId, nodeId, title, head); 4708 } 4709 4710 /** 4711 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and title = ? and head = ?. 4712 * 4713 * @param groupId the group ID 4714 * @param nodeId the node ID 4715 * @param title the title 4716 * @param head the head 4717 * @return the number of matching wiki pages that the user has permission to view 4718 */ 4719 public static int filterCountByG_N_T_H(long groupId, long nodeId, 4720 java.lang.String title, boolean head) { 4721 return getPersistence() 4722 .filterCountByG_N_T_H(groupId, nodeId, title, head); 4723 } 4724 4725 /** 4726 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 4727 * 4728 * @param groupId the group ID 4729 * @param nodeId the node ID 4730 * @param head the head 4731 * @param status the status 4732 * @return the matching wiki pages 4733 */ 4734 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 4735 long groupId, long nodeId, boolean head, int status) { 4736 return getPersistence().findByG_N_H_S(groupId, nodeId, head, status); 4737 } 4738 4739 /** 4740 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 4741 * 4742 * <p> 4743 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4744 * </p> 4745 * 4746 * @param groupId the group ID 4747 * @param nodeId the node ID 4748 * @param head the head 4749 * @param status the status 4750 * @param start the lower bound of the range of wiki pages 4751 * @param end the upper bound of the range of wiki pages (not inclusive) 4752 * @return the range of matching wiki pages 4753 */ 4754 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 4755 long groupId, long nodeId, boolean head, int status, int start, int end) { 4756 return getPersistence() 4757 .findByG_N_H_S(groupId, nodeId, head, status, start, end); 4758 } 4759 4760 /** 4761 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 4762 * 4763 * <p> 4764 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4765 * </p> 4766 * 4767 * @param groupId the group ID 4768 * @param nodeId the node ID 4769 * @param head the head 4770 * @param status the status 4771 * @param start the lower bound of the range of wiki pages 4772 * @param end the upper bound of the range of wiki pages (not inclusive) 4773 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4774 * @return the ordered range of matching wiki pages 4775 */ 4776 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_S( 4777 long groupId, long nodeId, boolean head, int status, int start, 4778 int end, 4779 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4780 return getPersistence() 4781 .findByG_N_H_S(groupId, nodeId, head, status, start, end, 4782 orderByComparator); 4783 } 4784 4785 /** 4786 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 4787 * 4788 * @param groupId the group ID 4789 * @param nodeId the node ID 4790 * @param head the head 4791 * @param status the status 4792 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4793 * @return the first matching wiki page 4794 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4795 */ 4796 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_First( 4797 long groupId, long nodeId, boolean head, int status, 4798 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4799 throws com.liferay.portlet.wiki.NoSuchPageException { 4800 return getPersistence() 4801 .findByG_N_H_S_First(groupId, nodeId, head, status, 4802 orderByComparator); 4803 } 4804 4805 /** 4806 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 4807 * 4808 * @param groupId the group ID 4809 * @param nodeId the node ID 4810 * @param head the head 4811 * @param status the status 4812 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4813 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 4814 */ 4815 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_First( 4816 long groupId, long nodeId, boolean head, int status, 4817 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4818 return getPersistence() 4819 .fetchByG_N_H_S_First(groupId, nodeId, head, status, 4820 orderByComparator); 4821 } 4822 4823 /** 4824 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 4825 * 4826 * @param groupId the group ID 4827 * @param nodeId the node ID 4828 * @param head the head 4829 * @param status the status 4830 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4831 * @return the last matching wiki page 4832 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 4833 */ 4834 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_S_Last( 4835 long groupId, long nodeId, boolean head, int status, 4836 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4837 throws com.liferay.portlet.wiki.NoSuchPageException { 4838 return getPersistence() 4839 .findByG_N_H_S_Last(groupId, nodeId, head, status, 4840 orderByComparator); 4841 } 4842 4843 /** 4844 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 4845 * 4846 * @param groupId the group ID 4847 * @param nodeId the node ID 4848 * @param head the head 4849 * @param status the status 4850 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4851 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 4852 */ 4853 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_S_Last( 4854 long groupId, long nodeId, boolean head, int status, 4855 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4856 return getPersistence() 4857 .fetchByG_N_H_S_Last(groupId, nodeId, head, status, 4858 orderByComparator); 4859 } 4860 4861 /** 4862 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and status = ?. 4863 * 4864 * @param pageId the primary key of the current wiki page 4865 * @param groupId the group ID 4866 * @param nodeId the node ID 4867 * @param head the head 4868 * @param status the status 4869 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4870 * @return the previous, current, and next wiki page 4871 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4872 */ 4873 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_S_PrevAndNext( 4874 long pageId, long groupId, long nodeId, boolean head, int status, 4875 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4876 throws com.liferay.portlet.wiki.NoSuchPageException { 4877 return getPersistence() 4878 .findByG_N_H_S_PrevAndNext(pageId, groupId, nodeId, head, 4879 status, orderByComparator); 4880 } 4881 4882 /** 4883 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 4884 * 4885 * @param groupId the group ID 4886 * @param nodeId the node ID 4887 * @param head the head 4888 * @param status the status 4889 * @return the matching wiki pages that the user has permission to view 4890 */ 4891 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 4892 long groupId, long nodeId, boolean head, int status) { 4893 return getPersistence() 4894 .filterFindByG_N_H_S(groupId, nodeId, head, status); 4895 } 4896 4897 /** 4898 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 4899 * 4900 * <p> 4901 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4902 * </p> 4903 * 4904 * @param groupId the group ID 4905 * @param nodeId the node ID 4906 * @param head the head 4907 * @param status the status 4908 * @param start the lower bound of the range of wiki pages 4909 * @param end the upper bound of the range of wiki pages (not inclusive) 4910 * @return the range of matching wiki pages that the user has permission to view 4911 */ 4912 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 4913 long groupId, long nodeId, boolean head, int status, int start, int end) { 4914 return getPersistence() 4915 .filterFindByG_N_H_S(groupId, nodeId, head, status, start, 4916 end); 4917 } 4918 4919 /** 4920 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and status = ?. 4921 * 4922 * <p> 4923 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 4924 * </p> 4925 * 4926 * @param groupId the group ID 4927 * @param nodeId the node ID 4928 * @param head the head 4929 * @param status the status 4930 * @param start the lower bound of the range of wiki pages 4931 * @param end the upper bound of the range of wiki pages (not inclusive) 4932 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 4933 * @return the ordered range of matching wiki pages that the user has permission to view 4934 */ 4935 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_S( 4936 long groupId, long nodeId, boolean head, int status, int start, 4937 int end, 4938 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 4939 return getPersistence() 4940 .filterFindByG_N_H_S(groupId, nodeId, head, status, start, 4941 end, orderByComparator); 4942 } 4943 4944 /** 4945 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 4946 * 4947 * @param pageId the primary key of the current wiki page 4948 * @param groupId the group ID 4949 * @param nodeId the node ID 4950 * @param head the head 4951 * @param status the status 4952 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 4953 * @return the previous, current, and next wiki page 4954 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 4955 */ 4956 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_S_PrevAndNext( 4957 long pageId, long groupId, long nodeId, boolean head, int status, 4958 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 4959 throws com.liferay.portlet.wiki.NoSuchPageException { 4960 return getPersistence() 4961 .filterFindByG_N_H_S_PrevAndNext(pageId, groupId, nodeId, 4962 head, status, orderByComparator); 4963 } 4964 4965 /** 4966 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and status = ? from the database. 4967 * 4968 * @param groupId the group ID 4969 * @param nodeId the node ID 4970 * @param head the head 4971 * @param status the status 4972 */ 4973 public static void removeByG_N_H_S(long groupId, long nodeId, boolean head, 4974 int status) { 4975 getPersistence().removeByG_N_H_S(groupId, nodeId, head, status); 4976 } 4977 4978 /** 4979 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and status = ?. 4980 * 4981 * @param groupId the group ID 4982 * @param nodeId the node ID 4983 * @param head the head 4984 * @param status the status 4985 * @return the number of matching wiki pages 4986 */ 4987 public static int countByG_N_H_S(long groupId, long nodeId, boolean head, 4988 int status) { 4989 return getPersistence().countByG_N_H_S(groupId, nodeId, head, status); 4990 } 4991 4992 /** 4993 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and status = ?. 4994 * 4995 * @param groupId the group ID 4996 * @param nodeId the node ID 4997 * @param head the head 4998 * @param status the status 4999 * @return the number of matching wiki pages that the user has permission to view 5000 */ 5001 public static int filterCountByG_N_H_S(long groupId, long nodeId, 5002 boolean head, int status) { 5003 return getPersistence() 5004 .filterCountByG_N_H_S(groupId, nodeId, head, status); 5005 } 5006 5007 /** 5008 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5009 * 5010 * @param nodeId the node ID 5011 * @param head the head 5012 * @param parentTitle the parent title 5013 * @param status the status 5014 * @return the matching wiki pages 5015 */ 5016 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 5017 long nodeId, boolean head, java.lang.String parentTitle, int status) { 5018 return getPersistence().findByN_H_P_S(nodeId, head, parentTitle, status); 5019 } 5020 5021 /** 5022 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5023 * 5024 * <p> 5025 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5026 * </p> 5027 * 5028 * @param nodeId the node ID 5029 * @param head the head 5030 * @param parentTitle the parent title 5031 * @param status the status 5032 * @param start the lower bound of the range of wiki pages 5033 * @param end the upper bound of the range of wiki pages (not inclusive) 5034 * @return the range of matching wiki pages 5035 */ 5036 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 5037 long nodeId, boolean head, java.lang.String parentTitle, int status, 5038 int start, int end) { 5039 return getPersistence() 5040 .findByN_H_P_S(nodeId, head, parentTitle, status, start, end); 5041 } 5042 5043 /** 5044 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5045 * 5046 * <p> 5047 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5048 * </p> 5049 * 5050 * @param nodeId the node ID 5051 * @param head the head 5052 * @param parentTitle the parent title 5053 * @param status the status 5054 * @param start the lower bound of the range of wiki pages 5055 * @param end the upper bound of the range of wiki pages (not inclusive) 5056 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5057 * @return the ordered range of matching wiki pages 5058 */ 5059 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_S( 5060 long nodeId, boolean head, java.lang.String parentTitle, int status, 5061 int start, int end, 5062 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5063 return getPersistence() 5064 .findByN_H_P_S(nodeId, head, parentTitle, status, start, 5065 end, orderByComparator); 5066 } 5067 5068 /** 5069 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5070 * 5071 * @param nodeId the node ID 5072 * @param head the head 5073 * @param parentTitle the parent title 5074 * @param status the status 5075 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5076 * @return the first matching wiki page 5077 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5078 */ 5079 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_First( 5080 long nodeId, boolean head, java.lang.String parentTitle, int status, 5081 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5082 throws com.liferay.portlet.wiki.NoSuchPageException { 5083 return getPersistence() 5084 .findByN_H_P_S_First(nodeId, head, parentTitle, status, 5085 orderByComparator); 5086 } 5087 5088 /** 5089 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5090 * 5091 * @param nodeId the node ID 5092 * @param head the head 5093 * @param parentTitle the parent title 5094 * @param status the status 5095 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5096 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5097 */ 5098 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_First( 5099 long nodeId, boolean head, java.lang.String parentTitle, int status, 5100 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5101 return getPersistence() 5102 .fetchByN_H_P_S_First(nodeId, head, parentTitle, status, 5103 orderByComparator); 5104 } 5105 5106 /** 5107 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5108 * 5109 * @param nodeId the node ID 5110 * @param head the head 5111 * @param parentTitle the parent title 5112 * @param status the status 5113 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5114 * @return the last matching wiki page 5115 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5116 */ 5117 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_S_Last( 5118 long nodeId, boolean head, java.lang.String parentTitle, int status, 5119 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5120 throws com.liferay.portlet.wiki.NoSuchPageException { 5121 return getPersistence() 5122 .findByN_H_P_S_Last(nodeId, head, parentTitle, status, 5123 orderByComparator); 5124 } 5125 5126 /** 5127 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5128 * 5129 * @param nodeId the node ID 5130 * @param head the head 5131 * @param parentTitle the parent title 5132 * @param status the status 5133 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5134 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5135 */ 5136 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_S_Last( 5137 long nodeId, boolean head, java.lang.String parentTitle, int status, 5138 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5139 return getPersistence() 5140 .fetchByN_H_P_S_Last(nodeId, head, parentTitle, status, 5141 orderByComparator); 5142 } 5143 5144 /** 5145 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5146 * 5147 * @param pageId the primary key of the current wiki page 5148 * @param nodeId the node ID 5149 * @param head the head 5150 * @param parentTitle the parent title 5151 * @param status the status 5152 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5153 * @return the previous, current, and next wiki page 5154 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5155 */ 5156 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_S_PrevAndNext( 5157 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 5158 int status, 5159 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5160 throws com.liferay.portlet.wiki.NoSuchPageException { 5161 return getPersistence() 5162 .findByN_H_P_S_PrevAndNext(pageId, nodeId, head, 5163 parentTitle, status, orderByComparator); 5164 } 5165 5166 /** 5167 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 5168 * 5169 * @param nodeId the node ID 5170 * @param head the head 5171 * @param parentTitle the parent title 5172 * @param status the status 5173 */ 5174 public static void removeByN_H_P_S(long nodeId, boolean head, 5175 java.lang.String parentTitle, int status) { 5176 getPersistence().removeByN_H_P_S(nodeId, head, parentTitle, status); 5177 } 5178 5179 /** 5180 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status = ?. 5181 * 5182 * @param nodeId the node ID 5183 * @param head the head 5184 * @param parentTitle the parent title 5185 * @param status the status 5186 * @return the number of matching wiki pages 5187 */ 5188 public static int countByN_H_P_S(long nodeId, boolean head, 5189 java.lang.String parentTitle, int status) { 5190 return getPersistence().countByN_H_P_S(nodeId, head, parentTitle, status); 5191 } 5192 5193 /** 5194 * Returns all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5195 * 5196 * @param nodeId the node ID 5197 * @param head the head 5198 * @param parentTitle the parent title 5199 * @param status the status 5200 * @return the matching wiki pages 5201 */ 5202 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS( 5203 long nodeId, boolean head, java.lang.String parentTitle, int status) { 5204 return getPersistence() 5205 .findByN_H_P_NotS(nodeId, head, parentTitle, status); 5206 } 5207 5208 /** 5209 * Returns a range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5210 * 5211 * <p> 5212 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5213 * </p> 5214 * 5215 * @param nodeId the node ID 5216 * @param head the head 5217 * @param parentTitle the parent title 5218 * @param status the status 5219 * @param start the lower bound of the range of wiki pages 5220 * @param end the upper bound of the range of wiki pages (not inclusive) 5221 * @return the range of matching wiki pages 5222 */ 5223 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS( 5224 long nodeId, boolean head, java.lang.String parentTitle, int status, 5225 int start, int end) { 5226 return getPersistence() 5227 .findByN_H_P_NotS(nodeId, head, parentTitle, status, start, 5228 end); 5229 } 5230 5231 /** 5232 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5233 * 5234 * <p> 5235 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5236 * </p> 5237 * 5238 * @param nodeId the node ID 5239 * @param head the head 5240 * @param parentTitle the parent title 5241 * @param status the status 5242 * @param start the lower bound of the range of wiki pages 5243 * @param end the upper bound of the range of wiki pages (not inclusive) 5244 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5245 * @return the ordered range of matching wiki pages 5246 */ 5247 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_P_NotS( 5248 long nodeId, boolean head, java.lang.String parentTitle, int status, 5249 int start, int end, 5250 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5251 return getPersistence() 5252 .findByN_H_P_NotS(nodeId, head, parentTitle, status, start, 5253 end, orderByComparator); 5254 } 5255 5256 /** 5257 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5258 * 5259 * @param nodeId the node ID 5260 * @param head the head 5261 * @param parentTitle the parent title 5262 * @param status the status 5263 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5264 * @return the first matching wiki page 5265 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5266 */ 5267 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_First( 5268 long nodeId, boolean head, java.lang.String parentTitle, int status, 5269 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5270 throws com.liferay.portlet.wiki.NoSuchPageException { 5271 return getPersistence() 5272 .findByN_H_P_NotS_First(nodeId, head, parentTitle, status, 5273 orderByComparator); 5274 } 5275 5276 /** 5277 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5278 * 5279 * @param nodeId the node ID 5280 * @param head the head 5281 * @param parentTitle the parent title 5282 * @param status the status 5283 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5284 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5285 */ 5286 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_First( 5287 long nodeId, boolean head, java.lang.String parentTitle, int status, 5288 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5289 return getPersistence() 5290 .fetchByN_H_P_NotS_First(nodeId, head, parentTitle, status, 5291 orderByComparator); 5292 } 5293 5294 /** 5295 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5296 * 5297 * @param nodeId the node ID 5298 * @param head the head 5299 * @param parentTitle the parent title 5300 * @param status the status 5301 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5302 * @return the last matching wiki page 5303 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5304 */ 5305 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_P_NotS_Last( 5306 long nodeId, boolean head, java.lang.String parentTitle, int status, 5307 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5308 throws com.liferay.portlet.wiki.NoSuchPageException { 5309 return getPersistence() 5310 .findByN_H_P_NotS_Last(nodeId, head, parentTitle, status, 5311 orderByComparator); 5312 } 5313 5314 /** 5315 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5316 * 5317 * @param nodeId the node ID 5318 * @param head the head 5319 * @param parentTitle the parent title 5320 * @param status the status 5321 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5322 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5323 */ 5324 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_P_NotS_Last( 5325 long nodeId, boolean head, java.lang.String parentTitle, int status, 5326 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5327 return getPersistence() 5328 .fetchByN_H_P_NotS_Last(nodeId, head, parentTitle, status, 5329 orderByComparator); 5330 } 5331 5332 /** 5333 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5334 * 5335 * @param pageId the primary key of the current wiki page 5336 * @param nodeId the node ID 5337 * @param head the head 5338 * @param parentTitle the parent title 5339 * @param status the status 5340 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5341 * @return the previous, current, and next wiki page 5342 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5343 */ 5344 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_P_NotS_PrevAndNext( 5345 long pageId, long nodeId, boolean head, java.lang.String parentTitle, 5346 int status, 5347 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5348 throws com.liferay.portlet.wiki.NoSuchPageException { 5349 return getPersistence() 5350 .findByN_H_P_NotS_PrevAndNext(pageId, nodeId, head, 5351 parentTitle, status, orderByComparator); 5352 } 5353 5354 /** 5355 * Removes all the wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ? from the database. 5356 * 5357 * @param nodeId the node ID 5358 * @param head the head 5359 * @param parentTitle the parent title 5360 * @param status the status 5361 */ 5362 public static void removeByN_H_P_NotS(long nodeId, boolean head, 5363 java.lang.String parentTitle, int status) { 5364 getPersistence().removeByN_H_P_NotS(nodeId, head, parentTitle, status); 5365 } 5366 5367 /** 5368 * Returns the number of wiki pages where nodeId = ? and head = ? and parentTitle = ? and status ≠ ?. 5369 * 5370 * @param nodeId the node ID 5371 * @param head the head 5372 * @param parentTitle the parent title 5373 * @param status the status 5374 * @return the number of matching wiki pages 5375 */ 5376 public static int countByN_H_P_NotS(long nodeId, boolean head, 5377 java.lang.String parentTitle, int status) { 5378 return getPersistence() 5379 .countByN_H_P_NotS(nodeId, head, parentTitle, status); 5380 } 5381 5382 /** 5383 * Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5384 * 5385 * @param nodeId the node ID 5386 * @param head the head 5387 * @param redirectTitle the redirect title 5388 * @param status the status 5389 * @return the matching wiki pages 5390 */ 5391 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S( 5392 long nodeId, boolean head, java.lang.String redirectTitle, int status) { 5393 return getPersistence() 5394 .findByN_H_R_S(nodeId, head, redirectTitle, status); 5395 } 5396 5397 /** 5398 * Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5399 * 5400 * <p> 5401 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5402 * </p> 5403 * 5404 * @param nodeId the node ID 5405 * @param head the head 5406 * @param redirectTitle the redirect title 5407 * @param status the status 5408 * @param start the lower bound of the range of wiki pages 5409 * @param end the upper bound of the range of wiki pages (not inclusive) 5410 * @return the range of matching wiki pages 5411 */ 5412 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S( 5413 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5414 int start, int end) { 5415 return getPersistence() 5416 .findByN_H_R_S(nodeId, head, redirectTitle, status, start, 5417 end); 5418 } 5419 5420 /** 5421 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5422 * 5423 * <p> 5424 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5425 * </p> 5426 * 5427 * @param nodeId the node ID 5428 * @param head the head 5429 * @param redirectTitle the redirect title 5430 * @param status the status 5431 * @param start the lower bound of the range of wiki pages 5432 * @param end the upper bound of the range of wiki pages (not inclusive) 5433 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5434 * @return the ordered range of matching wiki pages 5435 */ 5436 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_S( 5437 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5438 int start, int end, 5439 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5440 return getPersistence() 5441 .findByN_H_R_S(nodeId, head, redirectTitle, status, start, 5442 end, orderByComparator); 5443 } 5444 5445 /** 5446 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5447 * 5448 * @param nodeId the node ID 5449 * @param head the head 5450 * @param redirectTitle the redirect title 5451 * @param status the status 5452 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5453 * @return the first matching wiki page 5454 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5455 */ 5456 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_First( 5457 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5458 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5459 throws com.liferay.portlet.wiki.NoSuchPageException { 5460 return getPersistence() 5461 .findByN_H_R_S_First(nodeId, head, redirectTitle, status, 5462 orderByComparator); 5463 } 5464 5465 /** 5466 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5467 * 5468 * @param nodeId the node ID 5469 * @param head the head 5470 * @param redirectTitle the redirect title 5471 * @param status the status 5472 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5473 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5474 */ 5475 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_First( 5476 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5477 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5478 return getPersistence() 5479 .fetchByN_H_R_S_First(nodeId, head, redirectTitle, status, 5480 orderByComparator); 5481 } 5482 5483 /** 5484 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5485 * 5486 * @param nodeId the node ID 5487 * @param head the head 5488 * @param redirectTitle the redirect title 5489 * @param status the status 5490 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5491 * @return the last matching wiki page 5492 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5493 */ 5494 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_S_Last( 5495 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5496 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5497 throws com.liferay.portlet.wiki.NoSuchPageException { 5498 return getPersistence() 5499 .findByN_H_R_S_Last(nodeId, head, redirectTitle, status, 5500 orderByComparator); 5501 } 5502 5503 /** 5504 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5505 * 5506 * @param nodeId the node ID 5507 * @param head the head 5508 * @param redirectTitle the redirect title 5509 * @param status the status 5510 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5511 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5512 */ 5513 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_S_Last( 5514 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5515 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5516 return getPersistence() 5517 .fetchByN_H_R_S_Last(nodeId, head, redirectTitle, status, 5518 orderByComparator); 5519 } 5520 5521 /** 5522 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5523 * 5524 * @param pageId the primary key of the current wiki page 5525 * @param nodeId the node ID 5526 * @param head the head 5527 * @param redirectTitle the redirect title 5528 * @param status the status 5529 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5530 * @return the previous, current, and next wiki page 5531 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5532 */ 5533 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_S_PrevAndNext( 5534 long pageId, long nodeId, boolean head, java.lang.String redirectTitle, 5535 int status, 5536 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5537 throws com.liferay.portlet.wiki.NoSuchPageException { 5538 return getPersistence() 5539 .findByN_H_R_S_PrevAndNext(pageId, nodeId, head, 5540 redirectTitle, status, orderByComparator); 5541 } 5542 5543 /** 5544 * Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ? from the database. 5545 * 5546 * @param nodeId the node ID 5547 * @param head the head 5548 * @param redirectTitle the redirect title 5549 * @param status the status 5550 */ 5551 public static void removeByN_H_R_S(long nodeId, boolean head, 5552 java.lang.String redirectTitle, int status) { 5553 getPersistence().removeByN_H_R_S(nodeId, head, redirectTitle, status); 5554 } 5555 5556 /** 5557 * Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status = ?. 5558 * 5559 * @param nodeId the node ID 5560 * @param head the head 5561 * @param redirectTitle the redirect title 5562 * @param status the status 5563 * @return the number of matching wiki pages 5564 */ 5565 public static int countByN_H_R_S(long nodeId, boolean head, 5566 java.lang.String redirectTitle, int status) { 5567 return getPersistence() 5568 .countByN_H_R_S(nodeId, head, redirectTitle, status); 5569 } 5570 5571 /** 5572 * Returns all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5573 * 5574 * @param nodeId the node ID 5575 * @param head the head 5576 * @param redirectTitle the redirect title 5577 * @param status the status 5578 * @return the matching wiki pages 5579 */ 5580 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS( 5581 long nodeId, boolean head, java.lang.String redirectTitle, int status) { 5582 return getPersistence() 5583 .findByN_H_R_NotS(nodeId, head, redirectTitle, status); 5584 } 5585 5586 /** 5587 * Returns a range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5588 * 5589 * <p> 5590 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5591 * </p> 5592 * 5593 * @param nodeId the node ID 5594 * @param head the head 5595 * @param redirectTitle the redirect title 5596 * @param status the status 5597 * @param start the lower bound of the range of wiki pages 5598 * @param end the upper bound of the range of wiki pages (not inclusive) 5599 * @return the range of matching wiki pages 5600 */ 5601 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS( 5602 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5603 int start, int end) { 5604 return getPersistence() 5605 .findByN_H_R_NotS(nodeId, head, redirectTitle, status, 5606 start, end); 5607 } 5608 5609 /** 5610 * Returns an ordered range of all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5611 * 5612 * <p> 5613 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5614 * </p> 5615 * 5616 * @param nodeId the node ID 5617 * @param head the head 5618 * @param redirectTitle the redirect title 5619 * @param status the status 5620 * @param start the lower bound of the range of wiki pages 5621 * @param end the upper bound of the range of wiki pages (not inclusive) 5622 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5623 * @return the ordered range of matching wiki pages 5624 */ 5625 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByN_H_R_NotS( 5626 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5627 int start, int end, 5628 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5629 return getPersistence() 5630 .findByN_H_R_NotS(nodeId, head, redirectTitle, status, 5631 start, end, orderByComparator); 5632 } 5633 5634 /** 5635 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5636 * 5637 * @param nodeId the node ID 5638 * @param head the head 5639 * @param redirectTitle the redirect title 5640 * @param status the status 5641 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5642 * @return the first matching wiki page 5643 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5644 */ 5645 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_First( 5646 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5647 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5648 throws com.liferay.portlet.wiki.NoSuchPageException { 5649 return getPersistence() 5650 .findByN_H_R_NotS_First(nodeId, head, redirectTitle, status, 5651 orderByComparator); 5652 } 5653 5654 /** 5655 * Returns the first wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5656 * 5657 * @param nodeId the node ID 5658 * @param head the head 5659 * @param redirectTitle the redirect title 5660 * @param status the status 5661 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5662 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5663 */ 5664 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_First( 5665 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5666 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5667 return getPersistence() 5668 .fetchByN_H_R_NotS_First(nodeId, head, redirectTitle, 5669 status, orderByComparator); 5670 } 5671 5672 /** 5673 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5674 * 5675 * @param nodeId the node ID 5676 * @param head the head 5677 * @param redirectTitle the redirect title 5678 * @param status the status 5679 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5680 * @return the last matching wiki page 5681 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5682 */ 5683 public static com.liferay.portlet.wiki.model.WikiPage findByN_H_R_NotS_Last( 5684 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5685 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5686 throws com.liferay.portlet.wiki.NoSuchPageException { 5687 return getPersistence() 5688 .findByN_H_R_NotS_Last(nodeId, head, redirectTitle, status, 5689 orderByComparator); 5690 } 5691 5692 /** 5693 * Returns the last wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5694 * 5695 * @param nodeId the node ID 5696 * @param head the head 5697 * @param redirectTitle the redirect title 5698 * @param status the status 5699 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5700 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5701 */ 5702 public static com.liferay.portlet.wiki.model.WikiPage fetchByN_H_R_NotS_Last( 5703 long nodeId, boolean head, java.lang.String redirectTitle, int status, 5704 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5705 return getPersistence() 5706 .fetchByN_H_R_NotS_Last(nodeId, head, redirectTitle, status, 5707 orderByComparator); 5708 } 5709 5710 /** 5711 * Returns the wiki pages before and after the current wiki page in the ordered set where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5712 * 5713 * @param pageId the primary key of the current wiki page 5714 * @param nodeId the node ID 5715 * @param head the head 5716 * @param redirectTitle the redirect title 5717 * @param status the status 5718 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5719 * @return the previous, current, and next wiki page 5720 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5721 */ 5722 public static com.liferay.portlet.wiki.model.WikiPage[] findByN_H_R_NotS_PrevAndNext( 5723 long pageId, long nodeId, boolean head, java.lang.String redirectTitle, 5724 int status, 5725 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5726 throws com.liferay.portlet.wiki.NoSuchPageException { 5727 return getPersistence() 5728 .findByN_H_R_NotS_PrevAndNext(pageId, nodeId, head, 5729 redirectTitle, status, orderByComparator); 5730 } 5731 5732 /** 5733 * Removes all the wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ? from the database. 5734 * 5735 * @param nodeId the node ID 5736 * @param head the head 5737 * @param redirectTitle the redirect title 5738 * @param status the status 5739 */ 5740 public static void removeByN_H_R_NotS(long nodeId, boolean head, 5741 java.lang.String redirectTitle, int status) { 5742 getPersistence().removeByN_H_R_NotS(nodeId, head, redirectTitle, status); 5743 } 5744 5745 /** 5746 * Returns the number of wiki pages where nodeId = ? and head = ? and redirectTitle = ? and status ≠ ?. 5747 * 5748 * @param nodeId the node ID 5749 * @param head the head 5750 * @param redirectTitle the redirect title 5751 * @param status the status 5752 * @return the number of matching wiki pages 5753 */ 5754 public static int countByN_H_R_NotS(long nodeId, boolean head, 5755 java.lang.String redirectTitle, int status) { 5756 return getPersistence() 5757 .countByN_H_R_NotS(nodeId, head, redirectTitle, status); 5758 } 5759 5760 /** 5761 * Returns all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5762 * 5763 * @param groupId the group ID 5764 * @param nodeId the node ID 5765 * @param head the head 5766 * @param parentTitle the parent title 5767 * @param status the status 5768 * @return the matching wiki pages 5769 */ 5770 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 5771 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5772 int status) { 5773 return getPersistence() 5774 .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status); 5775 } 5776 5777 /** 5778 * Returns a range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5779 * 5780 * <p> 5781 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5782 * </p> 5783 * 5784 * @param groupId the group ID 5785 * @param nodeId the node ID 5786 * @param head the head 5787 * @param parentTitle the parent title 5788 * @param status the status 5789 * @param start the lower bound of the range of wiki pages 5790 * @param end the upper bound of the range of wiki pages (not inclusive) 5791 * @return the range of matching wiki pages 5792 */ 5793 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 5794 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5795 int status, int start, int end) { 5796 return getPersistence() 5797 .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status, 5798 start, end); 5799 } 5800 5801 /** 5802 * Returns an ordered range of all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5803 * 5804 * <p> 5805 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5806 * </p> 5807 * 5808 * @param groupId the group ID 5809 * @param nodeId the node ID 5810 * @param head the head 5811 * @param parentTitle the parent title 5812 * @param status the status 5813 * @param start the lower bound of the range of wiki pages 5814 * @param end the upper bound of the range of wiki pages (not inclusive) 5815 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5816 * @return the ordered range of matching wiki pages 5817 */ 5818 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByG_N_H_P_S( 5819 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5820 int status, int start, int end, 5821 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5822 return getPersistence() 5823 .findByG_N_H_P_S(groupId, nodeId, head, parentTitle, status, 5824 start, end, orderByComparator); 5825 } 5826 5827 /** 5828 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5829 * 5830 * @param groupId the group ID 5831 * @param nodeId the node ID 5832 * @param head the head 5833 * @param parentTitle the parent title 5834 * @param status the status 5835 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5836 * @return the first matching wiki page 5837 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5838 */ 5839 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_First( 5840 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5841 int status, 5842 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5843 throws com.liferay.portlet.wiki.NoSuchPageException { 5844 return getPersistence() 5845 .findByG_N_H_P_S_First(groupId, nodeId, head, parentTitle, 5846 status, orderByComparator); 5847 } 5848 5849 /** 5850 * Returns the first wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5851 * 5852 * @param groupId the group ID 5853 * @param nodeId the node ID 5854 * @param head the head 5855 * @param parentTitle the parent title 5856 * @param status the status 5857 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5858 * @return the first matching wiki page, or <code>null</code> if a matching wiki page could not be found 5859 */ 5860 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_First( 5861 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5862 int status, 5863 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5864 return getPersistence() 5865 .fetchByG_N_H_P_S_First(groupId, nodeId, head, parentTitle, 5866 status, orderByComparator); 5867 } 5868 5869 /** 5870 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5871 * 5872 * @param groupId the group ID 5873 * @param nodeId the node ID 5874 * @param head the head 5875 * @param parentTitle the parent title 5876 * @param status the status 5877 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5878 * @return the last matching wiki page 5879 * @throws com.liferay.portlet.wiki.NoSuchPageException if a matching wiki page could not be found 5880 */ 5881 public static com.liferay.portlet.wiki.model.WikiPage findByG_N_H_P_S_Last( 5882 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5883 int status, 5884 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5885 throws com.liferay.portlet.wiki.NoSuchPageException { 5886 return getPersistence() 5887 .findByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle, 5888 status, orderByComparator); 5889 } 5890 5891 /** 5892 * Returns the last wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5893 * 5894 * @param groupId the group ID 5895 * @param nodeId the node ID 5896 * @param head the head 5897 * @param parentTitle the parent title 5898 * @param status the status 5899 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5900 * @return the last matching wiki page, or <code>null</code> if a matching wiki page could not be found 5901 */ 5902 public static com.liferay.portlet.wiki.model.WikiPage fetchByG_N_H_P_S_Last( 5903 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5904 int status, 5905 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5906 return getPersistence() 5907 .fetchByG_N_H_P_S_Last(groupId, nodeId, head, parentTitle, 5908 status, orderByComparator); 5909 } 5910 5911 /** 5912 * Returns the wiki pages before and after the current wiki page in the ordered set where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5913 * 5914 * @param pageId the primary key of the current wiki page 5915 * @param groupId the group ID 5916 * @param nodeId the node ID 5917 * @param head the head 5918 * @param parentTitle the parent title 5919 * @param status the status 5920 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 5921 * @return the previous, current, and next wiki page 5922 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 5923 */ 5924 public static com.liferay.portlet.wiki.model.WikiPage[] findByG_N_H_P_S_PrevAndNext( 5925 long pageId, long groupId, long nodeId, boolean head, 5926 java.lang.String parentTitle, int status, 5927 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 5928 throws com.liferay.portlet.wiki.NoSuchPageException { 5929 return getPersistence() 5930 .findByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId, head, 5931 parentTitle, status, orderByComparator); 5932 } 5933 5934 /** 5935 * Returns all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5936 * 5937 * @param groupId the group ID 5938 * @param nodeId the node ID 5939 * @param head the head 5940 * @param parentTitle the parent title 5941 * @param status the status 5942 * @return the matching wiki pages that the user has permission to view 5943 */ 5944 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 5945 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5946 int status) { 5947 return getPersistence() 5948 .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle, 5949 status); 5950 } 5951 5952 /** 5953 * Returns a range of all the wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5954 * 5955 * <p> 5956 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5957 * </p> 5958 * 5959 * @param groupId the group ID 5960 * @param nodeId the node ID 5961 * @param head the head 5962 * @param parentTitle the parent title 5963 * @param status the status 5964 * @param start the lower bound of the range of wiki pages 5965 * @param end the upper bound of the range of wiki pages (not inclusive) 5966 * @return the range of matching wiki pages that the user has permission to view 5967 */ 5968 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 5969 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5970 int status, int start, int end) { 5971 return getPersistence() 5972 .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle, 5973 status, start, end); 5974 } 5975 5976 /** 5977 * Returns an ordered range of all the wiki pages that the user has permissions to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 5978 * 5979 * <p> 5980 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 5981 * </p> 5982 * 5983 * @param groupId the group ID 5984 * @param nodeId the node ID 5985 * @param head the head 5986 * @param parentTitle the parent title 5987 * @param status the status 5988 * @param start the lower bound of the range of wiki pages 5989 * @param end the upper bound of the range of wiki pages (not inclusive) 5990 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 5991 * @return the ordered range of matching wiki pages that the user has permission to view 5992 */ 5993 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByG_N_H_P_S( 5994 long groupId, long nodeId, boolean head, java.lang.String parentTitle, 5995 int status, int start, int end, 5996 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 5997 return getPersistence() 5998 .filterFindByG_N_H_P_S(groupId, nodeId, head, parentTitle, 5999 status, start, end, orderByComparator); 6000 } 6001 6002 /** 6003 * Returns the wiki pages before and after the current wiki page in the ordered set of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6004 * 6005 * @param pageId the primary key of the current wiki page 6006 * @param groupId the group ID 6007 * @param nodeId the node ID 6008 * @param head the head 6009 * @param parentTitle the parent title 6010 * @param status the status 6011 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 6012 * @return the previous, current, and next wiki page 6013 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6014 */ 6015 public static com.liferay.portlet.wiki.model.WikiPage[] filterFindByG_N_H_P_S_PrevAndNext( 6016 long pageId, long groupId, long nodeId, boolean head, 6017 java.lang.String parentTitle, int status, 6018 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) 6019 throws com.liferay.portlet.wiki.NoSuchPageException { 6020 return getPersistence() 6021 .filterFindByG_N_H_P_S_PrevAndNext(pageId, groupId, nodeId, 6022 head, parentTitle, status, orderByComparator); 6023 } 6024 6025 /** 6026 * Removes all the wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ? from the database. 6027 * 6028 * @param groupId the group ID 6029 * @param nodeId the node ID 6030 * @param head the head 6031 * @param parentTitle the parent title 6032 * @param status the status 6033 */ 6034 public static void removeByG_N_H_P_S(long groupId, long nodeId, 6035 boolean head, java.lang.String parentTitle, int status) { 6036 getPersistence() 6037 .removeByG_N_H_P_S(groupId, nodeId, head, parentTitle, status); 6038 } 6039 6040 /** 6041 * Returns the number of wiki pages where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6042 * 6043 * @param groupId the group ID 6044 * @param nodeId the node ID 6045 * @param head the head 6046 * @param parentTitle the parent title 6047 * @param status the status 6048 * @return the number of matching wiki pages 6049 */ 6050 public static int countByG_N_H_P_S(long groupId, long nodeId, boolean head, 6051 java.lang.String parentTitle, int status) { 6052 return getPersistence() 6053 .countByG_N_H_P_S(groupId, nodeId, head, parentTitle, status); 6054 } 6055 6056 /** 6057 * Returns the number of wiki pages that the user has permission to view where groupId = ? and nodeId = ? and head = ? and parentTitle = ? and status = ?. 6058 * 6059 * @param groupId the group ID 6060 * @param nodeId the node ID 6061 * @param head the head 6062 * @param parentTitle the parent title 6063 * @param status the status 6064 * @return the number of matching wiki pages that the user has permission to view 6065 */ 6066 public static int filterCountByG_N_H_P_S(long groupId, long nodeId, 6067 boolean head, java.lang.String parentTitle, int status) { 6068 return getPersistence() 6069 .filterCountByG_N_H_P_S(groupId, nodeId, head, parentTitle, 6070 status); 6071 } 6072 6073 /** 6074 * Caches the wiki page in the entity cache if it is enabled. 6075 * 6076 * @param wikiPage the wiki page 6077 */ 6078 public static void cacheResult( 6079 com.liferay.portlet.wiki.model.WikiPage wikiPage) { 6080 getPersistence().cacheResult(wikiPage); 6081 } 6082 6083 /** 6084 * Caches the wiki pages in the entity cache if it is enabled. 6085 * 6086 * @param wikiPages the wiki pages 6087 */ 6088 public static void cacheResult( 6089 java.util.List<com.liferay.portlet.wiki.model.WikiPage> wikiPages) { 6090 getPersistence().cacheResult(wikiPages); 6091 } 6092 6093 /** 6094 * Creates a new wiki page with the primary key. Does not add the wiki page to the database. 6095 * 6096 * @param pageId the primary key for the new wiki page 6097 * @return the new wiki page 6098 */ 6099 public static com.liferay.portlet.wiki.model.WikiPage create(long pageId) { 6100 return getPersistence().create(pageId); 6101 } 6102 6103 /** 6104 * Removes the wiki page with the primary key from the database. Also notifies the appropriate model listeners. 6105 * 6106 * @param pageId the primary key of the wiki page 6107 * @return the wiki page that was removed 6108 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6109 */ 6110 public static com.liferay.portlet.wiki.model.WikiPage remove(long pageId) 6111 throws com.liferay.portlet.wiki.NoSuchPageException { 6112 return getPersistence().remove(pageId); 6113 } 6114 6115 public static com.liferay.portlet.wiki.model.WikiPage updateImpl( 6116 com.liferay.portlet.wiki.model.WikiPage wikiPage) { 6117 return getPersistence().updateImpl(wikiPage); 6118 } 6119 6120 /** 6121 * Returns the wiki page with the primary key or throws a {@link com.liferay.portlet.wiki.NoSuchPageException} if it could not be found. 6122 * 6123 * @param pageId the primary key of the wiki page 6124 * @return the wiki page 6125 * @throws com.liferay.portlet.wiki.NoSuchPageException if a wiki page with the primary key could not be found 6126 */ 6127 public static com.liferay.portlet.wiki.model.WikiPage findByPrimaryKey( 6128 long pageId) throws com.liferay.portlet.wiki.NoSuchPageException { 6129 return getPersistence().findByPrimaryKey(pageId); 6130 } 6131 6132 /** 6133 * Returns the wiki page with the primary key or returns <code>null</code> if it could not be found. 6134 * 6135 * @param pageId the primary key of the wiki page 6136 * @return the wiki page, or <code>null</code> if a wiki page with the primary key could not be found 6137 */ 6138 public static com.liferay.portlet.wiki.model.WikiPage fetchByPrimaryKey( 6139 long pageId) { 6140 return getPersistence().fetchByPrimaryKey(pageId); 6141 } 6142 6143 public static java.util.Map<java.io.Serializable, com.liferay.portlet.wiki.model.WikiPage> fetchByPrimaryKeys( 6144 java.util.Set<java.io.Serializable> primaryKeys) { 6145 return getPersistence().fetchByPrimaryKeys(primaryKeys); 6146 } 6147 6148 /** 6149 * Returns all the wiki pages. 6150 * 6151 * @return the wiki pages 6152 */ 6153 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll() { 6154 return getPersistence().findAll(); 6155 } 6156 6157 /** 6158 * Returns a range of all the wiki pages. 6159 * 6160 * <p> 6161 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6162 * </p> 6163 * 6164 * @param start the lower bound of the range of wiki pages 6165 * @param end the upper bound of the range of wiki pages (not inclusive) 6166 * @return the range of wiki pages 6167 */ 6168 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 6169 int start, int end) { 6170 return getPersistence().findAll(start, end); 6171 } 6172 6173 /** 6174 * Returns an ordered range of all the wiki pages. 6175 * 6176 * <p> 6177 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 6178 * </p> 6179 * 6180 * @param start the lower bound of the range of wiki pages 6181 * @param end the upper bound of the range of wiki pages (not inclusive) 6182 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 6183 * @return the ordered range of wiki pages 6184 */ 6185 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findAll( 6186 int start, int end, 6187 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.wiki.model.WikiPage> orderByComparator) { 6188 return getPersistence().findAll(start, end, orderByComparator); 6189 } 6190 6191 /** 6192 * Removes all the wiki pages from the database. 6193 */ 6194 public static void removeAll() { 6195 getPersistence().removeAll(); 6196 } 6197 6198 /** 6199 * Returns the number of wiki pages. 6200 * 6201 * @return the number of wiki pages 6202 */ 6203 public static int countAll() { 6204 return getPersistence().countAll(); 6205 } 6206 6207 public static WikiPagePersistence getPersistence() { 6208 if (_persistence == null) { 6209 _persistence = (WikiPagePersistence)PortalBeanLocatorUtil.locate(WikiPagePersistence.class.getName()); 6210 6211 ReferenceRegistry.registerReference(WikiPageUtil.class, 6212 "_persistence"); 6213 } 6214 6215 return _persistence; 6216 } 6217 6218 /** 6219 * @deprecated As of 6.2.0 6220 */ 6221 @Deprecated 6222 public void setPersistence(WikiPagePersistence persistence) { 6223 } 6224 6225 private static WikiPagePersistence _persistence; 6226 }