com.liferay.portal.service.persistence
Class UserUtil
java.lang.Object
com.liferay.portal.service.persistence.UserUtil
- public class UserUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static void |
addGroup(long pk,
com.liferay.portal.model.Group group)
|
static void |
addGroup(long pk,
long groupPK)
|
static void |
addGroups(long pk,
java.util.List groups)
|
static void |
addGroups(long pk,
long[] groupPKs)
|
static void |
addOrganization(long pk,
long organizationPK)
|
static void |
addOrganization(long pk,
com.liferay.portal.model.Organization organization)
|
static void |
addOrganizations(long pk,
java.util.List organizations)
|
static void |
addOrganizations(long pk,
long[] organizationPKs)
|
static void |
addPermission(long pk,
long permissionPK)
|
static void |
addPermission(long pk,
com.liferay.portal.model.Permission permission)
|
static void |
addPermissions(long pk,
java.util.List permissions)
|
static void |
addPermissions(long pk,
long[] permissionPKs)
|
static void |
addRole(long pk,
long rolePK)
|
static void |
addRole(long pk,
com.liferay.portal.model.Role role)
|
static void |
addRoles(long pk,
java.util.List roles)
|
static void |
addRoles(long pk,
long[] rolePKs)
|
static void |
addUserGroup(long pk,
long userGroupPK)
|
static void |
addUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
|
static void |
addUserGroups(long pk,
java.util.List userGroups)
|
static void |
addUserGroups(long pk,
long[] userGroupPKs)
|
static void |
clearGroups(long pk)
|
static void |
clearOrganizations(long pk)
|
static void |
clearPermissions(long pk)
|
static void |
clearRoles(long pk)
|
static void |
clearUserGroups(long pk)
|
static boolean |
containsGroup(long pk,
long groupPK)
|
static boolean |
containsGroups(long pk)
|
static boolean |
containsOrganization(long pk,
long organizationPK)
|
static boolean |
containsOrganizations(long pk)
|
static boolean |
containsPermission(long pk,
long permissionPK)
|
static boolean |
containsPermissions(long pk)
|
static boolean |
containsRole(long pk,
long rolePK)
|
static boolean |
containsRoles(long pk)
|
static boolean |
containsUserGroup(long pk,
long userGroupPK)
|
static boolean |
containsUserGroups(long pk)
|
static int |
countAll()
|
static int |
countByC_DU(long companyId,
boolean defaultUser)
|
static int |
countByC_EA(long companyId,
java.lang.String emailAddress)
|
static int |
countByC_P(long companyId,
java.lang.String password)
|
static int |
countByC_SN(long companyId,
java.lang.String screenName)
|
static int |
countByC_U(long companyId,
long userId)
|
static int |
countByCompanyId(long companyId)
|
static int |
countByContactId(long contactId)
|
static int |
countByPortraitId(long portraitId)
|
static com.liferay.portal.model.User |
create(long userId)
|
static com.liferay.portal.model.User |
fetchByC_DU(long companyId,
boolean defaultUser)
|
static com.liferay.portal.model.User |
fetchByC_EA(long companyId,
java.lang.String emailAddress)
|
static com.liferay.portal.model.User |
fetchByC_SN(long companyId,
java.lang.String screenName)
|
static com.liferay.portal.model.User |
fetchByC_U(long companyId,
long userId)
|
static com.liferay.portal.model.User |
fetchByContactId(long contactId)
|
static com.liferay.portal.model.User |
fetchByPortraitId(long portraitId)
|
static com.liferay.portal.model.User |
fetchByPrimaryKey(long userId)
|
static java.util.List |
findAll()
|
static java.util.List |
findAll(int begin,
int end)
|
static java.util.List |
findAll(int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.User |
findByC_DU(long companyId,
boolean defaultUser)
|
static com.liferay.portal.model.User |
findByC_EA(long companyId,
java.lang.String emailAddress)
|
static com.liferay.portal.model.User |
findByC_P_First(long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.User |
findByC_P_Last(long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.User[] |
findByC_P_PrevAndNext(long userId,
long companyId,
java.lang.String password,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByC_P(long companyId,
java.lang.String password)
|
static java.util.List |
findByC_P(long companyId,
java.lang.String password,
int begin,
int end)
|
static java.util.List |
findByC_P(long companyId,
java.lang.String password,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.User |
findByC_SN(long companyId,
java.lang.String screenName)
|
static com.liferay.portal.model.User |
findByC_U(long companyId,
long userId)
|
static com.liferay.portal.model.User |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.User |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.User[] |
findByCompanyId_PrevAndNext(long userId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List |
findByCompanyId(long companyId)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end)
|
static java.util.List |
findByCompanyId(long companyId,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static com.liferay.portal.model.User |
findByContactId(long contactId)
|
static com.liferay.portal.model.User |
findByPortraitId(long portraitId)
|
static com.liferay.portal.model.User |
findByPrimaryKey(long userId)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static java.util.List |
getGroups(long pk)
|
static java.util.List |
getGroups(long pk,
int begin,
int end)
|
static java.util.List |
getGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getGroupsSize(long pk)
|
static java.util.List |
getOrganizations(long pk)
|
static java.util.List |
getOrganizations(long pk,
int begin,
int end)
|
static java.util.List |
getOrganizations(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getOrganizationsSize(long pk)
|
static java.util.List |
getPermissions(long pk)
|
static java.util.List |
getPermissions(long pk,
int begin,
int end)
|
static java.util.List |
getPermissions(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getPermissionsSize(long pk)
|
static UserPersistence |
getPersistence()
|
static java.util.List |
getRoles(long pk)
|
static java.util.List |
getRoles(long pk,
int begin,
int end)
|
static java.util.List |
getRoles(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getRolesSize(long pk)
|
static java.util.List |
getUserGroups(long pk)
|
static java.util.List |
getUserGroups(long pk,
int begin,
int end)
|
static java.util.List |
getUserGroups(long pk,
int begin,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static int |
getUserGroupsSize(long pk)
|
static com.liferay.portal.model.User |
remove(long userId)
|
static com.liferay.portal.model.User |
remove(com.liferay.portal.model.User user)
|
static void |
removeAll()
|
static void |
removeByC_DU(long companyId,
boolean defaultUser)
|
static void |
removeByC_EA(long companyId,
java.lang.String emailAddress)
|
static void |
removeByC_P(long companyId,
java.lang.String password)
|
static void |
removeByC_SN(long companyId,
java.lang.String screenName)
|
static void |
removeByC_U(long companyId,
long userId)
|
static void |
removeByCompanyId(long companyId)
|
static void |
removeByContactId(long contactId)
|
static void |
removeByPortraitId(long portraitId)
|
static void |
removeGroup(long pk,
com.liferay.portal.model.Group group)
|
static void |
removeGroup(long pk,
long groupPK)
|
static void |
removeGroups(long pk,
java.util.List groups)
|
static void |
removeGroups(long pk,
long[] groupPKs)
|
static void |
removeOrganization(long pk,
long organizationPK)
|
static void |
removeOrganization(long pk,
com.liferay.portal.model.Organization organization)
|
static void |
removeOrganizations(long pk,
java.util.List organizations)
|
static void |
removeOrganizations(long pk,
long[] organizationPKs)
|
static void |
removePermission(long pk,
long permissionPK)
|
static void |
removePermission(long pk,
com.liferay.portal.model.Permission permission)
|
static void |
removePermissions(long pk,
java.util.List permissions)
|
static void |
removePermissions(long pk,
long[] permissionPKs)
|
static void |
removeRole(long pk,
long rolePK)
|
static void |
removeRole(long pk,
com.liferay.portal.model.Role role)
|
static void |
removeRoles(long pk,
java.util.List roles)
|
static void |
removeRoles(long pk,
long[] rolePKs)
|
static void |
removeUserGroup(long pk,
long userGroupPK)
|
static void |
removeUserGroup(long pk,
com.liferay.portal.model.UserGroup userGroup)
|
static void |
removeUserGroups(long pk,
java.util.List userGroups)
|
static void |
removeUserGroups(long pk,
long[] userGroupPKs)
|
static void |
setGroups(long pk,
java.util.List groups)
|
static void |
setGroups(long pk,
long[] groupPKs)
|
static void |
setOrganizations(long pk,
java.util.List organizations)
|
static void |
setOrganizations(long pk,
long[] organizationPKs)
|
static void |
setPermissions(long pk,
java.util.List permissions)
|
static void |
setPermissions(long pk,
long[] permissionPKs)
|
void |
setPersistence(UserPersistence persistence)
|
static void |
setRoles(long pk,
java.util.List roles)
|
static void |
setRoles(long pk,
long[] rolePKs)
|
static void |
setUserGroups(long pk,
java.util.List userGroups)
|
static void |
setUserGroups(long pk,
long[] userGroupPKs)
|
static com.liferay.portal.model.User |
update(com.liferay.portal.model.User user)
|
static com.liferay.portal.model.User |
update(com.liferay.portal.model.User user,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserUtil
public UserUtil()
create
public static com.liferay.portal.model.User create(long userId)
remove
public static 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 static com.liferay.portal.model.User remove(com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static com.liferay.portal.model.User update(com.liferay.portal.model.User user)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static 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 static 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 static com.liferay.portal.model.User fetchByPrimaryKey(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static java.util.List findByCompanyId(long companyId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByCompanyId
public static 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 static 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 static 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 static 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 static 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 static com.liferay.portal.model.User fetchByContactId(long contactId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPortraitId
public static 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 static com.liferay.portal.model.User fetchByPortraitId(long portraitId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_U
public static 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 static com.liferay.portal.model.User fetchByC_U(long companyId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_DU
public static 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 static com.liferay.portal.model.User fetchByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_P
public static java.util.List findByC_P(long companyId,
java.lang.String password)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_P
public static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findWithDynamicQuery
public static 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 static java.util.List findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List findAll(int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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 static void removeByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByContactId
public static void removeByContactId(long contactId)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException
removeByPortraitId
public static 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 static 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 static 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 static void removeByC_P(long companyId,
java.lang.String password)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_SN
public static 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 static 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 static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByCompanyId
public static int countByCompanyId(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByContactId
public static int countByContactId(long contactId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByPortraitId
public static int countByPortraitId(long portraitId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_U
public static int countByC_U(long companyId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_DU
public static int countByC_DU(long companyId,
boolean defaultUser)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_P
public static int countByC_P(long companyId,
java.lang.String password)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_SN
public static int countByC_SN(long companyId,
java.lang.String screenName)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_EA
public static int countByC_EA(long companyId,
java.lang.String emailAddress)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroups
public static 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 static 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 static 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 static int getGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsGroup
public static boolean containsGroup(long pk,
long groupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsGroups
public static boolean containsGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addGroup
public static 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 static 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 static 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 static 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 static void clearGroups(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException
removeGroup
public static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static int getOrganizationsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsOrganization
public static boolean containsOrganization(long pk,
long organizationPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsOrganizations
public static boolean containsOrganizations(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addOrganization
public static 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 static 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 static 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 static 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 static void clearOrganizations(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException
removeOrganization
public static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static int getPermissionsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsPermission
public static boolean containsPermission(long pk,
long permissionPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsPermissions
public static boolean containsPermissions(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addPermission
public static 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 static 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 static 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 static 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 static void clearPermissions(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException
removePermission
public static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static int getRolesSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsRole
public static boolean containsRole(long pk,
long rolePK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsRoles
public static boolean containsRoles(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRole
public static 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 static 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 static 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 static 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 static void clearRoles(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException
removeRole
public static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static 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 static int getUserGroupsSize(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUserGroup
public static boolean containsUserGroup(long pk,
long userGroupPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
containsUserGroups
public static boolean containsUserGroups(long pk)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addUserGroup
public static 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 static 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 static 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 static 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 static void clearUserGroups(long pk)
throws com.liferay.portal.SystemException,
com.liferay.portal.NoSuchUserException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.NoSuchUserException
removeUserGroup
public static 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 static 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 static 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 static 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 static 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 static 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
getPersistence
public static UserPersistence getPersistence()
setPersistence
public void setPersistence(UserPersistence persistence)