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