user

package
Version: v0.0.0-...-d84e329 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2017 License: LGPL-2.1 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(s liferay.Session) *Service

func (*Service) AddGroupUsers

func (s *Service) AddGroupUsers(groupId int64, userIds []interface{}, serviceContext *liferay.ObjectWrapper) error

func (*Service) AddOrganizationUsers

func (s *Service) AddOrganizationUsers(organizationId int64, userIds []interface{}) error

func (*Service) AddPasswordPolicyUsers

func (s *Service) AddPasswordPolicyUsers(passwordPolicyId int64, userIds []interface{}) error

func (*Service) AddRoleUsers

func (s *Service) AddRoleUsers(roleId int64, userIds []interface{}) error

func (*Service) AddTeamUsers

func (s *Service) AddTeamUsers(teamId int64, userIds []interface{}) error

func (*Service) AddUser

func (s *Service) AddUser(companyId int64, autoPassword bool, password1 string, password2 string, autoScreenName bool, screenName string, emailAddress string, facebookId int64, openId string, locale string, firstName string, middleName string, lastName string, prefixId int, suffixId int, male bool, birthdayMonth int, birthdayDay int, birthdayYear int, jobTitle string, groupIds []interface{}, organizationIds []interface{}, roleIds []interface{}, userGroupIds []interface{}, sendEmail bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddUser2

func (s *Service) AddUser2(companyId int64, autoPassword bool, password1 string, password2 string, autoScreenName bool, screenName string, emailAddress string, facebookId int64, openId string, locale string, firstName string, middleName string, lastName string, prefixId int, suffixId int, male bool, birthdayMonth int, birthdayDay int, birthdayYear int, jobTitle string, groupIds []interface{}, organizationIds []interface{}, roleIds []interface{}, userGroupIds []interface{}, addresses []interface{}, emailAddresses []interface{}, phones []interface{}, websites []interface{}, announcementsDelivers []interface{}, sendEmail bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddUserGroupUsers

func (s *Service) AddUserGroupUsers(userGroupId int64, userIds []interface{}) error

func (*Service) AddUserWithWorkflow

func (s *Service) AddUserWithWorkflow(companyId int64, autoPassword bool, password1 string, password2 string, autoScreenName bool, screenName string, emailAddress string, facebookId int64, openId string, locale string, firstName string, middleName string, lastName string, prefixId int, suffixId int, male bool, birthdayMonth int, birthdayDay int, birthdayYear int, jobTitle string, groupIds []interface{}, organizationIds []interface{}, roleIds []interface{}, userGroupIds []interface{}, sendEmail bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) AddUserWithWorkflow2

func (s *Service) AddUserWithWorkflow2(companyId int64, autoPassword bool, password1 string, password2 string, autoScreenName bool, screenName string, emailAddress string, facebookId int64, openId string, locale string, firstName string, middleName string, lastName string, prefixId int, suffixId int, male bool, birthdayMonth int, birthdayDay int, birthdayYear int, jobTitle string, groupIds []interface{}, organizationIds []interface{}, roleIds []interface{}, userGroupIds []interface{}, addresses []interface{}, emailAddresses []interface{}, phones []interface{}, websites []interface{}, announcementsDelivers []interface{}, sendEmail bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) DeletePortrait

func (s *Service) DeletePortrait(userId int64) error

func (*Service) DeleteRoleUser

func (s *Service) DeleteRoleUser(roleId int64, userId int64) error

func (*Service) DeleteUser

func (s *Service) DeleteUser(userId int64) error

func (*Service) GetCompanyUsers

func (s *Service) GetCompanyUsers(companyId int64, start int, end int) ([]interface{}, error)

func (*Service) GetCompanyUsersCount

func (s *Service) GetCompanyUsersCount(companyId int64) (int, error)

func (*Service) GetGroupUserIds

func (s *Service) GetGroupUserIds(groupId int64) ([]interface{}, error)

func (*Service) GetGroupUsers

func (s *Service) GetGroupUsers(groupId int64) ([]interface{}, error)

func (*Service) GetOrganizationUserIds

func (s *Service) GetOrganizationUserIds(organizationId int64) ([]interface{}, error)

func (*Service) GetOrganizationUsers

func (s *Service) GetOrganizationUsers(organizationId int64) ([]interface{}, error)

func (*Service) GetRoleUserIds

func (s *Service) GetRoleUserIds(roleId int64) ([]interface{}, error)

func (*Service) GetUserByEmailAddress

func (s *Service) GetUserByEmailAddress(companyId int64, emailAddress string) (map[string]interface{}, error)

func (*Service) GetUserById

func (s *Service) GetUserById(userId int64) (map[string]interface{}, error)

func (*Service) GetUserByScreenName

func (s *Service) GetUserByScreenName(companyId int64, screenName string) (map[string]interface{}, error)

func (*Service) GetUserGroupUsers

func (s *Service) GetUserGroupUsers(userGroupId int64) ([]interface{}, error)

func (*Service) GetUserIdByEmailAddress

func (s *Service) GetUserIdByEmailAddress(companyId int64, emailAddress string) (int64, error)

func (*Service) GetUserIdByScreenName

func (s *Service) GetUserIdByScreenName(companyId int64, screenName string) (int64, error)

func (*Service) HasGroupUser

func (s *Service) HasGroupUser(groupId int64, userId int64) (bool, error)

func (*Service) HasRoleUser

func (s *Service) HasRoleUser(roleId int64, userId int64) (bool, error)

func (*Service) HasRoleUser2

func (s *Service) HasRoleUser2(companyId int64, name string, userId int64, inherited bool) (bool, error)

func (*Service) SetRoleUsers

func (s *Service) SetRoleUsers(roleId int64, userIds []interface{}) error

func (*Service) SetUserGroupUsers

func (s *Service) SetUserGroupUsers(userGroupId int64, userIds []interface{}) error

func (*Service) UnsetGroupTeamsUsers

func (s *Service) UnsetGroupTeamsUsers(groupId int64, userIds []interface{}) error

func (*Service) UnsetGroupUsers

func (s *Service) UnsetGroupUsers(groupId int64, userIds []interface{}, serviceContext *liferay.ObjectWrapper) error

func (*Service) UnsetOrganizationUsers

func (s *Service) UnsetOrganizationUsers(organizationId int64, userIds []interface{}) error

func (*Service) UnsetPasswordPolicyUsers

func (s *Service) UnsetPasswordPolicyUsers(passwordPolicyId int64, userIds []interface{}) error

func (*Service) UnsetRoleUsers

func (s *Service) UnsetRoleUsers(roleId int64, userIds []interface{}) error

func (*Service) UnsetTeamUsers

func (s *Service) UnsetTeamUsers(teamId int64, userIds []interface{}) error

func (*Service) UnsetUserGroupUsers

func (s *Service) UnsetUserGroupUsers(userGroupId int64, userIds []interface{}) error

func (*Service) UpdateAgreedToTermsOfUse

func (s *Service) UpdateAgreedToTermsOfUse(userId int64, agreedToTermsOfUse bool) (map[string]interface{}, error)

func (*Service) UpdateEmailAddress

func (s *Service) UpdateEmailAddress(userId int64, password string, emailAddress1 string, emailAddress2 string, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateIncompleteUser

func (s *Service) UpdateIncompleteUser(companyId int64, autoPassword bool, password1 string, password2 string, autoScreenName bool, screenName string, emailAddress string, facebookId int64, openId string, locale string, firstName string, middleName string, lastName string, prefixId int, suffixId int, male bool, birthdayMonth int, birthdayDay int, birthdayYear int, jobTitle string, updateUserInformation bool, sendEmail bool, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateLockoutById

func (s *Service) UpdateLockoutById(userId int64, lockout bool) (map[string]interface{}, error)

func (*Service) UpdateOpenId

func (s *Service) UpdateOpenId(userId int64, openId string) (map[string]interface{}, error)

func (*Service) UpdateOrganizations

func (s *Service) UpdateOrganizations(userId int64, organizationIds []interface{}, serviceContext *liferay.ObjectWrapper) error

func (*Service) UpdatePassword

func (s *Service) UpdatePassword(userId int64, password1 string, password2 string, passwordReset bool) (map[string]interface{}, error)

func (*Service) UpdatePortrait

func (s *Service) UpdatePortrait(userId int64, bytes []byte) (map[string]interface{}, error)

func (*Service) UpdateReminderQuery

func (s *Service) UpdateReminderQuery(userId int64, question string, answer string) (map[string]interface{}, error)

func (*Service) UpdateScreenName

func (s *Service) UpdateScreenName(userId int64, screenName string) (map[string]interface{}, error)

func (*Service) UpdateStatus

func (s *Service) UpdateStatus(userId int64, status int) (map[string]interface{}, error)

func (*Service) UpdateUser

func (s *Service) UpdateUser(userId int64, oldPassword string, newPassword1 string, newPassword2 string, passwordReset bool, reminderQueryQuestion string, reminderQueryAnswer string, screenName string, emailAddress string, facebookId int64, openId string, languageId string, timeZoneId string, greeting string, comments string, firstName string, middleName string, lastName string, prefixId int, suffixId int, male bool, birthdayMonth int, birthdayDay int, birthdayYear int, smsSn string, aimSn string, facebookSn string, icqSn string, jabberSn string, msnSn string, mySpaceSn string, skypeSn string, twitterSn string, ymSn string, jobTitle string, groupIds []interface{}, organizationIds []interface{}, roleIds []interface{}, userGroupRoles []interface{}, userGroupIds []interface{}, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

func (*Service) UpdateUser2

func (s *Service) UpdateUser2(userId int64, oldPassword string, newPassword1 string, newPassword2 string, passwordReset bool, reminderQueryQuestion string, reminderQueryAnswer string, screenName string, emailAddress string, facebookId int64, openId string, languageId string, timeZoneId string, greeting string, comments string, firstName string, middleName string, lastName string, prefixId int, suffixId int, male bool, birthdayMonth int, birthdayDay int, birthdayYear int, smsSn string, aimSn string, facebookSn string, icqSn string, jabberSn string, msnSn string, mySpaceSn string, skypeSn string, twitterSn string, ymSn string, jobTitle string, groupIds []interface{}, organizationIds []interface{}, roleIds []interface{}, userGroupRoles []interface{}, userGroupIds []interface{}, addresses []interface{}, emailAddresses []interface{}, phones []interface{}, websites []interface{}, announcementsDelivers []interface{}, serviceContext *liferay.ObjectWrapper) (map[string]interface{}, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL