com.liferay.portal.service
Class UserServiceWrapper
java.lang.Object
com.liferay.portal.service.UserServiceWrapper
- All Implemented Interfaces:
- UserService
public class UserServiceWrapper
- extends Object
- implements UserService
This class is a wrapper for UserService
.
- See Also:
UserService
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
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)
|
UserService |
getWrappedUserService()
|
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)
|
void |
updateEmailAddress(long userId,
String password,
String emailAddress1,
String emailAddress2)
|
User |
updateLockout(long userId,
boolean lockout)
|
void |
updateOpenId(long userId,
String openId)
|
void |
updateOrganizations(long userId,
long[] organizationIds)
|
User |
updatePassword(long userId,
String password1,
String password2,
boolean passwordReset)
|
void |
updatePortrait(long userId,
byte[] bytes)
|
void |
updateReminderQuery(long userId,
String question,
String answer)
|
void |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserServiceWrapper
public UserServiceWrapper(UserService userService)
addGroupUsers
public void addGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addGroupUsers
in interface UserService
- Throws:
PortalException
SystemException
addOrganizationUsers
public void addOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addOrganizationUsers
in interface UserService
- Throws:
PortalException
SystemException
addPasswordPolicyUsers
public void addPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addPasswordPolicyUsers
in interface UserService
- Throws:
PortalException
SystemException
addRoleUsers
public void addRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addRoleUsers
in interface UserService
- Throws:
PortalException
SystemException
addTeamUsers
public void addTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addTeamUsers
in interface UserService
- Throws:
PortalException
SystemException
addUserGroupUsers
public void addUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
addUserGroupUsers
in interface UserService
- Throws:
PortalException
SystemException
addUser
public 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
- Specified by:
addUser
in interface UserService
- Throws:
PortalException
SystemException
addUser
public 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
- Specified by:
addUser
in interface UserService
- Throws:
PortalException
SystemException
deletePortrait
public void deletePortrait(long userId)
throws PortalException,
SystemException
- Specified by:
deletePortrait
in interface UserService
- Throws:
PortalException
SystemException
deleteRoleUser
public void deleteRoleUser(long roleId,
long userId)
throws PortalException,
SystemException
- Specified by:
deleteRoleUser
in interface UserService
- Throws:
PortalException
SystemException
deleteUser
public void deleteUser(long userId)
throws PortalException,
SystemException
- Specified by:
deleteUser
in interface UserService
- Throws:
PortalException
SystemException
getDefaultUserId
public long getDefaultUserId(long companyId)
throws PortalException,
SystemException
- Specified by:
getDefaultUserId
in interface UserService
- Throws:
PortalException
SystemException
getGroupUserIds
public long[] getGroupUserIds(long groupId)
throws SystemException
- Specified by:
getGroupUserIds
in interface UserService
- Throws:
SystemException
getOrganizationUserIds
public long[] getOrganizationUserIds(long organizationId)
throws SystemException
- Specified by:
getOrganizationUserIds
in interface UserService
- Throws:
SystemException
getRoleUserIds
public long[] getRoleUserIds(long roleId)
throws SystemException
- Specified by:
getRoleUserIds
in interface UserService
- Throws:
SystemException
getUserByEmailAddress
public User getUserByEmailAddress(long companyId,
String emailAddress)
throws PortalException,
SystemException
- Specified by:
getUserByEmailAddress
in interface UserService
- Throws:
PortalException
SystemException
getUserById
public User getUserById(long userId)
throws PortalException,
SystemException
- Specified by:
getUserById
in interface UserService
- Throws:
PortalException
SystemException
getUserByScreenName
public User getUserByScreenName(long companyId,
String screenName)
throws PortalException,
SystemException
- Specified by:
getUserByScreenName
in interface UserService
- Throws:
PortalException
SystemException
getUserIdByEmailAddress
public long getUserIdByEmailAddress(long companyId,
String emailAddress)
throws PortalException,
SystemException
- Specified by:
getUserIdByEmailAddress
in interface UserService
- Throws:
PortalException
SystemException
getUserIdByScreenName
public long getUserIdByScreenName(long companyId,
String screenName)
throws PortalException,
SystemException
- Specified by:
getUserIdByScreenName
in interface UserService
- Throws:
PortalException
SystemException
hasGroupUser
public boolean hasGroupUser(long groupId,
long userId)
throws SystemException
- Specified by:
hasGroupUser
in interface UserService
- Throws:
SystemException
hasRoleUser
public boolean hasRoleUser(long roleId,
long userId)
throws SystemException
- Specified by:
hasRoleUser
in interface UserService
- Throws:
SystemException
hasRoleUser
public boolean hasRoleUser(long companyId,
String name,
long userId,
boolean inherited)
throws PortalException,
SystemException
- Specified by:
hasRoleUser
in interface UserService
- Throws:
PortalException
SystemException
setRoleUsers
public void setRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
setRoleUsers
in interface UserService
- Throws:
PortalException
SystemException
setUserGroupUsers
public void setUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
setUserGroupUsers
in interface UserService
- Throws:
PortalException
SystemException
unsetGroupUsers
public void unsetGroupUsers(long groupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetGroupUsers
in interface UserService
- Throws:
PortalException
SystemException
unsetOrganizationUsers
public void unsetOrganizationUsers(long organizationId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetOrganizationUsers
in interface UserService
- Throws:
PortalException
SystemException
unsetPasswordPolicyUsers
public void unsetPasswordPolicyUsers(long passwordPolicyId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetPasswordPolicyUsers
in interface UserService
- Throws:
PortalException
SystemException
unsetRoleUsers
public void unsetRoleUsers(long roleId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetRoleUsers
in interface UserService
- Throws:
PortalException
SystemException
unsetTeamUsers
public void unsetTeamUsers(long teamId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetTeamUsers
in interface UserService
- Throws:
PortalException
SystemException
unsetUserGroupUsers
public void unsetUserGroupUsers(long userGroupId,
long[] userIds)
throws PortalException,
SystemException
- Specified by:
unsetUserGroupUsers
in interface UserService
- Throws:
PortalException
SystemException
updateActive
public User updateActive(long userId,
boolean active)
throws PortalException,
SystemException
- Specified by:
updateActive
in interface UserService
- Throws:
PortalException
SystemException
updateAgreedToTermsOfUse
public User updateAgreedToTermsOfUse(long userId,
boolean agreedToTermsOfUse)
throws PortalException,
SystemException
- Specified by:
updateAgreedToTermsOfUse
in interface UserService
- Throws:
PortalException
SystemException
updateEmailAddress
public void updateEmailAddress(long userId,
String password,
String emailAddress1,
String emailAddress2)
throws PortalException,
SystemException
- Specified by:
updateEmailAddress
in interface UserService
- Throws:
PortalException
SystemException
updateLockout
public User updateLockout(long userId,
boolean lockout)
throws PortalException,
SystemException
- Specified by:
updateLockout
in interface UserService
- Throws:
PortalException
SystemException
updateOpenId
public void updateOpenId(long userId,
String openId)
throws PortalException,
SystemException
- Specified by:
updateOpenId
in interface UserService
- Throws:
PortalException
SystemException
updateOrganizations
public void updateOrganizations(long userId,
long[] organizationIds)
throws PortalException,
SystemException
- Specified by:
updateOrganizations
in interface UserService
- Throws:
PortalException
SystemException
updatePassword
public User updatePassword(long userId,
String password1,
String password2,
boolean passwordReset)
throws PortalException,
SystemException
- Specified by:
updatePassword
in interface UserService
- Throws:
PortalException
SystemException
updatePortrait
public void updatePortrait(long userId,
byte[] bytes)
throws PortalException,
SystemException
- Specified by:
updatePortrait
in interface UserService
- Throws:
PortalException
SystemException
updateReminderQuery
public void updateReminderQuery(long userId,
String question,
String answer)
throws PortalException,
SystemException
- Specified by:
updateReminderQuery
in interface UserService
- Throws:
PortalException
SystemException
updateScreenName
public void updateScreenName(long userId,
String screenName)
throws PortalException,
SystemException
- Specified by:
updateScreenName
in interface UserService
- Throws:
PortalException
SystemException
updateUser
public 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
- Specified by:
updateUser
in interface UserService
- Throws:
PortalException
SystemException
updateUser
public 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
- Specified by:
updateUser
in interface UserService
- Throws:
PortalException
SystemException
getWrappedUserService
public UserService getWrappedUserService()