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