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