001 /** 002 * Copyright (c) 2000-2011 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.portal.service.persistence; 016 017 import com.liferay.portal.model.Team; 018 019 /** 020 * The persistence interface for the team service. 021 * 022 * <p> 023 * Never modify or reference this interface directly. Always use {@link TeamUtil} to access the team 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 TeamPersistenceImpl 032 * @see TeamUtil 033 * @generated 034 */ 035 public interface TeamPersistence extends BasePersistence<Team> { 036 /** 037 * Caches the team in the entity cache if it is enabled. 038 * 039 * @param team the team to cache 040 */ 041 public void cacheResult(com.liferay.portal.model.Team team); 042 043 /** 044 * Caches the teams in the entity cache if it is enabled. 045 * 046 * @param teams the teams to cache 047 */ 048 public void cacheResult(java.util.List<com.liferay.portal.model.Team> teams); 049 050 /** 051 * Creates a new team with the primary key. Does not add the team to the database. 052 * 053 * @param teamId the primary key for the new team 054 * @return the new team 055 */ 056 public com.liferay.portal.model.Team create(long teamId); 057 058 /** 059 * Removes the team with the primary key from the database. Also notifies the appropriate model listeners. 060 * 061 * @param teamId the primary key of the team to remove 062 * @return the team that was removed 063 * @throws com.liferay.portal.NoSuchTeamException if a team with the primary key could not be found 064 * @throws SystemException if a system exception occurred 065 */ 066 public com.liferay.portal.model.Team remove(long teamId) 067 throws com.liferay.portal.NoSuchTeamException, 068 com.liferay.portal.kernel.exception.SystemException; 069 070 public com.liferay.portal.model.Team updateImpl( 071 com.liferay.portal.model.Team team, boolean merge) 072 throws com.liferay.portal.kernel.exception.SystemException; 073 074 /** 075 * Finds the team with the primary key or throws a {@link com.liferay.portal.NoSuchTeamException} if it could not be found. 076 * 077 * @param teamId the primary key of the team to find 078 * @return the team 079 * @throws com.liferay.portal.NoSuchTeamException if a team with the primary key could not be found 080 * @throws SystemException if a system exception occurred 081 */ 082 public com.liferay.portal.model.Team findByPrimaryKey(long teamId) 083 throws com.liferay.portal.NoSuchTeamException, 084 com.liferay.portal.kernel.exception.SystemException; 085 086 /** 087 * Finds the team with the primary key or returns <code>null</code> if it could not be found. 088 * 089 * @param teamId the primary key of the team to find 090 * @return the team, or <code>null</code> if a team with the primary key could not be found 091 * @throws SystemException if a system exception occurred 092 */ 093 public com.liferay.portal.model.Team fetchByPrimaryKey(long teamId) 094 throws com.liferay.portal.kernel.exception.SystemException; 095 096 /** 097 * Finds all the teams where groupId = ?. 098 * 099 * @param groupId the group id to search with 100 * @return the matching teams 101 * @throws SystemException if a system exception occurred 102 */ 103 public java.util.List<com.liferay.portal.model.Team> findByGroupId( 104 long groupId) 105 throws com.liferay.portal.kernel.exception.SystemException; 106 107 /** 108 * Finds a range of all the teams where groupId = ?. 109 * 110 * <p> 111 * 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. 112 * </p> 113 * 114 * @param groupId the group id to search with 115 * @param start the lower bound of the range of teams to return 116 * @param end the upper bound of the range of teams to return (not inclusive) 117 * @return the range of matching teams 118 * @throws SystemException if a system exception occurred 119 */ 120 public java.util.List<com.liferay.portal.model.Team> findByGroupId( 121 long groupId, int start, int end) 122 throws com.liferay.portal.kernel.exception.SystemException; 123 124 /** 125 * Finds an ordered range of all the teams where groupId = ?. 126 * 127 * <p> 128 * 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. 129 * </p> 130 * 131 * @param groupId the group id to search with 132 * @param start the lower bound of the range of teams to return 133 * @param end the upper bound of the range of teams to return (not inclusive) 134 * @param orderByComparator the comparator to order the results by 135 * @return the ordered range of matching teams 136 * @throws SystemException if a system exception occurred 137 */ 138 public java.util.List<com.liferay.portal.model.Team> findByGroupId( 139 long groupId, int start, int end, 140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 141 throws com.liferay.portal.kernel.exception.SystemException; 142 143 /** 144 * Finds the first team in the ordered set where groupId = ?. 145 * 146 * <p> 147 * 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. 148 * </p> 149 * 150 * @param groupId the group id to search with 151 * @param orderByComparator the comparator to order the set by 152 * @return the first matching team 153 * @throws com.liferay.portal.NoSuchTeamException if a matching team could not be found 154 * @throws SystemException if a system exception occurred 155 */ 156 public com.liferay.portal.model.Team findByGroupId_First(long groupId, 157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 158 throws com.liferay.portal.NoSuchTeamException, 159 com.liferay.portal.kernel.exception.SystemException; 160 161 /** 162 * Finds the last team in the ordered set where groupId = ?. 163 * 164 * <p> 165 * 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. 166 * </p> 167 * 168 * @param groupId the group id to search with 169 * @param orderByComparator the comparator to order the set by 170 * @return the last matching team 171 * @throws com.liferay.portal.NoSuchTeamException if a matching team could not be found 172 * @throws SystemException if a system exception occurred 173 */ 174 public com.liferay.portal.model.Team findByGroupId_Last(long groupId, 175 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 176 throws com.liferay.portal.NoSuchTeamException, 177 com.liferay.portal.kernel.exception.SystemException; 178 179 /** 180 * Finds the teams before and after the current team in the ordered set where groupId = ?. 181 * 182 * <p> 183 * 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. 184 * </p> 185 * 186 * @param teamId the primary key of the current team 187 * @param groupId the group id to search with 188 * @param orderByComparator the comparator to order the set by 189 * @return the previous, current, and next team 190 * @throws com.liferay.portal.NoSuchTeamException if a team with the primary key could not be found 191 * @throws SystemException if a system exception occurred 192 */ 193 public com.liferay.portal.model.Team[] findByGroupId_PrevAndNext( 194 long teamId, long groupId, 195 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 196 throws com.liferay.portal.NoSuchTeamException, 197 com.liferay.portal.kernel.exception.SystemException; 198 199 /** 200 * Filters by the user's permissions and finds all the teams where groupId = ?. 201 * 202 * @param groupId the group id to search with 203 * @return the matching teams that the user has permission to view 204 * @throws SystemException if a system exception occurred 205 */ 206 public java.util.List<com.liferay.portal.model.Team> filterFindByGroupId( 207 long groupId) 208 throws com.liferay.portal.kernel.exception.SystemException; 209 210 /** 211 * Filters by the user's permissions and finds a range of all the teams where groupId = ?. 212 * 213 * <p> 214 * 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. 215 * </p> 216 * 217 * @param groupId the group id to search with 218 * @param start the lower bound of the range of teams to return 219 * @param end the upper bound of the range of teams to return (not inclusive) 220 * @return the range of matching teams that the user has permission to view 221 * @throws SystemException if a system exception occurred 222 */ 223 public java.util.List<com.liferay.portal.model.Team> filterFindByGroupId( 224 long groupId, int start, int end) 225 throws com.liferay.portal.kernel.exception.SystemException; 226 227 /** 228 * Filters by the user's permissions and finds an ordered range of all the teams where groupId = ?. 229 * 230 * <p> 231 * 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. 232 * </p> 233 * 234 * @param groupId the group id to search with 235 * @param start the lower bound of the range of teams to return 236 * @param end the upper bound of the range of teams to return (not inclusive) 237 * @param orderByComparator the comparator to order the results by 238 * @return the ordered range of matching teams that the user has permission to view 239 * @throws SystemException if a system exception occurred 240 */ 241 public java.util.List<com.liferay.portal.model.Team> filterFindByGroupId( 242 long groupId, int start, int end, 243 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 244 throws com.liferay.portal.kernel.exception.SystemException; 245 246 /** 247 * Finds the team where groupId = ? and name = ? or throws a {@link com.liferay.portal.NoSuchTeamException} if it could not be found. 248 * 249 * @param groupId the group id to search with 250 * @param name the name to search with 251 * @return the matching team 252 * @throws com.liferay.portal.NoSuchTeamException if a matching team could not be found 253 * @throws SystemException if a system exception occurred 254 */ 255 public com.liferay.portal.model.Team findByG_N(long groupId, 256 java.lang.String name) 257 throws com.liferay.portal.NoSuchTeamException, 258 com.liferay.portal.kernel.exception.SystemException; 259 260 /** 261 * Finds the team where groupId = ? and name = ? or returns <code>null</code> if it could not be found. Uses the finder cache. 262 * 263 * @param groupId the group id to search with 264 * @param name the name to search with 265 * @return the matching team, or <code>null</code> if a matching team could not be found 266 * @throws SystemException if a system exception occurred 267 */ 268 public com.liferay.portal.model.Team fetchByG_N(long groupId, 269 java.lang.String name) 270 throws com.liferay.portal.kernel.exception.SystemException; 271 272 /** 273 * Finds the team where groupId = ? and name = ? or returns <code>null</code> if it could not be found, optionally using the finder cache. 274 * 275 * @param groupId the group id to search with 276 * @param name the name to search with 277 * @return the matching team, or <code>null</code> if a matching team could not be found 278 * @throws SystemException if a system exception occurred 279 */ 280 public com.liferay.portal.model.Team fetchByG_N(long groupId, 281 java.lang.String name, boolean retrieveFromCache) 282 throws com.liferay.portal.kernel.exception.SystemException; 283 284 /** 285 * Finds all the teams. 286 * 287 * @return the teams 288 * @throws SystemException if a system exception occurred 289 */ 290 public java.util.List<com.liferay.portal.model.Team> findAll() 291 throws com.liferay.portal.kernel.exception.SystemException; 292 293 /** 294 * Finds a range of all the teams. 295 * 296 * <p> 297 * 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. 298 * </p> 299 * 300 * @param start the lower bound of the range of teams to return 301 * @param end the upper bound of the range of teams to return (not inclusive) 302 * @return the range of teams 303 * @throws SystemException if a system exception occurred 304 */ 305 public java.util.List<com.liferay.portal.model.Team> findAll(int start, 306 int end) throws com.liferay.portal.kernel.exception.SystemException; 307 308 /** 309 * Finds an ordered range of all the teams. 310 * 311 * <p> 312 * 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. 313 * </p> 314 * 315 * @param start the lower bound of the range of teams to return 316 * @param end the upper bound of the range of teams to return (not inclusive) 317 * @param orderByComparator the comparator to order the results by 318 * @return the ordered range of teams 319 * @throws SystemException if a system exception occurred 320 */ 321 public java.util.List<com.liferay.portal.model.Team> findAll(int start, 322 int end, 323 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 324 throws com.liferay.portal.kernel.exception.SystemException; 325 326 /** 327 * Removes all the teams where groupId = ? from the database. 328 * 329 * @param groupId the group id to search with 330 * @throws SystemException if a system exception occurred 331 */ 332 public void removeByGroupId(long groupId) 333 throws com.liferay.portal.kernel.exception.SystemException; 334 335 /** 336 * Removes the team where groupId = ? and name = ? from the database. 337 * 338 * @param groupId the group id to search with 339 * @param name the name to search with 340 * @throws SystemException if a system exception occurred 341 */ 342 public void removeByG_N(long groupId, java.lang.String name) 343 throws com.liferay.portal.NoSuchTeamException, 344 com.liferay.portal.kernel.exception.SystemException; 345 346 /** 347 * Removes all the teams from the database. 348 * 349 * @throws SystemException if a system exception occurred 350 */ 351 public void removeAll() 352 throws com.liferay.portal.kernel.exception.SystemException; 353 354 /** 355 * Counts all the teams where groupId = ?. 356 * 357 * @param groupId the group id to search with 358 * @return the number of matching teams 359 * @throws SystemException if a system exception occurred 360 */ 361 public int countByGroupId(long groupId) 362 throws com.liferay.portal.kernel.exception.SystemException; 363 364 /** 365 * Filters by the user's permissions and counts all the teams where groupId = ?. 366 * 367 * @param groupId the group id to search with 368 * @return the number of matching teams that the user has permission to view 369 * @throws SystemException if a system exception occurred 370 */ 371 public int filterCountByGroupId(long groupId) 372 throws com.liferay.portal.kernel.exception.SystemException; 373 374 /** 375 * Counts all the teams where groupId = ? and name = ?. 376 * 377 * @param groupId the group id to search with 378 * @param name the name to search with 379 * @return the number of matching teams 380 * @throws SystemException if a system exception occurred 381 */ 382 public int countByG_N(long groupId, java.lang.String name) 383 throws com.liferay.portal.kernel.exception.SystemException; 384 385 /** 386 * Counts all the teams. 387 * 388 * @return the number of teams 389 * @throws SystemException if a system exception occurred 390 */ 391 public int countAll() 392 throws com.liferay.portal.kernel.exception.SystemException; 393 394 /** 395 * Gets all the users associated with the team. 396 * 397 * @param pk the primary key of the team to get the associated users for 398 * @return the users associated with the team 399 * @throws SystemException if a system exception occurred 400 */ 401 public java.util.List<com.liferay.portal.model.User> getUsers(long pk) 402 throws com.liferay.portal.kernel.exception.SystemException; 403 404 /** 405 * Gets a range of all the users associated with the team. 406 * 407 * <p> 408 * 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. 409 * </p> 410 * 411 * @param pk the primary key of the team to get the associated users for 412 * @param start the lower bound of the range of teams to return 413 * @param end the upper bound of the range of teams to return (not inclusive) 414 * @return the range of users associated with the team 415 * @throws SystemException if a system exception occurred 416 */ 417 public java.util.List<com.liferay.portal.model.User> getUsers(long pk, 418 int start, int end) 419 throws com.liferay.portal.kernel.exception.SystemException; 420 421 /** 422 * Gets an ordered range of all the users associated with the team. 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 pk the primary key of the team to get the associated users for 429 * @param start the lower bound of the range of teams to return 430 * @param end the upper bound of the range of teams to return (not inclusive) 431 * @param orderByComparator the comparator to order the results by 432 * @return the ordered range of users associated with the team 433 * @throws SystemException if a system exception occurred 434 */ 435 public java.util.List<com.liferay.portal.model.User> getUsers(long pk, 436 int start, int end, 437 com.liferay.portal.kernel.util.OrderByComparator orderByComparator) 438 throws com.liferay.portal.kernel.exception.SystemException; 439 440 /** 441 * Gets the number of users associated with the team. 442 * 443 * @param pk the primary key of the team to get the number of associated users for 444 * @return the number of users associated with the team 445 * @throws SystemException if a system exception occurred 446 */ 447 public int getUsersSize(long pk) 448 throws com.liferay.portal.kernel.exception.SystemException; 449 450 /** 451 * Determines if the user is associated with the team. 452 * 453 * @param pk the primary key of the team 454 * @param userPK the primary key of the user 455 * @return <code>true</code> if the user is associated with the team; <code>false</code> otherwise 456 * @throws SystemException if a system exception occurred 457 */ 458 public boolean containsUser(long pk, long userPK) 459 throws com.liferay.portal.kernel.exception.SystemException; 460 461 /** 462 * Determines if the team has any users associated with it. 463 * 464 * @param pk the primary key of the team to check for associations with users 465 * @return <code>true</code> if the team has any users associated with it; <code>false</code> otherwise 466 * @throws SystemException if a system exception occurred 467 */ 468 public boolean containsUsers(long pk) 469 throws com.liferay.portal.kernel.exception.SystemException; 470 471 /** 472 * Adds an association between the team and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache. 473 * 474 * @param pk the primary key of the team 475 * @param userPK the primary key of the user 476 * @throws SystemException if a system exception occurred 477 */ 478 public void addUser(long pk, long userPK) 479 throws com.liferay.portal.kernel.exception.SystemException; 480 481 /** 482 * Adds an association between the team and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache. 483 * 484 * @param pk the primary key of the team 485 * @param user the user 486 * @throws SystemException if a system exception occurred 487 */ 488 public void addUser(long pk, com.liferay.portal.model.User user) 489 throws com.liferay.portal.kernel.exception.SystemException; 490 491 /** 492 * Adds an association between the team and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache. 493 * 494 * @param pk the primary key of the team 495 * @param userPKs the primary keys of the users 496 * @throws SystemException if a system exception occurred 497 */ 498 public void addUsers(long pk, long[] userPKs) 499 throws com.liferay.portal.kernel.exception.SystemException; 500 501 /** 502 * Adds an association between the team and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache. 503 * 504 * @param pk the primary key of the team 505 * @param users the users 506 * @throws SystemException if a system exception occurred 507 */ 508 public void addUsers(long pk, 509 java.util.List<com.liferay.portal.model.User> users) 510 throws com.liferay.portal.kernel.exception.SystemException; 511 512 /** 513 * Clears all associations between the team and its users. Also notifies the appropriate model listeners and clears the mapping table finder cache. 514 * 515 * @param pk the primary key of the team to clear the associated users from 516 * @throws SystemException if a system exception occurred 517 */ 518 public void clearUsers(long pk) 519 throws com.liferay.portal.kernel.exception.SystemException; 520 521 /** 522 * Removes the association between the team and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache. 523 * 524 * @param pk the primary key of the team 525 * @param userPK the primary key of the user 526 * @throws SystemException if a system exception occurred 527 */ 528 public void removeUser(long pk, long userPK) 529 throws com.liferay.portal.kernel.exception.SystemException; 530 531 /** 532 * Removes the association between the team and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache. 533 * 534 * @param pk the primary key of the team 535 * @param user the user 536 * @throws SystemException if a system exception occurred 537 */ 538 public void removeUser(long pk, com.liferay.portal.model.User user) 539 throws com.liferay.portal.kernel.exception.SystemException; 540 541 /** 542 * Removes the association between the team and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache. 543 * 544 * @param pk the primary key of the team 545 * @param userPKs the primary keys of the users 546 * @throws SystemException if a system exception occurred 547 */ 548 public void removeUsers(long pk, long[] userPKs) 549 throws com.liferay.portal.kernel.exception.SystemException; 550 551 /** 552 * Removes the association between the team and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache. 553 * 554 * @param pk the primary key of the team 555 * @param users the users 556 * @throws SystemException if a system exception occurred 557 */ 558 public void removeUsers(long pk, 559 java.util.List<com.liferay.portal.model.User> users) 560 throws com.liferay.portal.kernel.exception.SystemException; 561 562 /** 563 * Sets the users associated with the team, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 564 * 565 * @param pk the primary key of the team to set the associations for 566 * @param userPKs the primary keys of the users to be associated with the team 567 * @throws SystemException if a system exception occurred 568 */ 569 public void setUsers(long pk, long[] userPKs) 570 throws com.liferay.portal.kernel.exception.SystemException; 571 572 /** 573 * Sets the users associated with the team, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. 574 * 575 * @param pk the primary key of the team to set the associations for 576 * @param users the users to be associated with the team 577 * @throws SystemException if a system exception occurred 578 */ 579 public void setUsers(long pk, 580 java.util.List<com.liferay.portal.model.User> users) 581 throws com.liferay.portal.kernel.exception.SystemException; 582 }