com.liferay.portal.service.persistence
Interface GroupPersistence

All Known Implementing Classes:
GroupPersistenceImpl

public interface GroupPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addOrganization(long pk, long organizationPK)
           
 void addOrganization(long pk, com.liferay.portal.model.Organization organization)
           
 void addOrganizations(long pk, java.util.List organizations)
           
 void addOrganizations(long pk, long[] organizationPKs)
           
 void addPermission(long pk, long permissionPK)
           
 void addPermission(long pk, com.liferay.portal.model.Permission permission)
           
 void addPermissions(long pk, java.util.List permissions)
           
 void addPermissions(long pk, long[] permissionPKs)
           
 void addRole(long pk, long rolePK)
           
 void addRole(long pk, com.liferay.portal.model.Role role)
           
 void addRoles(long pk, java.util.List roles)
           
 void addRoles(long pk, long[] rolePKs)
           
 void addUser(long pk, long userPK)
           
 void addUser(long pk, com.liferay.portal.model.User user)
           
 void addUserGroup(long pk, long userGroupPK)
           
 void addUserGroup(long pk, com.liferay.portal.model.UserGroup userGroup)
           
 void addUserGroups(long pk, java.util.List userGroups)
           
 void addUserGroups(long pk, long[] userGroupPKs)
           
 void addUsers(long pk, java.util.List users)
           
 void addUsers(long pk, long[] userPKs)
           
 void clearOrganizations(long pk)
           
 void clearPermissions(long pk)
           
 void clearRoles(long pk)
           
 void clearUserGroups(long pk)
           
 void clearUsers(long pk)
           
 boolean containsOrganization(long pk, long organizationPK)
           
 boolean containsOrganizations(long pk)
           
 boolean containsPermission(long pk, long permissionPK)
           
 boolean containsPermissions(long pk)
           
 boolean containsRole(long pk, long rolePK)
           
 boolean containsRoles(long pk)
           
 boolean containsUser(long pk, long userPK)
           
 boolean containsUserGroup(long pk, long userGroupPK)
           
 boolean containsUserGroups(long pk)
           
 boolean containsUsers(long pk)
           
 int countAll()
           
 int countByC_C_C(long companyId, long classNameId, long classPK)
           
 int countByC_F(long companyId, java.lang.String friendlyURL)
           
 int countByC_N(long companyId, java.lang.String name)
           
 int countByLiveGroupId(long liveGroupId)
           
 com.liferay.portal.model.Group create(long groupId)
           
 com.liferay.portal.model.Group fetchByC_C_C(long companyId, long classNameId, long classPK)
           
 com.liferay.portal.model.Group fetchByC_F(long companyId, java.lang.String friendlyURL)
           
 com.liferay.portal.model.Group fetchByC_N(long companyId, java.lang.String name)
           
 com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId)
           
 com.liferay.portal.model.Group fetchByPrimaryKey(long groupId)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.Group findByC_C_C(long companyId, long classNameId, long classPK)
           
 com.liferay.portal.model.Group findByC_F(long companyId, java.lang.String friendlyURL)
           
 com.liferay.portal.model.Group findByC_N(long companyId, java.lang.String name)
           
 com.liferay.portal.model.Group findByLiveGroupId(long liveGroupId)
           
 com.liferay.portal.model.Group findByPrimaryKey(long groupId)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getOrganizations(long pk)
           
 java.util.List getOrganizations(long pk, int begin, int end)
           
 java.util.List getOrganizations(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getOrganizationsSize(long pk)
           
 java.util.List getPermissions(long pk)
           
 java.util.List getPermissions(long pk, int begin, int end)
           
 java.util.List getPermissions(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getPermissionsSize(long pk)
           
 java.util.List getRoles(long pk)
           
 java.util.List getRoles(long pk, int begin, int end)
           
 java.util.List getRoles(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getRolesSize(long pk)
           
 java.util.List getUserGroups(long pk)
           
 java.util.List getUserGroups(long pk, int begin, int end)
           
 java.util.List getUserGroups(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getUserGroupsSize(long pk)
           
 java.util.List getUsers(long pk)
           
 java.util.List getUsers(long pk, int begin, int end)
           
 java.util.List getUsers(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getUsersSize(long pk)
           
 com.liferay.portal.model.Group remove(com.liferay.portal.model.Group group)
           
 com.liferay.portal.model.Group remove(long groupId)
           
 void removeAll()
           
 void removeByC_C_C(long companyId, long classNameId, long classPK)
           
 void removeByC_F(long companyId, java.lang.String friendlyURL)
           
 void removeByC_N(long companyId, java.lang.String name)
           
 void removeByLiveGroupId(long liveGroupId)
           
 void removeOrganization(long pk, long organizationPK)
           
 void removeOrganization(long pk, com.liferay.portal.model.Organization organization)
           
 void removeOrganizations(long pk, java.util.List organizations)
           
 void removeOrganizations(long pk, long[] organizationPKs)
           
 void removePermission(long pk, long permissionPK)
           
 void removePermission(long pk, com.liferay.portal.model.Permission permission)
           
 void removePermissions(long pk, java.util.List permissions)
           
 void removePermissions(long pk, long[] permissionPKs)
           
 void removeRole(long pk, long rolePK)
           
 void removeRole(long pk, com.liferay.portal.model.Role role)
           
 void removeRoles(long pk, java.util.List roles)
           
 void removeRoles(long pk, long[] rolePKs)
           
 void removeUser(long pk, long userPK)
           
 void removeUser(long pk, com.liferay.portal.model.User user)
           
 void removeUserGroup(long pk, long userGroupPK)
           
 void removeUserGroup(long pk, com.liferay.portal.model.UserGroup userGroup)
           
 void removeUserGroups(long pk, java.util.List userGroups)
           
 void removeUserGroups(long pk, long[] userGroupPKs)
           
 void removeUsers(long pk, java.util.List users)
           
 void removeUsers(long pk, long[] userPKs)
           
 void setOrganizations(long pk, java.util.List organizations)
           
 void setOrganizations(long pk, long[] organizationPKs)
           
 void setPermissions(long pk, java.util.List permissions)
           
 void setPermissions(long pk, long[] permissionPKs)
           
 void setRoles(long pk, java.util.List roles)
           
 void setRoles(long pk, long[] rolePKs)
           
 void setUserGroups(long pk, java.util.List userGroups)
           
 void setUserGroups(long pk, long[] userGroupPKs)
           
 void setUsers(long pk, java.util.List users)
           
 void setUsers(long pk, long[] userPKs)
           
 com.liferay.portal.model.Group update(com.liferay.portal.model.Group group)
           
 com.liferay.portal.model.Group update(com.liferay.portal.model.Group group, boolean merge)
           
 

Method Detail

create

public com.liferay.portal.model.Group create(long groupId)

remove

public com.liferay.portal.model.Group remove(long groupId)
                                      throws com.liferay.portal.SystemException,
                                             com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

remove

public com.liferay.portal.model.Group remove(com.liferay.portal.model.Group group)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portal.model.Group update(com.liferay.portal.model.Group group)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portal.model.Group update(com.liferay.portal.model.Group group,
                                             boolean merge)
                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portal.model.Group findByPrimaryKey(long groupId)
                                                throws com.liferay.portal.SystemException,
                                                       com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

fetchByPrimaryKey

public com.liferay.portal.model.Group fetchByPrimaryKey(long groupId)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByLiveGroupId

public com.liferay.portal.model.Group findByLiveGroupId(long liveGroupId)
                                                 throws com.liferay.portal.SystemException,
                                                        com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

fetchByLiveGroupId

public com.liferay.portal.model.Group fetchByLiveGroupId(long liveGroupId)
                                                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_N

public com.liferay.portal.model.Group findByC_N(long companyId,
                                                java.lang.String name)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

fetchByC_N

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

findByC_F

public com.liferay.portal.model.Group findByC_F(long companyId,
                                                java.lang.String friendlyURL)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

fetchByC_F

public com.liferay.portal.model.Group fetchByC_F(long companyId,
                                                 java.lang.String friendlyURL)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C_C

public com.liferay.portal.model.Group findByC_C_C(long companyId,
                                                  long classNameId,
                                                  long classPK)
                                           throws com.liferay.portal.SystemException,
                                                  com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

fetchByC_C_C

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

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByLiveGroupId

public void removeByLiveGroupId(long liveGroupId)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

removeByC_N

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

removeByC_F

public void removeByC_F(long companyId,
                        java.lang.String friendlyURL)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

removeByC_C_C

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

removeAll

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

countByLiveGroupId

public int countByLiveGroupId(long liveGroupId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_N

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

countByC_F

public int countByC_F(long companyId,
                      java.lang.String friendlyURL)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C_C

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

countAll

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

getOrganizations

public java.util.List getOrganizations(long pk)
                                throws com.liferay.portal.SystemException,
                                       com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getOrganizations

public java.util.List getOrganizations(long pk,
                                       int begin,
                                       int end)
                                throws com.liferay.portal.SystemException,
                                       com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getOrganizations

public java.util.List getOrganizations(long pk,
                                       int begin,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException,
                                       com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getOrganizationsSize

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

containsOrganization

public boolean containsOrganization(long pk,
                                    long organizationPK)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsOrganizations

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

addOrganization

public void addOrganization(long pk,
                            long organizationPK)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.NoSuchGroupException,
                            com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

addOrganization

public void addOrganization(long pk,
                            com.liferay.portal.model.Organization organization)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.NoSuchGroupException,
                            com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

addOrganizations

public void addOrganizations(long pk,
                             long[] organizationPKs)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.NoSuchGroupException,
                             com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

addOrganizations

public void addOrganizations(long pk,
                             java.util.List organizations)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.NoSuchGroupException,
                             com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

clearOrganizations

public void clearOrganizations(long pk)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

removeOrganization

public void removeOrganization(long pk,
                               long organizationPK)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException,
                               com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

removeOrganization

public void removeOrganization(long pk,
                               com.liferay.portal.model.Organization organization)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException,
                               com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

removeOrganizations

public void removeOrganizations(long pk,
                                long[] organizationPKs)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.NoSuchGroupException,
                                com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

removeOrganizations

public void removeOrganizations(long pk,
                                java.util.List organizations)
                         throws com.liferay.portal.SystemException,
                                com.liferay.portal.NoSuchGroupException,
                                com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

setOrganizations

public void setOrganizations(long pk,
                             long[] organizationPKs)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.NoSuchGroupException,
                             com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

setOrganizations

public void setOrganizations(long pk,
                             java.util.List organizations)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.NoSuchGroupException,
                             com.liferay.portal.NoSuchOrganizationException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchOrganizationException

getPermissions

public java.util.List getPermissions(long pk)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getPermissions

public java.util.List getPermissions(long pk,
                                     int begin,
                                     int end)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getPermissions

public java.util.List getPermissions(long pk,
                                     int begin,
                                     int end,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getPermissionsSize

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

containsPermission

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

containsPermissions

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

addPermission

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

addPermission

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

addPermissions

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

addPermissions

public void addPermissions(long pk,
                           java.util.List permissions)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.NoSuchPermissionException,
                           com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException

clearPermissions

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

removePermission

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

removePermission

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

removePermissions

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

removePermissions

public void removePermissions(long pk,
                              java.util.List permissions)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.NoSuchPermissionException,
                              com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException

setPermissions

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

setPermissions

public void setPermissions(long pk,
                           java.util.List permissions)
                    throws com.liferay.portal.SystemException,
                           com.liferay.portal.NoSuchPermissionException,
                           com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchGroupException

getRoles

public java.util.List getRoles(long pk)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getRoles

public java.util.List getRoles(long pk,
                               int begin,
                               int end)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getRoles

public java.util.List getRoles(long pk,
                               int begin,
                               int end,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getRolesSize

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

containsRole

public boolean containsRole(long pk,
                            long rolePK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsRoles

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

addRole

public void addRole(long pk,
                    long rolePK)
             throws com.liferay.portal.SystemException,
                    com.liferay.portal.NoSuchRoleException,
                    com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

addRole

public void addRole(long pk,
                    com.liferay.portal.model.Role role)
             throws com.liferay.portal.SystemException,
                    com.liferay.portal.NoSuchRoleException,
                    com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

addRoles

public void addRoles(long pk,
                     long[] rolePKs)
              throws com.liferay.portal.SystemException,
                     com.liferay.portal.NoSuchRoleException,
                     com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

addRoles

public void addRoles(long pk,
                     java.util.List roles)
              throws com.liferay.portal.SystemException,
                     com.liferay.portal.NoSuchRoleException,
                     com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

clearRoles

public void clearRoles(long pk)
                throws com.liferay.portal.SystemException,
                       com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

removeRole

public void removeRole(long pk,
                       long rolePK)
                throws com.liferay.portal.SystemException,
                       com.liferay.portal.NoSuchRoleException,
                       com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

removeRole

public void removeRole(long pk,
                       com.liferay.portal.model.Role role)
                throws com.liferay.portal.SystemException,
                       com.liferay.portal.NoSuchRoleException,
                       com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

removeRoles

public void removeRoles(long pk,
                        long[] rolePKs)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.NoSuchRoleException,
                        com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

removeRoles

public void removeRoles(long pk,
                        java.util.List roles)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.NoSuchRoleException,
                        com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

setRoles

public void setRoles(long pk,
                     long[] rolePKs)
              throws com.liferay.portal.SystemException,
                     com.liferay.portal.NoSuchRoleException,
                     com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

setRoles

public void setRoles(long pk,
                     java.util.List roles)
              throws com.liferay.portal.SystemException,
                     com.liferay.portal.NoSuchRoleException,
                     com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchGroupException

getUserGroups

public java.util.List getUserGroups(long pk)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getUserGroups

public java.util.List getUserGroups(long pk,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getUserGroups

public java.util.List getUserGroups(long pk,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getUserGroupsSize

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

containsUserGroup

public boolean containsUserGroup(long pk,
                                 long userGroupPK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsUserGroups

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

addUserGroup

public void addUserGroup(long pk,
                         long userGroupPK)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.NoSuchGroupException,
                         com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

addUserGroup

public void addUserGroup(long pk,
                         com.liferay.portal.model.UserGroup userGroup)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.NoSuchGroupException,
                         com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

addUserGroups

public void addUserGroups(long pk,
                          long[] userGroupPKs)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.NoSuchGroupException,
                          com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

addUserGroups

public void addUserGroups(long pk,
                          java.util.List userGroups)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.NoSuchGroupException,
                          com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

clearUserGroups

public void clearUserGroups(long pk)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

removeUserGroup

public void removeUserGroup(long pk,
                            long userGroupPK)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.NoSuchGroupException,
                            com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

removeUserGroup

public void removeUserGroup(long pk,
                            com.liferay.portal.model.UserGroup userGroup)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.NoSuchGroupException,
                            com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

removeUserGroups

public void removeUserGroups(long pk,
                             long[] userGroupPKs)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.NoSuchGroupException,
                             com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

removeUserGroups

public void removeUserGroups(long pk,
                             java.util.List userGroups)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.NoSuchGroupException,
                             com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

setUserGroups

public void setUserGroups(long pk,
                          long[] userGroupPKs)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.NoSuchGroupException,
                          com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

setUserGroups

public void setUserGroups(long pk,
                          java.util.List userGroups)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.NoSuchGroupException,
                          com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserGroupException

getUsers

public java.util.List getUsers(long pk)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getUsers

public java.util.List getUsers(long pk,
                               int begin,
                               int end)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getUsers

public java.util.List getUsers(long pk,
                               int begin,
                               int end,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException

getUsersSize

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

containsUser

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

containsUsers

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

addUser

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

addUser

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

addUsers

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

addUsers

public void addUsers(long pk,
                     java.util.List users)
              throws com.liferay.portal.SystemException,
                     com.liferay.portal.NoSuchGroupException,
                     com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException

clearUsers

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

removeUser

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

removeUser

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

removeUsers

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

removeUsers

public void removeUsers(long pk,
                        java.util.List users)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.NoSuchGroupException,
                        com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException

setUsers

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

setUsers

public void setUsers(long pk,
                     java.util.List users)
              throws com.liferay.portal.SystemException,
                     com.liferay.portal.NoSuchGroupException,
                     com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchGroupException
com.liferay.portal.NoSuchUserException