com.liferay.portal.service.persistence
Interface RolePersistence

All Superinterfaces:
BasePersistence<Role>

public interface RolePersistence
extends BasePersistence<Role>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
RolePersistenceImpl, RoleUtil
Generated:

Method Summary
 void addGroup(long pk, Group group)
           
 void addGroup(long pk, long groupPK)
           
 void addGroups(long pk, java.util.List<Group> groups)
           
 void addGroups(long pk, long[] groupPKs)
           
 void addPermission(long pk, long permissionPK)
           
 void addPermission(long pk, Permission permission)
           
 void addPermissions(long pk, java.util.List<Permission> permissions)
           
 void addPermissions(long pk, long[] permissionPKs)
           
 void addUser(long pk, long userPK)
           
 void addUser(long pk, User user)
           
 void addUsers(long pk, java.util.List<User> users)
           
 void addUsers(long pk, long[] userPKs)
           
 void cacheResult(java.util.List<Role> roles)
           
 void cacheResult(Role role)
           
 void clearGroups(long pk)
           
 void clearPermissions(long pk)
           
 void clearUsers(long pk)
           
 boolean containsGroup(long pk, long groupPK)
           
 boolean containsGroups(long pk)
           
 boolean containsPermission(long pk, long permissionPK)
           
 boolean containsPermissions(long pk)
           
 boolean containsUser(long pk, long userPK)
           
 boolean containsUsers(long pk)
           
 int countAll()
           
 int countByC_C_C(long companyId, long classNameId, long classPK)
           
 int countByC_N(long companyId, java.lang.String name)
           
 int countByCompanyId(long companyId)
           
 int countBySubtype(java.lang.String subtype)
           
 int countByT_S(int type, java.lang.String subtype)
           
 Role create(long roleId)
           
 Role fetchByC_C_C(long companyId, long classNameId, long classPK)
           
 Role fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache)
           
 Role fetchByC_N(long companyId, java.lang.String name)
           
 Role fetchByC_N(long companyId, java.lang.String name, boolean retrieveFromCache)
           
 Role fetchByPrimaryKey(long roleId)
           
 java.util.List<Role> findAll()
           
 java.util.List<Role> findAll(int start, int end)
           
 java.util.List<Role> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role findByC_C_C(long companyId, long classNameId, long classPK)
           
 Role findByC_N(long companyId, java.lang.String name)
           
 Role findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role[] findByCompanyId_PrevAndNext(long roleId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<Role> findByCompanyId(long companyId)
           
 java.util.List<Role> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<Role> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role findByPrimaryKey(long roleId)
           
 Role findBySubtype_First(java.lang.String subtype, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role findBySubtype_Last(java.lang.String subtype, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role[] findBySubtype_PrevAndNext(long roleId, java.lang.String subtype, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<Role> findBySubtype(java.lang.String subtype)
           
 java.util.List<Role> findBySubtype(java.lang.String subtype, int start, int end)
           
 java.util.List<Role> findBySubtype(java.lang.String subtype, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role findByT_S_First(int type, java.lang.String subtype, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role findByT_S_Last(int type, java.lang.String subtype, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 Role[] findByT_S_PrevAndNext(long roleId, int type, java.lang.String subtype, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<Role> findByT_S(int type, java.lang.String subtype)
           
 java.util.List<Role> findByT_S(int type, java.lang.String subtype, int start, int end)
           
 java.util.List<Role> findByT_S(int type, java.lang.String subtype, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<Group> getGroups(long pk)
           
 java.util.List<Group> getGroups(long pk, int start, int end)
           
 java.util.List<Group> getGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getGroupsSize(long pk)
           
 java.util.List<Permission> getPermissions(long pk)
           
 java.util.List<Permission> getPermissions(long pk, int start, int end)
           
 java.util.List<Permission> getPermissions(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getPermissionsSize(long pk)
           
 java.util.List<User> getUsers(long pk)
           
 java.util.List<User> getUsers(long pk, int start, int end)
           
 java.util.List<User> getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getUsersSize(long pk)
           
 Role remove(long roleId)
           
 void removeAll()
           
 void removeByC_C_C(long companyId, long classNameId, long classPK)
           
 void removeByC_N(long companyId, java.lang.String name)
           
 void removeByCompanyId(long companyId)
           
 void removeBySubtype(java.lang.String subtype)
           
 void removeByT_S(int type, java.lang.String subtype)
           
 void removeGroup(long pk, Group group)
           
 void removeGroup(long pk, long groupPK)
           
 void removeGroups(long pk, java.util.List<Group> groups)
           
 void removeGroups(long pk, long[] groupPKs)
           
 void removePermission(long pk, long permissionPK)
           
 void removePermission(long pk, Permission permission)
           
 void removePermissions(long pk, java.util.List<Permission> permissions)
           
 void removePermissions(long pk, long[] permissionPKs)
           
 void removeUser(long pk, long userPK)
           
 void removeUser(long pk, User user)
           
 void removeUsers(long pk, java.util.List<User> users)
           
 void removeUsers(long pk, long[] userPKs)
           
 void setGroups(long pk, java.util.List<Group> groups)
           
 void setGroups(long pk, long[] groupPKs)
           
 void setPermissions(long pk, java.util.List<Permission> permissions)
           
 void setPermissions(long pk, long[] permissionPKs)
           
 void setUsers(long pk, java.util.List<User> users)
           
 void setUsers(long pk, long[] userPKs)
           
 Role update(Role role)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 Role updateImpl(Role role, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(Role role)

cacheResult

void cacheResult(java.util.List<Role> roles)

create

Role create(long roleId)

remove

Role remove(long roleId)
            throws NoSuchRoleException,
                   com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

update

Role update(Role role)
            throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

Role updateImpl(Role role,
                boolean merge)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

Role findByPrimaryKey(long roleId)
                      throws NoSuchRoleException,
                             com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

fetchByPrimaryKey

Role fetchByPrimaryKey(long roleId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<Role> findByCompanyId(long companyId)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<Role> findByCompanyId(long companyId,
                                     int start,
                                     int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<Role> findByCompanyId(long companyId,
                                     int start,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

Role findByCompanyId_First(long companyId,
                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                           throws NoSuchRoleException,
                                  com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findByCompanyId_Last

Role findByCompanyId_Last(long companyId,
                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                          throws NoSuchRoleException,
                                 com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findByCompanyId_PrevAndNext

Role[] findByCompanyId_PrevAndNext(long roleId,
                                   long companyId,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws NoSuchRoleException,
                                          com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findBySubtype

java.util.List<Role> findBySubtype(java.lang.String subtype)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySubtype

java.util.List<Role> findBySubtype(java.lang.String subtype,
                                   int start,
                                   int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySubtype

java.util.List<Role> findBySubtype(java.lang.String subtype,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findBySubtype_First

Role findBySubtype_First(java.lang.String subtype,
                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                         throws NoSuchRoleException,
                                com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findBySubtype_Last

Role findBySubtype_Last(java.lang.String subtype,
                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                        throws NoSuchRoleException,
                               com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findBySubtype_PrevAndNext

Role[] findBySubtype_PrevAndNext(long roleId,
                                 java.lang.String subtype,
                                 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                 throws NoSuchRoleException,
                                        com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findByC_N

Role findByC_N(long companyId,
               java.lang.String name)
               throws NoSuchRoleException,
                      com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

fetchByC_N

Role fetchByC_N(long companyId,
                java.lang.String name)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_N

Role fetchByC_N(long companyId,
                java.lang.String name,
                boolean retrieveFromCache)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_S

java.util.List<Role> findByT_S(int type,
                               java.lang.String subtype)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_S

java.util.List<Role> findByT_S(int type,
                               java.lang.String subtype,
                               int start,
                               int end)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_S

java.util.List<Role> findByT_S(int type,
                               java.lang.String subtype,
                               int start,
                               int end,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_S_First

Role findByT_S_First(int type,
                     java.lang.String subtype,
                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                     throws NoSuchRoleException,
                            com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findByT_S_Last

Role findByT_S_Last(int type,
                    java.lang.String subtype,
                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                    throws NoSuchRoleException,
                           com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findByT_S_PrevAndNext

Role[] findByT_S_PrevAndNext(long roleId,
                             int type,
                             java.lang.String subtype,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws NoSuchRoleException,
                                    com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

findByC_C_C

Role findByC_C_C(long companyId,
                 long classNameId,
                 long classPK)
                 throws NoSuchRoleException,
                        com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

fetchByC_C_C

Role fetchByC_C_C(long companyId,
                  long classNameId,
                  long classPK)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_C_C

Role fetchByC_C_C(long companyId,
                  long classNameId,
                  long classPK,
                  boolean retrieveFromCache)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<Role> findAll()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<Role> findAll(int start,
                             int end)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

java.util.List<Role> findAll(int start,
                             int end,
                             com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeBySubtype

void removeBySubtype(java.lang.String subtype)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_N

void removeByC_N(long companyId,
                 java.lang.String name)
                 throws NoSuchRoleException,
                        com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

removeByT_S

void removeByT_S(int type,
                 java.lang.String subtype)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C_C

void removeByC_C_C(long companyId,
                   long classNameId,
                   long classPK)
                   throws NoSuchRoleException,
                          com.liferay.portal.SystemException
Throws:
NoSuchRoleException
com.liferay.portal.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countBySubtype

int countBySubtype(java.lang.String subtype)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_N

int countByC_N(long companyId,
               java.lang.String name)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByT_S

int countByT_S(int type,
               java.lang.String subtype)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C_C

int countByC_C_C(long companyId,
                 long classNameId,
                 long classPK)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroups

java.util.List<Group> getGroups(long pk)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroups

java.util.List<Group> getGroups(long pk,
                                int start,
                                int end)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroups

java.util.List<Group> getGroups(long pk,
                                int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupsSize

int getGroupsSize(long pk)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsGroup

boolean containsGroup(long pk,
                      long groupPK)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsGroups

boolean containsGroups(long pk)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addGroup

void addGroup(long pk,
              long groupPK)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addGroup

void addGroup(long pk,
              Group group)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addGroups

void addGroups(long pk,
               long[] groupPKs)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addGroups

void addGroups(long pk,
               java.util.List<Group> groups)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearGroups

void clearGroups(long pk)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeGroup

void removeGroup(long pk,
                 long groupPK)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeGroup

void removeGroup(long pk,
                 Group group)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeGroups

void removeGroups(long pk,
                  long[] groupPKs)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeGroups

void removeGroups(long pk,
                  java.util.List<Group> groups)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setGroups

void setGroups(long pk,
               long[] groupPKs)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setGroups

void setGroups(long pk,
               java.util.List<Group> groups)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPermissions

java.util.List<Permission> getPermissions(long pk)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPermissions

java.util.List<Permission> getPermissions(long pk,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPermissions

java.util.List<Permission> getPermissions(long pk,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getPermissionsSize

int getPermissionsSize(long pk)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsPermission

boolean containsPermission(long pk,
                           long permissionPK)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsPermissions

boolean containsPermissions(long pk)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addPermission

void addPermission(long pk,
                   long permissionPK)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addPermission

void addPermission(long pk,
                   Permission permission)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addPermissions

void addPermissions(long pk,
                    long[] permissionPKs)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addPermissions

void addPermissions(long pk,
                    java.util.List<Permission> permissions)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearPermissions

void clearPermissions(long pk)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removePermission

void removePermission(long pk,
                      long permissionPK)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removePermission

void removePermission(long pk,
                      Permission permission)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removePermissions

void removePermissions(long pk,
                       long[] permissionPKs)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removePermissions

void removePermissions(long pk,
                       java.util.List<Permission> permissions)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setPermissions

void setPermissions(long pk,
                    long[] permissionPKs)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setPermissions

void setPermissions(long pk,
                    java.util.List<Permission> permissions)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUsers

java.util.List<User> getUsers(long pk)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUsers

java.util.List<User> getUsers(long pk,
                              int start,
                              int end)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUsers

java.util.List<User> getUsers(long pk,
                              int start,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUsersSize

int getUsersSize(long pk)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsUser

boolean containsUser(long pk,
                     long userPK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsUsers

boolean containsUsers(long pk)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addUser

void addUser(long pk,
             long userPK)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addUser

void addUser(long pk,
             User user)
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addUsers

void addUsers(long pk,
              long[] userPKs)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addUsers

void addUsers(long pk,
              java.util.List<User> users)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearUsers

void clearUsers(long pk)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeUser

void removeUser(long pk,
                long userPK)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeUser

void removeUser(long pk,
                User user)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeUsers

void removeUsers(long pk,
                 long[] userPKs)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeUsers

void removeUsers(long pk,
                 java.util.List<User> users)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setUsers

void setUsers(long pk,
              long[] userPKs)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setUsers

void setUsers(long pk,
              java.util.List<User> users)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException