|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface UserServiceThe interface for the user remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
UserServiceUtil,
UserServiceBaseImpl,
com.liferay.portal.service.impl.UserServiceImpl| Method Summary | |
|---|---|
void |
addGroupUsers(long groupId,
long[] userIds)
|
void |
addOrganizationUsers(long organizationId,
long[] userIds)
|
void |
addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
|
void |
addRoleUsers(long roleId,
long[] userIds)
|
void |
addTeamUsers(long teamId,
long[] userIds)
|
User |
addUser(long companyId,
boolean autoPassword,
String password1,
String password2,
boolean autoScreenName,
String screenName,
String emailAddress,
long facebookId,
String openId,
Locale locale,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<Phone> phones,
List<Website> websites,
List<AnnouncementsDelivery> announcementsDelivers,
ServiceContext serviceContext)
|
User |
addUser(long companyId,
boolean autoPassword,
String password1,
String password2,
boolean autoScreenName,
String screenName,
String emailAddress,
long facebookId,
String openId,
Locale locale,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
ServiceContext serviceContext)
|
void |
addUserGroupUsers(long userGroupId,
long[] userIds)
|
void |
deletePortrait(long userId)
|
void |
deleteRoleUser(long roleId,
long userId)
|
void |
deleteUser(long userId)
|
long |
getDefaultUserId(long companyId)
|
long[] |
getGroupUserIds(long groupId)
|
long[] |
getOrganizationUserIds(long organizationId)
|
long[] |
getRoleUserIds(long roleId)
|
User |
getUserByEmailAddress(long companyId,
String emailAddress)
|
User |
getUserById(long userId)
|
User |
getUserByScreenName(long companyId,
String screenName)
|
long |
getUserIdByEmailAddress(long companyId,
String emailAddress)
|
long |
getUserIdByScreenName(long companyId,
String screenName)
|
boolean |
hasGroupUser(long groupId,
long userId)
|
boolean |
hasRoleUser(long roleId,
long userId)
|
boolean |
hasRoleUser(long companyId,
String name,
long userId,
boolean inherited)
|
void |
setRoleUsers(long roleId,
long[] userIds)
|
void |
setUserGroupUsers(long userGroupId,
long[] userIds)
|
void |
unsetGroupUsers(long groupId,
long[] userIds)
|
void |
unsetOrganizationUsers(long organizationId,
long[] userIds)
|
void |
unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
|
void |
unsetRoleUsers(long roleId,
long[] userIds)
|
void |
unsetTeamUsers(long teamId,
long[] userIds)
|
void |
unsetUserGroupUsers(long userGroupId,
long[] userIds)
|
User |
updateActive(long userId,
boolean active)
|
User |
updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
|
User |
updateEmailAddress(long userId,
String password,
String emailAddress1,
String emailAddress2)
|
User |
updateLockout(long userId,
boolean lockout)
Deprecated. updateLockoutById(long, boolean) |
User |
updateLockoutById(long userId,
boolean lockout)
|
User |
updateOpenId(long userId,
String openId)
|
void |
updateOrganizations(long userId,
long[] organizationIds)
|
User |
updatePassword(long userId,
String password1,
String password2,
boolean passwordReset)
|
User |
updatePortrait(long userId,
byte[] bytes)
|
User |
updateReminderQuery(long userId,
String question,
String answer)
|
User |
updateScreenName(long userId,
String screenName)
|
User |
updateUser(long userId,
String oldPassword,
String newPassword1,
String newPassword2,
boolean passwordReset,
String reminderQueryQuestion,
String reminderQueryAnswer,
String screenName,
String emailAddress,
long facebookId,
String openId,
String languageId,
String timeZoneId,
String greeting,
String comments,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String aimSn,
String facebookSn,
String icqSn,
String jabberSn,
String msnSn,
String mySpaceSn,
String skypeSn,
String twitterSn,
String ymSn,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<Phone> phones,
List<Website> websites,
List<AnnouncementsDelivery> announcementsDelivers,
ServiceContext serviceContext)
|
User |
updateUser(long userId,
String oldPassword,
String newPassword1,
String newPassword2,
boolean passwordReset,
String reminderQueryQuestion,
String reminderQueryAnswer,
String screenName,
String emailAddress,
long facebookId,
String openId,
String languageId,
String timeZoneId,
String greeting,
String comments,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String aimSn,
String facebookSn,
String icqSn,
String jabberSn,
String msnSn,
String mySpaceSn,
String skypeSn,
String twitterSn,
String ymSn,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
ServiceContext serviceContext)
|
| Method Detail |
|---|
void addGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void addOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void addRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void addTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void addUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
User addUser(long companyId,
boolean autoPassword,
String password1,
String password2,
boolean autoScreenName,
String screenName,
String emailAddress,
long facebookId,
String openId,
Locale locale,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
User addUser(long companyId,
boolean autoPassword,
String password1,
String password2,
boolean autoScreenName,
String screenName,
String emailAddress,
long facebookId,
String openId,
Locale locale,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
long[] userGroupIds,
boolean sendEmail,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<Phone> phones,
List<Website> websites,
List<AnnouncementsDelivery> announcementsDelivers,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
void deletePortrait(long userId)
throws PortalException,
SystemException
PortalException
SystemException
void deleteRoleUser(long roleId,
long userId)
throws PortalException,
SystemException
PortalException
SystemException
void deleteUser(long userId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
long getDefaultUserId(long companyId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getGroupUserIds(long groupId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getOrganizationUserIds(long organizationId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getRoleUserIds(long roleId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
User getUserByEmailAddress(long companyId,
String emailAddress)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
User getUserById(long userId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
User getUserByScreenName(long companyId,
String screenName)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
long getUserIdByEmailAddress(long companyId,
String emailAddress)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
long getUserIdByScreenName(long companyId,
String screenName)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasGroupUser(long groupId,
long userId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasRoleUser(long roleId,
long userId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasRoleUser(long companyId,
String name,
long userId,
boolean inherited)
throws PortalException,
SystemException
PortalException
SystemException
void setRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void setUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void unsetGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void unsetOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void unsetRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void unsetTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
void unsetUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
PortalException
SystemException
User updateActive(long userId,
boolean active)
throws PortalException,
SystemException
PortalException
SystemException
User updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
throws PortalException,
SystemException
PortalException
SystemException
User updateEmailAddress(long userId,
String password,
String emailAddress1,
String emailAddress2)
throws PortalException,
SystemException
PortalException
SystemException
User updateLockout(long userId,
boolean lockout)
throws PortalException,
SystemException
updateLockoutById(long, boolean)
PortalException
SystemException
User updateLockoutById(long userId,
boolean lockout)
throws PortalException,
SystemException
PortalException
SystemException
User updateOpenId(long userId,
String openId)
throws PortalException,
SystemException
PortalException
SystemException
void updateOrganizations(long userId,
long[] organizationIds)
throws PortalException,
SystemException
PortalException
SystemException
User updatePassword(long userId,
String password1,
String password2,
boolean passwordReset)
throws PortalException,
SystemException
PortalException
SystemException
User updatePortrait(long userId,
byte[] bytes)
throws PortalException,
SystemException
PortalException
SystemException
User updateReminderQuery(long userId,
String question,
String answer)
throws PortalException,
SystemException
PortalException
SystemException
User updateScreenName(long userId,
String screenName)
throws PortalException,
SystemException
PortalException
SystemException
User updateUser(long userId,
String oldPassword,
String newPassword1,
String newPassword2,
boolean passwordReset,
String reminderQueryQuestion,
String reminderQueryAnswer,
String screenName,
String emailAddress,
long facebookId,
String openId,
String languageId,
String timeZoneId,
String greeting,
String comments,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String aimSn,
String facebookSn,
String icqSn,
String jabberSn,
String msnSn,
String mySpaceSn,
String skypeSn,
String twitterSn,
String ymSn,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
User updateUser(long userId,
String oldPassword,
String newPassword1,
String newPassword2,
boolean passwordReset,
String reminderQueryQuestion,
String reminderQueryAnswer,
String screenName,
String emailAddress,
long facebookId,
String openId,
String languageId,
String timeZoneId,
String greeting,
String comments,
String firstName,
String middleName,
String lastName,
int prefixId,
int suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String aimSn,
String facebookSn,
String icqSn,
String jabberSn,
String msnSn,
String mySpaceSn,
String skypeSn,
String twitterSn,
String ymSn,
String jobTitle,
long[] groupIds,
long[] organizationIds,
long[] roleIds,
List<UserGroupRole> userGroupRoles,
long[] userGroupIds,
List<Address> addresses,
List<EmailAddress> emailAddresses,
List<Phone> phones,
List<Website> websites,
List<AnnouncementsDelivery> announcementsDelivers,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||