com.liferay.portal.service.persistence
Interface UserPersistence

All Known Implementing Classes:
UserPersistenceImpl

public interface UserPersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 void addGroup(long pk, com.liferay.portal.model.Group group)
           
 void addGroup(long pk, long groupPK)
           
 void addGroups(long pk, java.util.List groups)
           
 void addGroups(long pk, long[] groupPKs)
           
 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 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 clearGroups(long pk)
           
 void clearOrganizations(long pk)
           
 void clearPermissions(long pk)
           
 void clearRoles(long pk)
           
 void clearUserGroups(long pk)
           
 boolean containsGroup(long pk, long groupPK)
           
 boolean containsGroups(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 containsUserGroup(long pk, long userGroupPK)
           
 boolean containsUserGroups(long pk)
           
 int countAll()
           
 int countByC_DU(long companyId, boolean defaultUser)
           
 int countByC_EA(long companyId, java.lang.String emailAddress)
           
 int countByC_P(long companyId, java.lang.String password)
           
 int countByC_SN(long companyId, java.lang.String screenName)
           
 int countByC_U(long companyId, long userId)
           
 int countByCompanyId(long companyId)
           
 int countByContactId(long contactId)
           
 int countByPortraitId(long portraitId)
           
 com.liferay.portal.model.User create(long userId)
           
 com.liferay.portal.model.User fetchByC_DU(long companyId, boolean defaultUser)
           
 com.liferay.portal.model.User fetchByC_EA(long companyId, java.lang.String emailAddress)
           
 com.liferay.portal.model.User fetchByC_SN(long companyId, java.lang.String screenName)
           
 com.liferay.portal.model.User fetchByC_U(long companyId, long userId)
           
 com.liferay.portal.model.User fetchByContactId(long contactId)
           
 com.liferay.portal.model.User fetchByPortraitId(long portraitId)
           
 com.liferay.portal.model.User fetchByPrimaryKey(long userId)
           
 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.User findByC_DU(long companyId, boolean defaultUser)
           
 com.liferay.portal.model.User findByC_EA(long companyId, java.lang.String emailAddress)
           
 com.liferay.portal.model.User findByC_P_First(long companyId, java.lang.String password, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.User findByC_P_Last(long companyId, java.lang.String password, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.User[] findByC_P_PrevAndNext(long userId, long companyId, java.lang.String password, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByC_P(long companyId, java.lang.String password)
           
 java.util.List findByC_P(long companyId, java.lang.String password, int begin, int end)
           
 java.util.List findByC_P(long companyId, java.lang.String password, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.User findByC_SN(long companyId, java.lang.String screenName)
           
 com.liferay.portal.model.User findByC_U(long companyId, long userId)
           
 com.liferay.portal.model.User findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.User findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.User[] findByCompanyId_PrevAndNext(long userId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByCompanyId(long companyId)
           
 java.util.List findByCompanyId(long companyId, int begin, int end)
           
 java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.User findByContactId(long contactId)
           
 com.liferay.portal.model.User findByPortraitId(long portraitId)
           
 com.liferay.portal.model.User findByPrimaryKey(long userId)
           
 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 getGroups(long pk)
           
 java.util.List getGroups(long pk, int begin, int end)
           
 java.util.List getGroups(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getGroupsSize(long pk)
           
 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)
           
 com.liferay.portal.model.User remove(long userId)
           
 com.liferay.portal.model.User remove(com.liferay.portal.model.User user)
           
 void removeAll()
           
 void removeByC_DU(long companyId, boolean defaultUser)
           
 void removeByC_EA(long companyId, java.lang.String emailAddress)
           
 void removeByC_P(long companyId, java.lang.String password)
           
 void removeByC_SN(long companyId, java.lang.String screenName)
           
 void removeByC_U(long companyId, long userId)
           
 void removeByCompanyId(long companyId)
           
 void removeByContactId(long contactId)
           
 void removeByPortraitId(long portraitId)
           
 void removeGroup(long pk, com.liferay.portal.model.Group group)
           
 void removeGroup(long pk, long groupPK)
           
 void removeGroups(long pk, java.util.List groups)
           
 void removeGroups(long pk, long[] groupPKs)
           
 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 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 setGroups(long pk, java.util.List groups)
           
 void setGroups(long pk, long[] groupPKs)
           
 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)
           
 com.liferay.portal.model.User update(com.liferay.portal.model.User user)
           
 com.liferay.portal.model.User update(com.liferay.portal.model.User user, boolean merge)
           
 

Method Detail

create

public com.liferay.portal.model.User create(long userId)

remove

public com.liferay.portal.model.User remove(long userId)
                                     throws com.liferay.portal.SystemException,
                                            com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

remove

public com.liferay.portal.model.User remove(com.liferay.portal.model.User user)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portal.model.User update(com.liferay.portal.model.User user)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

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

findByPrimaryKey

public com.liferay.portal.model.User findByPrimaryKey(long userId)
                                               throws com.liferay.portal.SystemException,
                                                      com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

fetchByPrimaryKey

public com.liferay.portal.model.User fetchByPrimaryKey(long userId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId_First

public com.liferay.portal.model.User findByCompanyId_First(long companyId,
                                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                                    throws com.liferay.portal.SystemException,
                                                           com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

findByCompanyId_Last

public com.liferay.portal.model.User findByCompanyId_Last(long companyId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.SystemException,
                                                          com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

findByCompanyId_PrevAndNext

public com.liferay.portal.model.User[] findByCompanyId_PrevAndNext(long userId,
                                                                   long companyId,
                                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                                            throws com.liferay.portal.SystemException,
                                                                   com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

findByContactId

public com.liferay.portal.model.User findByContactId(long contactId)
                                              throws com.liferay.portal.SystemException,
                                                     com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

fetchByContactId

public com.liferay.portal.model.User fetchByContactId(long contactId)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPortraitId

public com.liferay.portal.model.User findByPortraitId(long portraitId)
                                               throws com.liferay.portal.SystemException,
                                                      com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

fetchByPortraitId

public com.liferay.portal.model.User fetchByPortraitId(long portraitId)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_U

public com.liferay.portal.model.User findByC_U(long companyId,
                                               long userId)
                                        throws com.liferay.portal.SystemException,
                                               com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

fetchByC_U

public com.liferay.portal.model.User fetchByC_U(long companyId,
                                                long userId)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_DU

public com.liferay.portal.model.User findByC_DU(long companyId,
                                                boolean defaultUser)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

fetchByC_DU

public com.liferay.portal.model.User fetchByC_DU(long companyId,
                                                 boolean defaultUser)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_P

public java.util.List findByC_P(long companyId,
                                java.lang.String password)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_P

public java.util.List findByC_P(long companyId,
                                java.lang.String password,
                                int begin,
                                int end)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_P

public java.util.List findByC_P(long companyId,
                                java.lang.String password,
                                int begin,
                                int end,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_P_First

public com.liferay.portal.model.User findByC_P_First(long companyId,
                                                     java.lang.String password,
                                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                              throws com.liferay.portal.SystemException,
                                                     com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

findByC_P_Last

public com.liferay.portal.model.User findByC_P_Last(long companyId,
                                                    java.lang.String password,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.SystemException,
                                                    com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

findByC_P_PrevAndNext

public com.liferay.portal.model.User[] findByC_P_PrevAndNext(long userId,
                                                             long companyId,
                                                             java.lang.String password,
                                                             com.liferay.portal.kernel.util.OrderByComparator obc)
                                                      throws com.liferay.portal.SystemException,
                                                             com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

findByC_SN

public com.liferay.portal.model.User findByC_SN(long companyId,
                                                java.lang.String screenName)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

fetchByC_SN

public com.liferay.portal.model.User fetchByC_SN(long companyId,
                                                 java.lang.String screenName)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_EA

public com.liferay.portal.model.User findByC_EA(long companyId,
                                                java.lang.String emailAddress)
                                         throws com.liferay.portal.SystemException,
                                                com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

fetchByC_EA

public com.liferay.portal.model.User fetchByC_EA(long companyId,
                                                 java.lang.String emailAddress)
                                          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

removeByCompanyId

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

removeByContactId

public void removeByContactId(long contactId)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

removeByPortraitId

public void removeByPortraitId(long portraitId)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

removeByC_U

public void removeByC_U(long companyId,
                        long userId)
                 throws com.liferay.portal.SystemException,
                        com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

removeByC_DU

public void removeByC_DU(long companyId,
                         boolean defaultUser)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

removeByC_P

public void removeByC_P(long companyId,
                        java.lang.String password)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_SN

public void removeByC_SN(long companyId,
                         java.lang.String screenName)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

removeByC_EA

public void removeByC_EA(long companyId,
                         java.lang.String emailAddress)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

removeAll

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

countByCompanyId

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

countByContactId

public int countByContactId(long contactId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByPortraitId

public int countByPortraitId(long portraitId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_U

public int countByC_U(long companyId,
                      long userId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_DU

public int countByC_DU(long companyId,
                       boolean defaultUser)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_P

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

countByC_SN

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

countByC_EA

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

countAll

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

getGroups

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

getGroups

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

getGroups

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

getGroupsSize

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

containsGroup

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

containsGroups

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

addGroup

public void addGroup(long pk,
                     long groupPK)
              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

addGroup

public void addGroup(long pk,
                     com.liferay.portal.model.Group group)
              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

addGroups

public void addGroups(long pk,
                      long[] groupPKs)
               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

addGroups

public void addGroups(long pk,
                      java.util.List groups)
               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

clearGroups

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

removeGroup

public void removeGroup(long pk,
                        long groupPK)
                 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

removeGroup

public void removeGroup(long pk,
                        com.liferay.portal.model.Group group)
                 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

removeGroups

public void removeGroups(long pk,
                         long[] groupPKs)
                  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

removeGroups

public void removeGroups(long pk,
                         java.util.List groups)
                  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

setGroups

public void setGroups(long pk,
                      long[] groupPKs)
               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

setGroups

public void setGroups(long pk,
                      java.util.List groups)
               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

getOrganizations

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

getOrganizations

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

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.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

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.NoSuchOrganizationException,
                            com.liferay.portal.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchOrganizationException
com.liferay.portal.NoSuchUserException

addOrganization

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

addOrganizations

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

addOrganizations

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

clearOrganizations

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

removeOrganization

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

removeOrganization

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

removeOrganizations

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

removeOrganizations

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

setOrganizations

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

setOrganizations

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

getPermissions

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

getPermissions

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

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.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

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.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchPermissionException
com.liferay.portal.NoSuchUserException

addPermission

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

addPermissions

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

addPermissions

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

clearPermissions

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

removePermission

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

removePermission

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

removePermissions

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

removePermissions

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

setPermissions

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

setPermissions

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

getRoles

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

getRoles

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

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.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

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.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchRoleException
com.liferay.portal.NoSuchUserException

addRole

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

addRoles

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

addRoles

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

clearRoles

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

removeRole

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

removeRole

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

removeRoles

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

removeRoles

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

setRoles

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

setRoles

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

getUserGroups

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

getUserGroups

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

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.NoSuchUserException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException

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.NoSuchUserException,
                         com.liferay.portal.NoSuchUserGroupException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException
com.liferay.portal.NoSuchUserGroupException

addUserGroup

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

addUserGroups

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

addUserGroups

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

clearUserGroups

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

removeUserGroup

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

removeUserGroup

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

removeUserGroups

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

removeUserGroups

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

setUserGroups

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

setUserGroups

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