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 aQute.bnd.annotation.ProviderType; 018 019 import com.liferay.portal.service.persistence.BasePersistence; 020 021 import com.liferay.portlet.asset.model.AssetLink; 022 023 /** 024 * The persistence interface for the asset link service. 025 * 026 * <p> 027 * Caching information and settings can be found in <code>portal.properties</code> 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see AssetLinkPersistenceImpl 032 * @see AssetLinkUtil 033 * @generated 034 */ 035 @ProviderType 036 public interface AssetLinkPersistence extends BasePersistence<AssetLink> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. Always use {@link AssetLinkUtil} to access the asset link persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 041 */ 042 043 /** 044 * Returns all the asset links where entryId1 = ?. 045 * 046 * @param entryId1 the entry id1 047 * @return the matching asset links 048 * @throws SystemException if a system exception occurred 049 */ 050 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1( 051 long entryId1) 052 throws com.liferay.portal.kernel.exception.SystemException; 053 054 /** 055 * Returns a range of all the asset links where entryId1 = ?. 056 * 057 * <p> 058 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 059 * </p> 060 * 061 * @param entryId1 the entry id1 062 * @param start the lower bound of the range of asset links 063 * @param end the upper bound of the range of asset links (not inclusive) 064 * @return the range of matching asset links 065 * @throws SystemException if a system exception occurred 066 */ 067 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1( 068 long entryId1, int start, int end) 069 throws com.liferay.portal.kernel.exception.SystemException; 070 071 /** 072 * Returns an ordered range of all the asset links where entryId1 = ?. 073 * 074 * <p> 075 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 076 * </p> 077 * 078 * @param entryId1 the entry id1 079 * @param start the lower bound of the range of asset links 080 * @param end the upper bound of the range of asset links (not inclusive) 081 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 082 * @return the ordered range of matching asset links 083 * @throws SystemException if a system exception occurred 084 */ 085 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1( 086 long entryId1, int start, int end, 087 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 088 throws com.liferay.portal.kernel.exception.SystemException; 089 090 /** 091 * Returns the first asset link in the ordered set where entryId1 = ?. 092 * 093 * @param entryId1 the entry id1 094 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 095 * @return the first matching asset link 096 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 097 * @throws SystemException if a system exception occurred 098 */ 099 public com.liferay.portlet.asset.model.AssetLink findByE1_First( 100 long entryId1, 101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 102 throws com.liferay.portal.kernel.exception.SystemException, 103 com.liferay.portlet.asset.NoSuchLinkException; 104 105 /** 106 * Returns the first asset link in the ordered set where entryId1 = ?. 107 * 108 * @param entryId1 the entry id1 109 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 110 * @return the first matching asset link, or <code>null</code> if a matching asset link could not be found 111 * @throws SystemException if a system exception occurred 112 */ 113 public com.liferay.portlet.asset.model.AssetLink fetchByE1_First( 114 long entryId1, 115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 116 throws com.liferay.portal.kernel.exception.SystemException; 117 118 /** 119 * Returns the last asset link in the ordered set where entryId1 = ?. 120 * 121 * @param entryId1 the entry id1 122 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 123 * @return the last matching asset link 124 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 125 * @throws SystemException if a system exception occurred 126 */ 127 public com.liferay.portlet.asset.model.AssetLink findByE1_Last( 128 long entryId1, 129 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 130 throws com.liferay.portal.kernel.exception.SystemException, 131 com.liferay.portlet.asset.NoSuchLinkException; 132 133 /** 134 * Returns the last asset link in the ordered set where entryId1 = ?. 135 * 136 * @param entryId1 the entry id1 137 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 138 * @return the last matching asset link, or <code>null</code> if a matching asset link could not be found 139 * @throws SystemException if a system exception occurred 140 */ 141 public com.liferay.portlet.asset.model.AssetLink fetchByE1_Last( 142 long entryId1, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Returns the asset links before and after the current asset link in the ordered set where entryId1 = ?. 148 * 149 * @param linkId the primary key of the current asset link 150 * @param entryId1 the entry id1 151 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 152 * @return the previous, current, and next asset link 153 * @throws com.liferay.portlet.asset.NoSuchLinkException if a asset link with the primary key could not be found 154 * @throws SystemException if a system exception occurred 155 */ 156 public com.liferay.portlet.asset.model.AssetLink[] findByE1_PrevAndNext( 157 long linkId, long entryId1, 158 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 159 throws com.liferay.portal.kernel.exception.SystemException, 160 com.liferay.portlet.asset.NoSuchLinkException; 161 162 /** 163 * Removes all the asset links where entryId1 = ? from the database. 164 * 165 * @param entryId1 the entry id1 166 * @throws SystemException if a system exception occurred 167 */ 168 public void removeByE1(long entryId1) 169 throws com.liferay.portal.kernel.exception.SystemException; 170 171 /** 172 * Returns the number of asset links where entryId1 = ?. 173 * 174 * @param entryId1 the entry id1 175 * @return the number of matching asset links 176 * @throws SystemException if a system exception occurred 177 */ 178 public int countByE1(long entryId1) 179 throws com.liferay.portal.kernel.exception.SystemException; 180 181 /** 182 * Returns all the asset links where entryId2 = ?. 183 * 184 * @param entryId2 the entry id2 185 * @return the matching asset links 186 * @throws SystemException if a system exception occurred 187 */ 188 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2( 189 long entryId2) 190 throws com.liferay.portal.kernel.exception.SystemException; 191 192 /** 193 * Returns a range of all the asset links where entryId2 = ?. 194 * 195 * <p> 196 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 197 * </p> 198 * 199 * @param entryId2 the entry id2 200 * @param start the lower bound of the range of asset links 201 * @param end the upper bound of the range of asset links (not inclusive) 202 * @return the range of matching asset links 203 * @throws SystemException if a system exception occurred 204 */ 205 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2( 206 long entryId2, int start, int end) 207 throws com.liferay.portal.kernel.exception.SystemException; 208 209 /** 210 * Returns an ordered range of all the asset links where entryId2 = ?. 211 * 212 * <p> 213 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 214 * </p> 215 * 216 * @param entryId2 the entry id2 217 * @param start the lower bound of the range of asset links 218 * @param end the upper bound of the range of asset links (not inclusive) 219 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 220 * @return the ordered range of matching asset links 221 * @throws SystemException if a system exception occurred 222 */ 223 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2( 224 long entryId2, int start, int end, 225 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 226 throws com.liferay.portal.kernel.exception.SystemException; 227 228 /** 229 * Returns the first asset link in the ordered set where entryId2 = ?. 230 * 231 * @param entryId2 the entry id2 232 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 233 * @return the first matching asset link 234 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 235 * @throws SystemException if a system exception occurred 236 */ 237 public com.liferay.portlet.asset.model.AssetLink findByE2_First( 238 long entryId2, 239 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 240 throws com.liferay.portal.kernel.exception.SystemException, 241 com.liferay.portlet.asset.NoSuchLinkException; 242 243 /** 244 * Returns the first asset link in the ordered set where entryId2 = ?. 245 * 246 * @param entryId2 the entry id2 247 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 248 * @return the first matching asset link, or <code>null</code> if a matching asset link could not be found 249 * @throws SystemException if a system exception occurred 250 */ 251 public com.liferay.portlet.asset.model.AssetLink fetchByE2_First( 252 long entryId2, 253 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 254 throws com.liferay.portal.kernel.exception.SystemException; 255 256 /** 257 * Returns the last asset link in the ordered set where entryId2 = ?. 258 * 259 * @param entryId2 the entry id2 260 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 261 * @return the last matching asset link 262 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 263 * @throws SystemException if a system exception occurred 264 */ 265 public com.liferay.portlet.asset.model.AssetLink findByE2_Last( 266 long entryId2, 267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 268 throws com.liferay.portal.kernel.exception.SystemException, 269 com.liferay.portlet.asset.NoSuchLinkException; 270 271 /** 272 * Returns the last asset link in the ordered set where entryId2 = ?. 273 * 274 * @param entryId2 the entry id2 275 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 276 * @return the last matching asset link, or <code>null</code> if a matching asset link could not be found 277 * @throws SystemException if a system exception occurred 278 */ 279 public com.liferay.portlet.asset.model.AssetLink fetchByE2_Last( 280 long entryId2, 281 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 282 throws com.liferay.portal.kernel.exception.SystemException; 283 284 /** 285 * Returns the asset links before and after the current asset link in the ordered set where entryId2 = ?. 286 * 287 * @param linkId the primary key of the current asset link 288 * @param entryId2 the entry id2 289 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 290 * @return the previous, current, and next asset link 291 * @throws com.liferay.portlet.asset.NoSuchLinkException if a asset link with the primary key could not be found 292 * @throws SystemException if a system exception occurred 293 */ 294 public com.liferay.portlet.asset.model.AssetLink[] findByE2_PrevAndNext( 295 long linkId, long entryId2, 296 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 297 throws com.liferay.portal.kernel.exception.SystemException, 298 com.liferay.portlet.asset.NoSuchLinkException; 299 300 /** 301 * Removes all the asset links where entryId2 = ? from the database. 302 * 303 * @param entryId2 the entry id2 304 * @throws SystemException if a system exception occurred 305 */ 306 public void removeByE2(long entryId2) 307 throws com.liferay.portal.kernel.exception.SystemException; 308 309 /** 310 * Returns the number of asset links where entryId2 = ?. 311 * 312 * @param entryId2 the entry id2 313 * @return the number of matching asset links 314 * @throws SystemException if a system exception occurred 315 */ 316 public int countByE2(long entryId2) 317 throws com.liferay.portal.kernel.exception.SystemException; 318 319 /** 320 * Returns all the asset links where entryId1 = ? and entryId2 = ?. 321 * 322 * @param entryId1 the entry id1 323 * @param entryId2 the entry id2 324 * @return the matching asset links 325 * @throws SystemException if a system exception occurred 326 */ 327 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE_E( 328 long entryId1, long entryId2) 329 throws com.liferay.portal.kernel.exception.SystemException; 330 331 /** 332 * Returns a range of all the asset links where entryId1 = ? and entryId2 = ?. 333 * 334 * <p> 335 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 336 * </p> 337 * 338 * @param entryId1 the entry id1 339 * @param entryId2 the entry id2 340 * @param start the lower bound of the range of asset links 341 * @param end the upper bound of the range of asset links (not inclusive) 342 * @return the range of matching asset links 343 * @throws SystemException if a system exception occurred 344 */ 345 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE_E( 346 long entryId1, long entryId2, int start, int end) 347 throws com.liferay.portal.kernel.exception.SystemException; 348 349 /** 350 * Returns an ordered range of all the asset links where entryId1 = ? and entryId2 = ?. 351 * 352 * <p> 353 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 354 * </p> 355 * 356 * @param entryId1 the entry id1 357 * @param entryId2 the entry id2 358 * @param start the lower bound of the range of asset links 359 * @param end the upper bound of the range of asset links (not inclusive) 360 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 361 * @return the ordered range of matching asset links 362 * @throws SystemException if a system exception occurred 363 */ 364 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE_E( 365 long entryId1, long entryId2, int start, int end, 366 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 367 throws com.liferay.portal.kernel.exception.SystemException; 368 369 /** 370 * Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?. 371 * 372 * @param entryId1 the entry id1 373 * @param entryId2 the entry id2 374 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 375 * @return the first matching asset link 376 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 377 * @throws SystemException if a system exception occurred 378 */ 379 public com.liferay.portlet.asset.model.AssetLink findByE_E_First( 380 long entryId1, long entryId2, 381 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 382 throws com.liferay.portal.kernel.exception.SystemException, 383 com.liferay.portlet.asset.NoSuchLinkException; 384 385 /** 386 * Returns the first asset link in the ordered set where entryId1 = ? and entryId2 = ?. 387 * 388 * @param entryId1 the entry id1 389 * @param entryId2 the entry id2 390 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 391 * @return the first matching asset link, or <code>null</code> if a matching asset link could not be found 392 * @throws SystemException if a system exception occurred 393 */ 394 public com.liferay.portlet.asset.model.AssetLink fetchByE_E_First( 395 long entryId1, long entryId2, 396 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 397 throws com.liferay.portal.kernel.exception.SystemException; 398 399 /** 400 * Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?. 401 * 402 * @param entryId1 the entry id1 403 * @param entryId2 the entry id2 404 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 405 * @return the last matching asset link 406 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 407 * @throws SystemException if a system exception occurred 408 */ 409 public com.liferay.portlet.asset.model.AssetLink findByE_E_Last( 410 long entryId1, long entryId2, 411 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 412 throws com.liferay.portal.kernel.exception.SystemException, 413 com.liferay.portlet.asset.NoSuchLinkException; 414 415 /** 416 * Returns the last asset link in the ordered set where entryId1 = ? and entryId2 = ?. 417 * 418 * @param entryId1 the entry id1 419 * @param entryId2 the entry id2 420 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 421 * @return the last matching asset link, or <code>null</code> if a matching asset link could not be found 422 * @throws SystemException if a system exception occurred 423 */ 424 public com.liferay.portlet.asset.model.AssetLink fetchByE_E_Last( 425 long entryId1, long entryId2, 426 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 427 throws com.liferay.portal.kernel.exception.SystemException; 428 429 /** 430 * Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and entryId2 = ?. 431 * 432 * @param linkId the primary key of the current asset link 433 * @param entryId1 the entry id1 434 * @param entryId2 the entry id2 435 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 436 * @return the previous, current, and next asset link 437 * @throws com.liferay.portlet.asset.NoSuchLinkException if a asset link with the primary key could not be found 438 * @throws SystemException if a system exception occurred 439 */ 440 public com.liferay.portlet.asset.model.AssetLink[] findByE_E_PrevAndNext( 441 long linkId, long entryId1, long entryId2, 442 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 443 throws com.liferay.portal.kernel.exception.SystemException, 444 com.liferay.portlet.asset.NoSuchLinkException; 445 446 /** 447 * Removes all the asset links where entryId1 = ? and entryId2 = ? from the database. 448 * 449 * @param entryId1 the entry id1 450 * @param entryId2 the entry id2 451 * @throws SystemException if a system exception occurred 452 */ 453 public void removeByE_E(long entryId1, long entryId2) 454 throws com.liferay.portal.kernel.exception.SystemException; 455 456 /** 457 * Returns the number of asset links where entryId1 = ? and entryId2 = ?. 458 * 459 * @param entryId1 the entry id1 460 * @param entryId2 the entry id2 461 * @return the number of matching asset links 462 * @throws SystemException if a system exception occurred 463 */ 464 public int countByE_E(long entryId1, long entryId2) 465 throws com.liferay.portal.kernel.exception.SystemException; 466 467 /** 468 * Returns all the asset links where entryId1 = ? and type = ?. 469 * 470 * @param entryId1 the entry id1 471 * @param type the type 472 * @return the matching asset links 473 * @throws SystemException if a system exception occurred 474 */ 475 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1_T( 476 long entryId1, int type) 477 throws com.liferay.portal.kernel.exception.SystemException; 478 479 /** 480 * Returns a range of all the asset links where entryId1 = ? and type = ?. 481 * 482 * <p> 483 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 484 * </p> 485 * 486 * @param entryId1 the entry id1 487 * @param type the type 488 * @param start the lower bound of the range of asset links 489 * @param end the upper bound of the range of asset links (not inclusive) 490 * @return the range of matching asset links 491 * @throws SystemException if a system exception occurred 492 */ 493 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1_T( 494 long entryId1, int type, int start, int end) 495 throws com.liferay.portal.kernel.exception.SystemException; 496 497 /** 498 * Returns an ordered range of all the asset links where entryId1 = ? and type = ?. 499 * 500 * <p> 501 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetLinkModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. 502 * </p> 503 * 504 * @param entryId1 the entry id1 505 * @param type the type 506 * @param start the lower bound of the range of asset links 507 * @param end the upper bound of the range of asset links (not inclusive) 508 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 509 * @return the ordered range of matching asset links 510 * @throws SystemException if a system exception occurred 511 */ 512 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE1_T( 513 long entryId1, int type, int start, int end, 514 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 515 throws com.liferay.portal.kernel.exception.SystemException; 516 517 /** 518 * Returns the first asset link in the ordered set where entryId1 = ? and type = ?. 519 * 520 * @param entryId1 the entry id1 521 * @param type the type 522 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 523 * @return the first matching asset link 524 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 525 * @throws SystemException if a system exception occurred 526 */ 527 public com.liferay.portlet.asset.model.AssetLink findByE1_T_First( 528 long entryId1, int type, 529 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 530 throws com.liferay.portal.kernel.exception.SystemException, 531 com.liferay.portlet.asset.NoSuchLinkException; 532 533 /** 534 * Returns the first asset link in the ordered set where entryId1 = ? and type = ?. 535 * 536 * @param entryId1 the entry id1 537 * @param type the type 538 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 539 * @return the first matching asset link, or <code>null</code> if a matching asset link could not be found 540 * @throws SystemException if a system exception occurred 541 */ 542 public com.liferay.portlet.asset.model.AssetLink fetchByE1_T_First( 543 long entryId1, int type, 544 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 545 throws com.liferay.portal.kernel.exception.SystemException; 546 547 /** 548 * Returns the last asset link in the ordered set where entryId1 = ? and type = ?. 549 * 550 * @param entryId1 the entry id1 551 * @param type the type 552 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 553 * @return the last matching asset link 554 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 555 * @throws SystemException if a system exception occurred 556 */ 557 public com.liferay.portlet.asset.model.AssetLink findByE1_T_Last( 558 long entryId1, int type, 559 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 560 throws com.liferay.portal.kernel.exception.SystemException, 561 com.liferay.portlet.asset.NoSuchLinkException; 562 563 /** 564 * Returns the last asset link in the ordered set where entryId1 = ? and type = ?. 565 * 566 * @param entryId1 the entry id1 567 * @param type the type 568 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 569 * @return the last matching asset link, or <code>null</code> if a matching asset link could not be found 570 * @throws SystemException if a system exception occurred 571 */ 572 public com.liferay.portlet.asset.model.AssetLink fetchByE1_T_Last( 573 long entryId1, int type, 574 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 575 throws com.liferay.portal.kernel.exception.SystemException; 576 577 /** 578 * Returns the asset links before and after the current asset link in the ordered set where entryId1 = ? and type = ?. 579 * 580 * @param linkId the primary key of the current asset link 581 * @param entryId1 the entry id1 582 * @param type the type 583 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 584 * @return the previous, current, and next asset link 585 * @throws com.liferay.portlet.asset.NoSuchLinkException if a asset link with the primary key could not be found 586 * @throws SystemException if a system exception occurred 587 */ 588 public com.liferay.portlet.asset.model.AssetLink[] findByE1_T_PrevAndNext( 589 long linkId, long entryId1, int type, 590 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 591 throws com.liferay.portal.kernel.exception.SystemException, 592 com.liferay.portlet.asset.NoSuchLinkException; 593 594 /** 595 * Removes all the asset links where entryId1 = ? and type = ? from the database. 596 * 597 * @param entryId1 the entry id1 598 * @param type the type 599 * @throws SystemException if a system exception occurred 600 */ 601 public void removeByE1_T(long entryId1, int type) 602 throws com.liferay.portal.kernel.exception.SystemException; 603 604 /** 605 * Returns the number of asset links where entryId1 = ? and type = ?. 606 * 607 * @param entryId1 the entry id1 608 * @param type the type 609 * @return the number of matching asset links 610 * @throws SystemException if a system exception occurred 611 */ 612 public int countByE1_T(long entryId1, int type) 613 throws com.liferay.portal.kernel.exception.SystemException; 614 615 /** 616 * Returns all the asset links where entryId2 = ? and type = ?. 617 * 618 * @param entryId2 the entry id2 619 * @param type the type 620 * @return the matching asset links 621 * @throws SystemException if a system exception occurred 622 */ 623 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2_T( 624 long entryId2, int type) 625 throws com.liferay.portal.kernel.exception.SystemException; 626 627 /** 628 * Returns a range of all the asset links where entryId2 = ? and type = ?. 629 * 630 * <p> 631 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 632 * </p> 633 * 634 * @param entryId2 the entry id2 635 * @param type the type 636 * @param start the lower bound of the range of asset links 637 * @param end the upper bound of the range of asset links (not inclusive) 638 * @return the range of matching asset links 639 * @throws SystemException if a system exception occurred 640 */ 641 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2_T( 642 long entryId2, int type, int start, int end) 643 throws com.liferay.portal.kernel.exception.SystemException; 644 645 /** 646 * Returns an ordered range of all the asset links where entryId2 = ? and type = ?. 647 * 648 * <p> 649 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 650 * </p> 651 * 652 * @param entryId2 the entry id2 653 * @param type the type 654 * @param start the lower bound of the range of asset links 655 * @param end the upper bound of the range of asset links (not inclusive) 656 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 657 * @return the ordered range of matching asset links 658 * @throws SystemException if a system exception occurred 659 */ 660 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findByE2_T( 661 long entryId2, int type, int start, int end, 662 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 663 throws com.liferay.portal.kernel.exception.SystemException; 664 665 /** 666 * Returns the first asset link in the ordered set where entryId2 = ? and type = ?. 667 * 668 * @param entryId2 the entry id2 669 * @param type the type 670 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 671 * @return the first matching asset link 672 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 673 * @throws SystemException if a system exception occurred 674 */ 675 public com.liferay.portlet.asset.model.AssetLink findByE2_T_First( 676 long entryId2, int type, 677 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 678 throws com.liferay.portal.kernel.exception.SystemException, 679 com.liferay.portlet.asset.NoSuchLinkException; 680 681 /** 682 * Returns the first asset link in the ordered set where entryId2 = ? and type = ?. 683 * 684 * @param entryId2 the entry id2 685 * @param type the type 686 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 687 * @return the first matching asset link, or <code>null</code> if a matching asset link could not be found 688 * @throws SystemException if a system exception occurred 689 */ 690 public com.liferay.portlet.asset.model.AssetLink fetchByE2_T_First( 691 long entryId2, int type, 692 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 693 throws com.liferay.portal.kernel.exception.SystemException; 694 695 /** 696 * Returns the last asset link in the ordered set where entryId2 = ? and type = ?. 697 * 698 * @param entryId2 the entry id2 699 * @param type the type 700 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 701 * @return the last matching asset link 702 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 703 * @throws SystemException if a system exception occurred 704 */ 705 public com.liferay.portlet.asset.model.AssetLink findByE2_T_Last( 706 long entryId2, int type, 707 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 708 throws com.liferay.portal.kernel.exception.SystemException, 709 com.liferay.portlet.asset.NoSuchLinkException; 710 711 /** 712 * Returns the last asset link in the ordered set where entryId2 = ? and type = ?. 713 * 714 * @param entryId2 the entry id2 715 * @param type the type 716 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 717 * @return the last matching asset link, or <code>null</code> if a matching asset link could not be found 718 * @throws SystemException if a system exception occurred 719 */ 720 public com.liferay.portlet.asset.model.AssetLink fetchByE2_T_Last( 721 long entryId2, int type, 722 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 723 throws com.liferay.portal.kernel.exception.SystemException; 724 725 /** 726 * Returns the asset links before and after the current asset link in the ordered set where entryId2 = ? and type = ?. 727 * 728 * @param linkId the primary key of the current asset link 729 * @param entryId2 the entry id2 730 * @param type the type 731 * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) 732 * @return the previous, current, and next asset link 733 * @throws com.liferay.portlet.asset.NoSuchLinkException if a asset link with the primary key could not be found 734 * @throws SystemException if a system exception occurred 735 */ 736 public com.liferay.portlet.asset.model.AssetLink[] findByE2_T_PrevAndNext( 737 long linkId, long entryId2, int type, 738 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 739 throws com.liferay.portal.kernel.exception.SystemException, 740 com.liferay.portlet.asset.NoSuchLinkException; 741 742 /** 743 * Removes all the asset links where entryId2 = ? and type = ? from the database. 744 * 745 * @param entryId2 the entry id2 746 * @param type the type 747 * @throws SystemException if a system exception occurred 748 */ 749 public void removeByE2_T(long entryId2, int type) 750 throws com.liferay.portal.kernel.exception.SystemException; 751 752 /** 753 * Returns the number of asset links where entryId2 = ? and type = ?. 754 * 755 * @param entryId2 the entry id2 756 * @param type the type 757 * @return the number of matching asset links 758 * @throws SystemException if a system exception occurred 759 */ 760 public int countByE2_T(long entryId2, int type) 761 throws com.liferay.portal.kernel.exception.SystemException; 762 763 /** 764 * Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or throws a {@link com.liferay.portlet.asset.NoSuchLinkException} if it could not be found. 765 * 766 * @param entryId1 the entry id1 767 * @param entryId2 the entry id2 768 * @param type the type 769 * @return the matching asset link 770 * @throws com.liferay.portlet.asset.NoSuchLinkException if a matching asset link could not be found 771 * @throws SystemException if a system exception occurred 772 */ 773 public com.liferay.portlet.asset.model.AssetLink findByE_E_T( 774 long entryId1, long entryId2, int type) 775 throws com.liferay.portal.kernel.exception.SystemException, 776 com.liferay.portlet.asset.NoSuchLinkException; 777 778 /** 779 * Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 780 * 781 * @param entryId1 the entry id1 782 * @param entryId2 the entry id2 783 * @param type the type 784 * @return the matching asset link, or <code>null</code> if a matching asset link could not be found 785 * @throws SystemException if a system exception occurred 786 */ 787 public com.liferay.portlet.asset.model.AssetLink fetchByE_E_T( 788 long entryId1, long entryId2, int type) 789 throws com.liferay.portal.kernel.exception.SystemException; 790 791 /** 792 * Returns the asset link where entryId1 = ? and entryId2 = ? and type = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 793 * 794 * @param entryId1 the entry id1 795 * @param entryId2 the entry id2 796 * @param type the type 797 * @param retrieveFromCache whether to use the finder cache 798 * @return the matching asset link, or <code>null</code> if a matching asset link could not be found 799 * @throws SystemException if a system exception occurred 800 */ 801 public com.liferay.portlet.asset.model.AssetLink fetchByE_E_T( 802 long entryId1, long entryId2, int type, boolean retrieveFromCache) 803 throws com.liferay.portal.kernel.exception.SystemException; 804 805 /** 806 * Removes the asset link where entryId1 = ? and entryId2 = ? and type = ? from the database. 807 * 808 * @param entryId1 the entry id1 809 * @param entryId2 the entry id2 810 * @param type the type 811 * @return the asset link that was removed 812 * @throws SystemException if a system exception occurred 813 */ 814 public com.liferay.portlet.asset.model.AssetLink removeByE_E_T( 815 long entryId1, long entryId2, int type) 816 throws com.liferay.portal.kernel.exception.SystemException, 817 com.liferay.portlet.asset.NoSuchLinkException; 818 819 /** 820 * Returns the number of asset links where entryId1 = ? and entryId2 = ? and type = ?. 821 * 822 * @param entryId1 the entry id1 823 * @param entryId2 the entry id2 824 * @param type the type 825 * @return the number of matching asset links 826 * @throws SystemException if a system exception occurred 827 */ 828 public int countByE_E_T(long entryId1, long entryId2, int type) 829 throws com.liferay.portal.kernel.exception.SystemException; 830 831 /** 832 * Caches the asset link in the entity cache if it is enabled. 833 * 834 * @param assetLink the asset link 835 */ 836 public void cacheResult(com.liferay.portlet.asset.model.AssetLink assetLink); 837 838 /** 839 * Caches the asset links in the entity cache if it is enabled. 840 * 841 * @param assetLinks the asset links 842 */ 843 public void cacheResult( 844 java.util.List<com.liferay.portlet.asset.model.AssetLink> assetLinks); 845 846 /** 847 * Creates a new asset link with the primary key. Does not add the asset link to the database. 848 * 849 * @param linkId the primary key for the new asset link 850 * @return the new asset link 851 */ 852 public com.liferay.portlet.asset.model.AssetLink create(long linkId); 853 854 /** 855 * Removes the asset link with the primary key from the database. Also notifies the appropriate model listeners. 856 * 857 * @param linkId the primary key of the asset link 858 * @return the asset link that was removed 859 * @throws com.liferay.portlet.asset.NoSuchLinkException if a asset link with the primary key could not be found 860 * @throws SystemException if a system exception occurred 861 */ 862 public com.liferay.portlet.asset.model.AssetLink remove(long linkId) 863 throws com.liferay.portal.kernel.exception.SystemException, 864 com.liferay.portlet.asset.NoSuchLinkException; 865 866 public com.liferay.portlet.asset.model.AssetLink updateImpl( 867 com.liferay.portlet.asset.model.AssetLink assetLink) 868 throws com.liferay.portal.kernel.exception.SystemException; 869 870 /** 871 * Returns the asset link with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchLinkException} if it could not be found. 872 * 873 * @param linkId the primary key of the asset link 874 * @return the asset link 875 * @throws com.liferay.portlet.asset.NoSuchLinkException if a asset link with the primary key could not be found 876 * @throws SystemException if a system exception occurred 877 */ 878 public com.liferay.portlet.asset.model.AssetLink findByPrimaryKey( 879 long linkId) 880 throws com.liferay.portal.kernel.exception.SystemException, 881 com.liferay.portlet.asset.NoSuchLinkException; 882 883 /** 884 * Returns the asset link with the primary key or returns <code>null</code> if it could not be found. 885 * 886 * @param linkId the primary key of the asset link 887 * @return the asset link, or <code>null</code> if a asset link with the primary key could not be found 888 * @throws SystemException if a system exception occurred 889 */ 890 public com.liferay.portlet.asset.model.AssetLink fetchByPrimaryKey( 891 long linkId) throws com.liferay.portal.kernel.exception.SystemException; 892 893 /** 894 * Returns all the asset links. 895 * 896 * @return the asset links 897 * @throws SystemException if a system exception occurred 898 */ 899 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findAll() 900 throws com.liferay.portal.kernel.exception.SystemException; 901 902 /** 903 * Returns a range of all the asset links. 904 * 905 * <p> 906 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 907 * </p> 908 * 909 * @param start the lower bound of the range of asset links 910 * @param end the upper bound of the range of asset links (not inclusive) 911 * @return the range of asset links 912 * @throws SystemException if a system exception occurred 913 */ 914 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findAll( 915 int start, int end) 916 throws com.liferay.portal.kernel.exception.SystemException; 917 918 /** 919 * Returns an ordered range of all the asset links. 920 * 921 * <p> 922 * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <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.AssetLinkModelImpl}. 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. 923 * </p> 924 * 925 * @param start the lower bound of the range of asset links 926 * @param end the upper bound of the range of asset links (not inclusive) 927 * @param orderByComparator the comparator to order the results by (optionally <code>null</code>) 928 * @return the ordered range of asset links 929 * @throws SystemException if a system exception occurred 930 */ 931 public java.util.List<com.liferay.portlet.asset.model.AssetLink> findAll( 932 int start, int end, 933 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 934 throws com.liferay.portal.kernel.exception.SystemException; 935 936 /** 937 * Removes all the asset links from the database. 938 * 939 * @throws SystemException if a system exception occurred 940 */ 941 public void removeAll() 942 throws com.liferay.portal.kernel.exception.SystemException; 943 944 /** 945 * Returns the number of asset links. 946 * 947 * @return the number of asset links 948 * @throws SystemException if a system exception occurred 949 */ 950 public int countAll() 951 throws com.liferay.portal.kernel.exception.SystemException; 952 }