com.liferay.portal.service.persistence
Interface GroupPersistence

All Superinterfaces:
BasePersistence

public interface GroupPersistence
extends BasePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addOrganization(long pk, long organizationPK)
           
 void addOrganization(long pk, Organization organization)
           
 void addOrganizations(long pk, java.util.List<Organization> organizations)
           
 void addOrganizations(long pk, long[] organizationPKs)
           
 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 addRole(long pk, long rolePK)
           
 void addRole(long pk, Role role)
           
 void addRoles(long pk, java.util.List<Role> roles)
           
 void addRoles(long pk, long[] rolePKs)
           
 void addUser(long pk, long userPK)
           
 void addUser(long pk, User user)
           
 void addUserGroup(long pk, long userGroupPK)
           
 void addUserGroup(long pk, UserGroup userGroup)
           
 void addUserGroups(long pk, java.util.List<UserGroup> userGroups)
           
 void addUserGroups(long pk, long[] userGroupPKs)
           
 void addUsers(long pk, java.util.List<User> users)
           
 void addUsers(long pk, long[] userPKs)
           
 void cacheResult(Group group)
           
 void cacheResult(java.util.List<Group> groups)
           
 void clearCache()
           
 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_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
           
 int countByC_F(long companyId, java.lang.String friendlyURL)
           
 int countByC_L_N(long companyId, long liveGroupId, java.lang.String name)
           
 int countByC_N(long companyId, java.lang.String name)
           
 int countByLiveGroupId(long liveGroupId)
           
 int countByT_A(int type, boolean active)
           
 Group create(long groupId)
           
 Group fetchByC_C_C(long companyId, long classNameId, long classPK)
           
 Group fetchByC_C_C(long companyId, long classNameId, long classPK, boolean retrieveFromCache)
           
 Group fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
           
 Group fetchByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name, boolean retrieveFromCache)
           
 Group fetchByC_F(long companyId, java.lang.String friendlyURL)
           
 Group fetchByC_F(long companyId, java.lang.String friendlyURL, boolean retrieveFromCache)
           
 Group fetchByC_L_N(long companyId, long liveGroupId, java.lang.String name)
           
 Group fetchByC_L_N(long companyId, long liveGroupId, java.lang.String name, boolean retrieveFromCache)
           
 Group fetchByC_N(long companyId, java.lang.String name)
           
 Group fetchByC_N(long companyId, java.lang.String name, boolean retrieveFromCache)
           
 Group fetchByLiveGroupId(long liveGroupId)
           
 Group fetchByLiveGroupId(long liveGroupId, boolean retrieveFromCache)
           
 Group fetchByPrimaryKey(long groupId)
           
 java.util.List<Group> findAll()
           
 java.util.List<Group> findAll(int start, int end)
           
 java.util.List<Group> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Group findByC_C_C(long companyId, long classNameId, long classPK)
           
 Group findByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
           
 Group findByC_F(long companyId, java.lang.String friendlyURL)
           
 Group findByC_L_N(long companyId, long liveGroupId, java.lang.String name)
           
 Group findByC_N(long companyId, java.lang.String name)
           
 Group findByLiveGroupId(long liveGroupId)
           
 Group findByPrimaryKey(long groupId)
           
 Group findByT_A_First(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Group findByT_A_Last(int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 Group[] findByT_A_PrevAndNext(long groupId, int type, boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<Group> findByT_A(int type, boolean active)
           
 java.util.List<Group> findByT_A(int type, boolean active, int start, int end)
           
 java.util.List<Group> findByT_A(int type, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<Organization> getOrganizations(long pk)
           
 java.util.List<Organization> getOrganizations(long pk, int start, int end)
           
 java.util.List<Organization> getOrganizations(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getOrganizationsSize(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 obc)
           
 int getPermissionsSize(long pk)
           
 java.util.List<Role> getRoles(long pk)
           
 java.util.List<Role> getRoles(long pk, int start, int end)
           
 java.util.List<Role> getRoles(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getRolesSize(long pk)
           
 java.util.List<UserGroup> getUserGroups(long pk)
           
 java.util.List<UserGroup> getUserGroups(long pk, int start, int end)
           
 java.util.List<UserGroup> getUserGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getUserGroupsSize(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 obc)
           
 int getUsersSize(long pk)
           
 Group remove(Group group)
           
 Group remove(long groupId)
           
 void removeAll()
           
 void removeByC_C_C(long companyId, long classNameId, long classPK)
           
 void removeByC_C_L_N(long companyId, long classNameId, long liveGroupId, java.lang.String name)
           
 void removeByC_F(long companyId, java.lang.String friendlyURL)
           
 void removeByC_L_N(long companyId, long liveGroupId, java.lang.String name)
           
 void removeByC_N(long companyId, java.lang.String name)
           
 void removeByLiveGroupId(long liveGroupId)
           
 void removeByT_A(int type, boolean active)
           
 void removeOrganization(long pk, long organizationPK)
           
 void removeOrganization(long pk, Organization organization)
           
 void removeOrganizations(long pk, java.util.List<Organization> organizations)
           
 void removeOrganizations(long pk, long[] organizationPKs)
           
 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 removeRole(long pk, long rolePK)
           
 void removeRole(long pk, Role role)
           
 void removeRoles(long pk, java.util.List<Role> roles)
           
 void removeRoles(long pk, long[] rolePKs)
           
 void removeUser(long pk, long userPK)
           
 void removeUser(long pk, User user)
           
 void removeUserGroup(long pk, long userGroupPK)
           
 void removeUserGroup(long pk, UserGroup userGroup)
           
 void removeUserGroups(long pk, java.util.List<UserGroup> userGroups)
           
 void removeUserGroups(long pk, long[] userGroupPKs)
           
 void removeUsers(long pk, java.util.List<User> users)
           
 void removeUsers(long pk, long[] userPKs)
           
 void setOrganizations(long pk, java.util.List<Organization> organizations)
           
 void setOrganizations(long pk, long[] organizationPKs)
           
 void setPermissions(long pk, java.util.List<Permission> permissions)
           
 void setPermissions(long pk, long[] permissionPKs)
           
 void setRoles(long pk, java.util.List<Role> roles)
           
 void setRoles(long pk, long[] rolePKs)
           
 void setUserGroups(long pk, java.util.List<UserGroup> userGroups)
           
 void setUserGroups(long pk, long[] userGroupPKs)
           
 void setUsers(long pk, java.util.List<User> users)
           
 void setUsers(long pk, long[] userPKs)
           
 Group update(Group group)
          Deprecated. Use update(Group group, boolean merge).
 Group update(Group group, boolean merge)
          Add, update, or merge, the entity.
 Group updateImpl(Group group, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
getListeners, registerListener, unregisterListener
 

Method Detail

cacheResult

void cacheResult(Group group)

cacheResult

void cacheResult(java.util.List<Group> groups)

clearCache

void clearCache()
Specified by:
clearCache in interface BasePersistence

create

Group create(long groupId)

remove

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

remove

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

update

Group update(Group group)
             throws com.liferay.portal.SystemException
Deprecated. Use update(Group group, boolean merge).

Throws:
com.liferay.portal.SystemException

update

Group update(Group group,
             boolean merge)
             throws com.liferay.portal.SystemException
Add, update, or merge, the entity. This method also calls the model listeners to trigger the proper events associated with adding, deleting, or updating an entity.

Parameters:
group - the entity to add, update, or merge
merge - boolean value for whether to merge the entity. The default value is false. Setting merge to true is more expensive and should only be true when group is transient. See LEP-5473 for a detailed discussion of this method.
Returns:
true if the portlet can be displayed via Ajax
Throws:
com.liferay.portal.SystemException

updateImpl

Group updateImpl(Group group,
                 boolean merge)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

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

findByLiveGroupId

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

fetchByLiveGroupId

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

fetchByLiveGroupId

Group fetchByLiveGroupId(long liveGroupId,
                         boolean retrieveFromCache)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_N

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

fetchByC_N

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

fetchByC_N

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

findByC_F

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

fetchByC_F

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

fetchByC_F

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

findByT_A

java.util.List<Group> findByT_A(int type,
                                boolean active)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_A

java.util.List<Group> findByT_A(int type,
                                boolean active,
                                int start,
                                int end)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_A

java.util.List<Group> findByT_A(int type,
                                boolean active,
                                int start,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByT_A_First

Group findByT_A_First(int type,
                      boolean active,
                      com.liferay.portal.kernel.util.OrderByComparator obc)
                      throws NoSuchGroupException,
                             com.liferay.portal.SystemException
Throws:
NoSuchGroupException
com.liferay.portal.SystemException

findByT_A_Last

Group findByT_A_Last(int type,
                     boolean active,
                     com.liferay.portal.kernel.util.OrderByComparator obc)
                     throws NoSuchGroupException,
                            com.liferay.portal.SystemException
Throws:
NoSuchGroupException
com.liferay.portal.SystemException

findByT_A_PrevAndNext

Group[] findByT_A_PrevAndNext(long groupId,
                              int type,
                              boolean active,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws NoSuchGroupException,
                                     com.liferay.portal.SystemException
Throws:
NoSuchGroupException
com.liferay.portal.SystemException

findByC_C_C

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

fetchByC_C_C

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

fetchByC_C_C

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

findByC_L_N

Group findByC_L_N(long companyId,
                  long liveGroupId,
                  java.lang.String name)
                  throws NoSuchGroupException,
                         com.liferay.portal.SystemException
Throws:
NoSuchGroupException
com.liferay.portal.SystemException

fetchByC_L_N

Group fetchByC_L_N(long companyId,
                   long liveGroupId,
                   java.lang.String name)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_L_N

Group fetchByC_L_N(long companyId,
                   long liveGroupId,
                   java.lang.String name,
                   boolean retrieveFromCache)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_C_L_N

Group findByC_C_L_N(long companyId,
                    long classNameId,
                    long liveGroupId,
                    java.lang.String name)
                    throws NoSuchGroupException,
                           com.liferay.portal.SystemException
Throws:
NoSuchGroupException
com.liferay.portal.SystemException

fetchByC_C_L_N

Group fetchByC_C_L_N(long companyId,
                     long classNameId,
                     long liveGroupId,
                     java.lang.String name)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_C_L_N

Group fetchByC_C_L_N(long companyId,
                     long classNameId,
                     long liveGroupId,
                     java.lang.String name,
                     boolean retrieveFromCache)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                      int start,
                                                      int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByLiveGroupId

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

removeByC_N

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

removeByC_F

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

removeByT_A

void removeByT_A(int type,
                 boolean active)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C_C

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

removeByC_L_N

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

removeByC_C_L_N

void removeByC_C_L_N(long companyId,
                     long classNameId,
                     long liveGroupId,
                     java.lang.String name)
                     throws NoSuchGroupException,
                            com.liferay.portal.SystemException
Throws:
NoSuchGroupException
com.liferay.portal.SystemException

removeAll

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

countByLiveGroupId

int countByLiveGroupId(long liveGroupId)
                       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

countByC_F

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

countByT_A

int countByT_A(int type,
               boolean active)
               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

countByC_L_N

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

countByC_C_L_N

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

countAll

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

getOrganizations

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

getOrganizations

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

getOrganizations

java.util.List<Organization> getOrganizations(long pk,
                                              int start,
                                              int end,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getOrganizationsSize

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

containsOrganization

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

containsOrganizations

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

addOrganization

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

addOrganization

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

addOrganizations

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

addOrganizations

void addOrganizations(long pk,
                      java.util.List<Organization> organizations)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearOrganizations

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

removeOrganization

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

removeOrganization

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

removeOrganizations

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

removeOrganizations

void removeOrganizations(long pk,
                         java.util.List<Organization> organizations)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setOrganizations

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

setOrganizations

void setOrganizations(long pk,
                      java.util.List<Organization> organizations)
                      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 obc)
                                          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

getRoles

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

getRoles

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

getRoles

java.util.List<Role> getRoles(long pk,
                              int start,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRolesSize

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

containsRole

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

containsRoles

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

addRole

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

addRole

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

addRoles

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

addRoles

void addRoles(long pk,
              java.util.List<Role> roles)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearRoles

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

removeRole

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

removeRole

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

removeRoles

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

removeRoles

void removeRoles(long pk,
                 java.util.List<Role> roles)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setRoles

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

setRoles

void setRoles(long pk,
              java.util.List<Role> roles)
              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroups

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

getUserGroups

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

getUserGroups

java.util.List<UserGroup> getUserGroups(long pk,
                                        int start,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getUserGroupsSize

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

containsUserGroup

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

containsUserGroups

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

addUserGroup

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

addUserGroup

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

addUserGroups

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

addUserGroups

void addUserGroups(long pk,
                   java.util.List<UserGroup> userGroups)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearUserGroups

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

removeUserGroup

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

removeUserGroup

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

removeUserGroups

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

removeUserGroups

void removeUserGroups(long pk,
                      java.util.List<UserGroup> userGroups)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setUserGroups

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

setUserGroups

void setUserGroups(long pk,
                   java.util.List<UserGroup> userGroups)
                   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 obc)
                              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