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