001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portal.service.persistence; 016 017 import com.liferay.portal.model.UserTracker; 018 019 /** 020 * The persistence interface for the user tracker service. 021 * 022 * <p> 023 * Never modify or reference this interface directly. Always use {@link UserTrackerUtil} to access the user tracker persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface. 024 * </p> 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 UserTrackerPersistenceImpl 032 * @see UserTrackerUtil 033 * @generated 034 */ 035 public interface UserTrackerPersistence extends BasePersistence<UserTracker> { 036 /** 037 * Caches the user tracker in the entity cache if it is enabled. 038 * 039 * @param userTracker the user tracker to cache 040 */ 041 public void cacheResult(com.liferay.portal.model.UserTracker userTracker); 042 043 /** 044 * Caches the user trackers in the entity cache if it is enabled. 045 * 046 * @param userTrackers the user trackers to cache 047 */ 048 public void cacheResult( 049 java.util.List<com.liferay.portal.model.UserTracker> userTrackers); 050 051 /** 052 * Creates a new user tracker with the primary key. Does not add the user tracker to the database. 053 * 054 * @param userTrackerId the primary key for the new user tracker 055 * @return the new user tracker 056 */ 057 public com.liferay.portal.model.UserTracker create(long userTrackerId); 058 059 /** 060 * Removes the user tracker with the primary key from the database. Also notifies the appropriate model listeners. 061 * 062 * @param userTrackerId the primary key of the user tracker to remove 063 * @return the user tracker that was removed 064 * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found 065 * @throws SystemException if a system exception occurred 066 */ 067 public com.liferay.portal.model.UserTracker remove(long userTrackerId) 068 throws com.liferay.portal.NoSuchUserTrackerException, 069 com.liferay.portal.kernel.exception.SystemException; 070 071 public com.liferay.portal.model.UserTracker updateImpl( 072 com.liferay.portal.model.UserTracker userTracker, boolean merge) 073 throws com.liferay.portal.kernel.exception.SystemException; 074 075 /** 076 * Finds the user tracker with the primary key or throws a {@link com.liferay.portal.NoSuchUserTrackerException} if it could not be found. 077 * 078 * @param userTrackerId the primary key of the user tracker to find 079 * @return the user tracker 080 * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found 081 * @throws SystemException if a system exception occurred 082 */ 083 public com.liferay.portal.model.UserTracker findByPrimaryKey( 084 long userTrackerId) 085 throws com.liferay.portal.NoSuchUserTrackerException, 086 com.liferay.portal.kernel.exception.SystemException; 087 088 /** 089 * Finds the user tracker with the primary key or returns <code>null</code> if it could not be found. 090 * 091 * @param userTrackerId the primary key of the user tracker to find 092 * @return the user tracker, or <code>null</code> if a user tracker with the primary key could not be found 093 * @throws SystemException if a system exception occurred 094 */ 095 public com.liferay.portal.model.UserTracker fetchByPrimaryKey( 096 long userTrackerId) 097 throws com.liferay.portal.kernel.exception.SystemException; 098 099 /** 100 * Finds all the user trackers where companyId = ?. 101 * 102 * @param companyId the company id to search with 103 * @return the matching user trackers 104 * @throws SystemException if a system exception occurred 105 */ 106 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId( 107 long companyId) 108 throws com.liferay.portal.kernel.exception.SystemException; 109 110 /** 111 * Finds a range of all the user trackers where companyId = ?. 112 * 113 * <p> 114 * 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. 115 * </p> 116 * 117 * @param companyId the company id to search with 118 * @param start the lower bound of the range of user trackers to return 119 * @param end the upper bound of the range of user trackers to return (not inclusive) 120 * @return the range of matching user trackers 121 * @throws SystemException if a system exception occurred 122 */ 123 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId( 124 long companyId, int start, int end) 125 throws com.liferay.portal.kernel.exception.SystemException; 126 127 /** 128 * Finds an ordered range of all the user trackers where companyId = ?. 129 * 130 * <p> 131 * 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. 132 * </p> 133 * 134 * @param companyId the company id to search with 135 * @param start the lower bound of the range of user trackers to return 136 * @param end the upper bound of the range of user trackers to return (not inclusive) 137 * @param orderByComparator the comparator to order the results by 138 * @return the ordered range of matching user trackers 139 * @throws SystemException if a system exception occurred 140 */ 141 public java.util.List<com.liferay.portal.model.UserTracker> findByCompanyId( 142 long companyId, int start, int end, 143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 144 throws com.liferay.portal.kernel.exception.SystemException; 145 146 /** 147 * Finds the first user tracker in the ordered set where companyId = ?. 148 * 149 * <p> 150 * 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. 151 * </p> 152 * 153 * @param companyId the company id to search with 154 * @param orderByComparator the comparator to order the set by 155 * @return the first matching user tracker 156 * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found 157 * @throws SystemException if a system exception occurred 158 */ 159 public com.liferay.portal.model.UserTracker findByCompanyId_First( 160 long companyId, 161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 162 throws com.liferay.portal.NoSuchUserTrackerException, 163 com.liferay.portal.kernel.exception.SystemException; 164 165 /** 166 * Finds the last user tracker in the ordered set where companyId = ?. 167 * 168 * <p> 169 * 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. 170 * </p> 171 * 172 * @param companyId the company id to search with 173 * @param orderByComparator the comparator to order the set by 174 * @return the last matching user tracker 175 * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found 176 * @throws SystemException if a system exception occurred 177 */ 178 public com.liferay.portal.model.UserTracker findByCompanyId_Last( 179 long companyId, 180 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 181 throws com.liferay.portal.NoSuchUserTrackerException, 182 com.liferay.portal.kernel.exception.SystemException; 183 184 /** 185 * Finds the user trackers before and after the current user tracker in the ordered set where companyId = ?. 186 * 187 * <p> 188 * 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. 189 * </p> 190 * 191 * @param userTrackerId the primary key of the current user tracker 192 * @param companyId the company id to search with 193 * @param orderByComparator the comparator to order the set by 194 * @return the previous, current, and next user tracker 195 * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found 196 * @throws SystemException if a system exception occurred 197 */ 198 public com.liferay.portal.model.UserTracker[] findByCompanyId_PrevAndNext( 199 long userTrackerId, long companyId, 200 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 201 throws com.liferay.portal.NoSuchUserTrackerException, 202 com.liferay.portal.kernel.exception.SystemException; 203 204 /** 205 * Finds all the user trackers where userId = ?. 206 * 207 * @param userId the user id to search with 208 * @return the matching user trackers 209 * @throws SystemException if a system exception occurred 210 */ 211 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId( 212 long userId) throws com.liferay.portal.kernel.exception.SystemException; 213 214 /** 215 * Finds a range of all the user trackers where userId = ?. 216 * 217 * <p> 218 * 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. 219 * </p> 220 * 221 * @param userId the user id to search with 222 * @param start the lower bound of the range of user trackers to return 223 * @param end the upper bound of the range of user trackers to return (not inclusive) 224 * @return the range of matching user trackers 225 * @throws SystemException if a system exception occurred 226 */ 227 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId( 228 long userId, int start, int end) 229 throws com.liferay.portal.kernel.exception.SystemException; 230 231 /** 232 * Finds an ordered range of all the user trackers where userId = ?. 233 * 234 * <p> 235 * 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. 236 * </p> 237 * 238 * @param userId the user id to search with 239 * @param start the lower bound of the range of user trackers to return 240 * @param end the upper bound of the range of user trackers to return (not inclusive) 241 * @param orderByComparator the comparator to order the results by 242 * @return the ordered range of matching user trackers 243 * @throws SystemException if a system exception occurred 244 */ 245 public java.util.List<com.liferay.portal.model.UserTracker> findByUserId( 246 long userId, int start, int end, 247 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 248 throws com.liferay.portal.kernel.exception.SystemException; 249 250 /** 251 * Finds the first user tracker in the ordered set where userId = ?. 252 * 253 * <p> 254 * 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. 255 * </p> 256 * 257 * @param userId the user id to search with 258 * @param orderByComparator the comparator to order the set by 259 * @return the first matching user tracker 260 * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found 261 * @throws SystemException if a system exception occurred 262 */ 263 public com.liferay.portal.model.UserTracker findByUserId_First( 264 long userId, 265 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 266 throws com.liferay.portal.NoSuchUserTrackerException, 267 com.liferay.portal.kernel.exception.SystemException; 268 269 /** 270 * Finds the last user tracker in the ordered set where userId = ?. 271 * 272 * <p> 273 * 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. 274 * </p> 275 * 276 * @param userId the user id to search with 277 * @param orderByComparator the comparator to order the set by 278 * @return the last matching user tracker 279 * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found 280 * @throws SystemException if a system exception occurred 281 */ 282 public com.liferay.portal.model.UserTracker findByUserId_Last(long userId, 283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 284 throws com.liferay.portal.NoSuchUserTrackerException, 285 com.liferay.portal.kernel.exception.SystemException; 286 287 /** 288 * Finds the user trackers before and after the current user tracker in the ordered set where userId = ?. 289 * 290 * <p> 291 * 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. 292 * </p> 293 * 294 * @param userTrackerId the primary key of the current user tracker 295 * @param userId the user id to search with 296 * @param orderByComparator the comparator to order the set by 297 * @return the previous, current, and next user tracker 298 * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found 299 * @throws SystemException if a system exception occurred 300 */ 301 public com.liferay.portal.model.UserTracker[] findByUserId_PrevAndNext( 302 long userTrackerId, long userId, 303 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 304 throws com.liferay.portal.NoSuchUserTrackerException, 305 com.liferay.portal.kernel.exception.SystemException; 306 307 /** 308 * Finds all the user trackers where sessionId = ?. 309 * 310 * @param sessionId the session id to search with 311 * @return the matching user trackers 312 * @throws SystemException if a system exception occurred 313 */ 314 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId( 315 java.lang.String sessionId) 316 throws com.liferay.portal.kernel.exception.SystemException; 317 318 /** 319 * Finds a range of all the user trackers where sessionId = ?. 320 * 321 * <p> 322 * 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. 323 * </p> 324 * 325 * @param sessionId the session id to search with 326 * @param start the lower bound of the range of user trackers to return 327 * @param end the upper bound of the range of user trackers to return (not inclusive) 328 * @return the range of matching user trackers 329 * @throws SystemException if a system exception occurred 330 */ 331 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId( 332 java.lang.String sessionId, int start, int end) 333 throws com.liferay.portal.kernel.exception.SystemException; 334 335 /** 336 * Finds an ordered range of all the user trackers where sessionId = ?. 337 * 338 * <p> 339 * 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. 340 * </p> 341 * 342 * @param sessionId the session id to search with 343 * @param start the lower bound of the range of user trackers to return 344 * @param end the upper bound of the range of user trackers to return (not inclusive) 345 * @param orderByComparator the comparator to order the results by 346 * @return the ordered range of matching user trackers 347 * @throws SystemException if a system exception occurred 348 */ 349 public java.util.List<com.liferay.portal.model.UserTracker> findBySessionId( 350 java.lang.String sessionId, int start, int end, 351 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 352 throws com.liferay.portal.kernel.exception.SystemException; 353 354 /** 355 * Finds the first user tracker in the ordered set where sessionId = ?. 356 * 357 * <p> 358 * 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. 359 * </p> 360 * 361 * @param sessionId the session id to search with 362 * @param orderByComparator the comparator to order the set by 363 * @return the first matching user tracker 364 * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found 365 * @throws SystemException if a system exception occurred 366 */ 367 public com.liferay.portal.model.UserTracker findBySessionId_First( 368 java.lang.String sessionId, 369 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 370 throws com.liferay.portal.NoSuchUserTrackerException, 371 com.liferay.portal.kernel.exception.SystemException; 372 373 /** 374 * Finds the last user tracker in the ordered set where sessionId = ?. 375 * 376 * <p> 377 * 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. 378 * </p> 379 * 380 * @param sessionId the session id to search with 381 * @param orderByComparator the comparator to order the set by 382 * @return the last matching user tracker 383 * @throws com.liferay.portal.NoSuchUserTrackerException if a matching user tracker could not be found 384 * @throws SystemException if a system exception occurred 385 */ 386 public com.liferay.portal.model.UserTracker findBySessionId_Last( 387 java.lang.String sessionId, 388 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 389 throws com.liferay.portal.NoSuchUserTrackerException, 390 com.liferay.portal.kernel.exception.SystemException; 391 392 /** 393 * Finds the user trackers before and after the current user tracker in the ordered set where sessionId = ?. 394 * 395 * <p> 396 * 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. 397 * </p> 398 * 399 * @param userTrackerId the primary key of the current user tracker 400 * @param sessionId the session id to search with 401 * @param orderByComparator the comparator to order the set by 402 * @return the previous, current, and next user tracker 403 * @throws com.liferay.portal.NoSuchUserTrackerException if a user tracker with the primary key could not be found 404 * @throws SystemException if a system exception occurred 405 */ 406 public com.liferay.portal.model.UserTracker[] findBySessionId_PrevAndNext( 407 long userTrackerId, java.lang.String sessionId, 408 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 409 throws com.liferay.portal.NoSuchUserTrackerException, 410 com.liferay.portal.kernel.exception.SystemException; 411 412 /** 413 * Finds all the user trackers. 414 * 415 * @return the user trackers 416 * @throws SystemException if a system exception occurred 417 */ 418 public java.util.List<com.liferay.portal.model.UserTracker> findAll() 419 throws com.liferay.portal.kernel.exception.SystemException; 420 421 /** 422 * Finds a range of all the user trackers. 423 * 424 * <p> 425 * 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. 426 * </p> 427 * 428 * @param start the lower bound of the range of user trackers to return 429 * @param end the upper bound of the range of user trackers to return (not inclusive) 430 * @return the range of user trackers 431 * @throws SystemException if a system exception occurred 432 */ 433 public java.util.List<com.liferay.portal.model.UserTracker> findAll( 434 int start, int end) 435 throws com.liferay.portal.kernel.exception.SystemException; 436 437 /** 438 * Finds an ordered range of all the user trackers. 439 * 440 * <p> 441 * 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. 442 * </p> 443 * 444 * @param start the lower bound of the range of user trackers to return 445 * @param end the upper bound of the range of user trackers to return (not inclusive) 446 * @param orderByComparator the comparator to order the results by 447 * @return the ordered range of user trackers 448 * @throws SystemException if a system exception occurred 449 */ 450 public java.util.List<com.liferay.portal.model.UserTracker> findAll( 451 int start, int end, 452 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 453 throws com.liferay.portal.kernel.exception.SystemException; 454 455 /** 456 * Removes all the user trackers where companyId = ? from the database. 457 * 458 * @param companyId the company id to search with 459 * @throws SystemException if a system exception occurred 460 */ 461 public void removeByCompanyId(long companyId) 462 throws com.liferay.portal.kernel.exception.SystemException; 463 464 /** 465 * Removes all the user trackers where userId = ? from the database. 466 * 467 * @param userId the user id to search with 468 * @throws SystemException if a system exception occurred 469 */ 470 public void removeByUserId(long userId) 471 throws com.liferay.portal.kernel.exception.SystemException; 472 473 /** 474 * Removes all the user trackers where sessionId = ? from the database. 475 * 476 * @param sessionId the session id to search with 477 * @throws SystemException if a system exception occurred 478 */ 479 public void removeBySessionId(java.lang.String sessionId) 480 throws com.liferay.portal.kernel.exception.SystemException; 481 482 /** 483 * Removes all the user trackers from the database. 484 * 485 * @throws SystemException if a system exception occurred 486 */ 487 public void removeAll() 488 throws com.liferay.portal.kernel.exception.SystemException; 489 490 /** 491 * Counts all the user trackers where companyId = ?. 492 * 493 * @param companyId the company id to search with 494 * @return the number of matching user trackers 495 * @throws SystemException if a system exception occurred 496 */ 497 public int countByCompanyId(long companyId) 498 throws com.liferay.portal.kernel.exception.SystemException; 499 500 /** 501 * Counts all the user trackers where userId = ?. 502 * 503 * @param userId the user id to search with 504 * @return the number of matching user trackers 505 * @throws SystemException if a system exception occurred 506 */ 507 public int countByUserId(long userId) 508 throws com.liferay.portal.kernel.exception.SystemException; 509 510 /** 511 * Counts all the user trackers where sessionId = ?. 512 * 513 * @param sessionId the session id to search with 514 * @return the number of matching user trackers 515 * @throws SystemException if a system exception occurred 516 */ 517 public int countBySessionId(java.lang.String sessionId) 518 throws com.liferay.portal.kernel.exception.SystemException; 519 520 /** 521 * Counts all the user trackers. 522 * 523 * @return the number of user trackers 524 * @throws SystemException if a system exception occurred 525 */ 526 public int countAll() 527 throws com.liferay.portal.kernel.exception.SystemException; 528 }