public interface IUser extends IElement, ISecuritySupport, ISearchSupport, IAttributeSupport, IDeletionSupport, IExternalSupport, IProtocolSupport, ILocalizationScopeSupport, IDirectory
IGroup
,
ILocalization
,
IOrganization
Modifier and Type | Method and Description |
---|---|
void |
disable()
Allows to disable the account.
|
void |
enable()
Allows to activate the account.
|
Date |
getActivationDate()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getActivationDate() instead |
String |
getAddress1()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getAddress1() instead |
String |
getAddress2()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getAddress2() instead |
Collection<? extends IGroup> |
getAllParents()
Gets the user's recursive parents.
|
IUser |
getAssistant()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getAssistant() instead |
IAttachment |
getAvatar()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getAvatar() instead |
Date |
getBirthday()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getBirthday() instead |
String |
getCity()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getCity() instead |
Collection<? extends IUser> |
getCollaborators()
Gets the user's collaborators.
|
String |
getContractType()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getContractType() instead |
String |
getCountry()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getCountry() instead |
IUser |
getCreatedBy()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getCreatedBy() instead |
Date |
getCreatedDate()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getCreatedDate() instead |
String |
getDescription()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getDescription() instead |
String |
getEmail()
Gets the user's email.
|
String |
getEmployeeNumber()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getEmployeeNumber() instead |
Date |
getEntry()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getEntry() instead |
Date |
getExit()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getExit() instead |
Date |
getExpiration()
Deprecated.
since = 10.0 forRemoval = false
use IUser.getTechnicalInformation().getExpirationDate() instead |
Date |
getExpirationDate()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getExpirationDate() instead |
String |
getFaxNumber()
Gets the user's fax number.
|
String |
getFirstName()
Retrieves the first name of the user.
|
String |
getFullName()
Retrieves the full name of the user.
|
IUser |
getHierarchicalManager()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getHierarchicalManager() instead |
String |
getLanguage()
Retrieves the user's current language.
|
String |
getLastName()
Retrieves the last name of the user.
|
Date |
getLastPasswordUpdate()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getLastPasswordUpdate() instead |
Date |
getLastVisite()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getLastVisitedDate() method instead |
Date |
getLastVisitedDate()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getLastPasswordUpdate() instead |
Collection<? extends IUser> |
getLeaders()
Gets the user's leaders.
|
ILocalization |
getLocalization()
Gets the user's localization.
|
String |
getLogin()
Retrieves the login of the user.
|
IUser |
getManager()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getManager() instead |
String |
getMobilePhoneNumber()
Gets the user's mobile phone number.
|
IUser |
getModifiedBy()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getModifiedBy() instead |
Date |
getModifiedDate()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().getModifiedDate() instead |
String |
getNickName()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getNickName() instead |
IOrganization |
getOrganization()
Retrieves the users's organization.
|
Collection<? extends IGroup> |
getParents()
Gets the user's parents.
|
IUserPersonalInformation |
getPersonalInformation()
Retrieve all the user's personal information
|
String |
getPhoneNumber()
Gets the user's phone number.
|
IUserProfessionalInformation |
getProfessionalInformation()
Retrieve all the user's professional information
|
String |
getSex()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getSex() instead |
String |
getSignature()
Get the user's signature.
|
String |
getSkin()
Retrieves the user's current skin.
|
String |
getSocialCategory()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getSocialCategory() instead |
String |
getSub()
Deprecated.
since = 2024.1 forRemoval = true
use IUser.getTechnicalInformation().getSub() instead |
IUserTechnicalInformation |
getTechnicalInformation()
Retrieve all the user's technical information
|
default String |
getTimeZone()
Gets the user's time zone.
|
String |
getTitle()
Gets the title of the user.
|
String |
getUserFunction()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().getUserFunction() instead |
String |
getZipcode()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().getZipcode() instead |
boolean |
isAnonymous()
Checks if the user is the anonymous account
|
boolean |
isConnectionAllowed()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().isConnectionAllowed() instead |
boolean |
isEnable()
Checks if the account is active.
|
boolean |
isLocked()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().isLocked() instead |
boolean |
isMemberOf(IGroup group,
boolean recursive)
Checks if the user is member of the specified group.
|
boolean |
isMemberOf(ILocalization localization,
boolean recursive)
Checks if the user is member of the specified localization.
|
boolean |
isMemberOf(IOrganization organization,
boolean recursive)
Checks if the user is member of the specified organization.
|
boolean |
isMemberOf(IProfile profile,
boolean recursive)
Checks if the user is member of the specified profile.
|
boolean |
isMemberOf(IRole role,
boolean recursive)
Deprecated.
use isMemberOf method with
IProfile parameter instead. |
boolean |
isSubscriber(IMailingList mailingList)
Tests if the user is a subscriber of a mailing list.
|
boolean |
isSysadmin()
Checks if the user is the sysadmin account
|
void |
setActivationDate(Date date)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().setActivationDate() instead |
void |
setAddress1(String address1)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setAddress1() instead |
void |
setAddress2(String address2)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setAddress2() instead |
void |
setAssistant(IUser assistant)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setAssistant() instead |
void |
setAvatar(IAttachment attachment)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setAvatar() instead |
void |
setBirthday(Date date)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setBirthday() instead |
void |
setCity(String city)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setCity() instead |
void |
setContractType(String contractType)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setContractType() instead |
void |
setCountry(String country)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setCountry() instead |
void |
setDescription(String description)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setDescription() instead |
void |
setEmail(String email)
Sets the user's email.
|
void |
setEmployeeNumber(String employeeNumber)
Deprecated.
since = 2024.1 forRemoval = false
user IUser.getProfessionalInformation().setEmployeeNumber() instead |
void |
setEntry(Date date)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setEntry() instead |
void |
setExit(Date date)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setExit() instead |
void |
setExpiration(Date date)
Deprecated.
since = 10.0 forRemoval = false
use IUser.getTechnicalInformation().setExpirationDate() instead |
void |
setExpirationDate(Date date)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().setExpirationDate() instead |
void |
setFaxNumber(String faxNumber)
Sets the user's fax number.
|
void |
setFirstName(String firstName)
Sets the first name of the user.
|
void |
setFullName(String fullname)
Sets the full name of the user.
|
void |
setHierarchicalManager(IUser hierarchicalManager)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setHierarchicalManager() instead |
void |
setLanguage(String language)
Sets the user's current language.
|
void |
setLastName(String lastName)
Sets the last name of the user.
|
void |
setLastVisite(Date date)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().setLastVisitedDate() instead |
void |
setLocalization(ILocalization localization)
Allows to set the user's localization.
|
void |
setLogin(String login)
Sets the user's login.
|
void |
setManager(IUser manager)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setManager() instead |
void |
setMobilePhoneNumber(String mobilePhoneNumber)
Sets the user's mobile phone number.
|
void |
setNickName(String nickName)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setNickName() instead |
void |
setOrganization(IOrganization organization)
Allows to set the user's organization.
|
void |
setPassword(String password)
Sets the user's password.
|
void |
setPhoneNumber(String phoneNumber)
Sets the user's phone number.
|
void |
setSex(String sex)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setSex() instead |
void |
setSignature(String signature)
Sets the user's signature.
|
void |
setSkin(String skin)
Sets the user's current skin.
|
void |
setSocialCategory(String socialCategory)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setSocialCategory() instead |
default void |
setTimeZone(String timeZone)
Sets the user's time zone.
|
void |
setTitle(String title)
Sets the title of the user.
|
void |
setUserFunction(String userFunction)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getProfessionalInformation().setUserFunction() instead |
void |
setZipcode(String zipCode)
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getPersonalInformation().setZipcode() instead |
void |
unlock()
Deprecated.
since = 2024.1 forRemoval = false
use IUser.getTechnicalInformation().unlock() instead |
getId, getModule, getNativeObject, getPath, save
getProtocolURI, getProtocolURI
addAttribute, addAttributes, getAttribute, getAttributes, getExtendedAttributes
delete
getExternalClassName, getExternalNativeId
getExternalId, isExternal
boolean isSysadmin()
boolean isAnonymous()
String getLogin()
void setLogin(String login)
login
- A java.lang.String value.String getFirstName()
void setFirstName(String firstName)
firstName
- A java.lang.String value.String getLastName()
void setLastName(String lastName)
lastName
- A java.lang.String value.String getFullName()
void setFullName(String fullname)
fullname
- A java.lang.String value.@Deprecated String getNickName()
use IUser.getPersonalInformation().getNickName() instead
@Deprecated void setNickName(String nickName)
use IUser.getPersonalInformation().setNickName() instead
nickName
- A java.lang.String value.@Deprecated String getSex()
use IUser.getPersonalInformation().getSex() instead
@Deprecated void setSex(String sex)
use IUser.getPersonalInformation().setSex() instead
sex
- A java.lang.String value.@Deprecated Date getBirthday()
use IUser.getPersonalInformation().getBirthday() instead
@Deprecated void setBirthday(Date date)
use IUser.getPersonalInformation().setBirthday() instead
date
- A java.util.Date value.String getTitle()
void setTitle(String title)
title
- A java.lang.String value.@Deprecated String getEmployeeNumber()
use IUser.getProfessionalInformation().getEmployeeNumber() instead
@Deprecated void setEmployeeNumber(String employeeNumber)
user IUser.getProfessionalInformation().setEmployeeNumber() instead
employeeNumber
- A java.lang.String value.@Deprecated String getContractType()
use IUser.getProfessionalInformation().getContractType() instead
@Deprecated void setContractType(String contractType)
use IUser.getProfessionalInformation().setContractType() instead
contractType
- A java.lang.String value.@Deprecated String getUserFunction()
use IUser.getProfessionalInformation().getUserFunction() instead
@Deprecated void setUserFunction(String userFunction)
use IUser.getProfessionalInformation().setUserFunction() instead
userFunction
- A java.lang.String value.@Deprecated String getSocialCategory()
use IUser.getProfessionalInformation().getSocialCategory() instead
@Deprecated void setSocialCategory(String socialCategory)
use IUser.getProfessionalInformation().setSocialCategory() instead
socialCategory
- A java.lang.String value.String getEmail()
void setEmail(String email)
email
- A java.lang.String value.String getFaxNumber()
void setFaxNumber(String faxNumber)
faxNumber
- A java.lang.String value.String getPhoneNumber()
void setPhoneNumber(String phoneNumber)
phoneNumber
- A java.lang.String value.String getMobilePhoneNumber()
void setMobilePhoneNumber(String mobilePhoneNumber)
mobilePhoneNumber
- A java.lang.String value.@Deprecated IAttachment getAvatar()
use IUser.getPersonalInformation().getAvatar() instead
IAttachment
object.IAttachment
object.@Deprecated void setAvatar(IAttachment attachment)
use IUser.getPersonalInformation().setAvatar() instead
attachment
- A IAttachment
object.String getSignature()
void setSignature(String signature)
signature
- A java.lang.String value.String getSkin()
void setSkin(String skin)
skin
- A java.lang.String value.String getLanguage()
void setLanguage(String language)
language
- A java.lang.String value.@Deprecated Date getActivationDate()
use IUser.getTechnicalInformation().getActivationDate() instead
@Deprecated void setActivationDate(Date date)
use IUser.getTechnicalInformation().setActivationDate() instead
date
- A java.util.Date value.@Deprecated Date getLastPasswordUpdate()
use IUser.getTechnicalInformation().getLastPasswordUpdate() instead
@Deprecated Date getLastVisite()
use IUser.getTechnicalInformation().getLastVisitedDate() method instead
@Deprecated void setLastVisite(Date date)
use IUser.getTechnicalInformation().setLastVisitedDate() instead
date
- A java.util.Date value.@Deprecated Date getLastVisitedDate()
use IUser.getTechnicalInformation().getLastPasswordUpdate() instead
@Deprecated Date getEntry()
use IUser.getProfessionalInformation().getEntry() instead
@Deprecated void setEntry(Date date)
use IUser.getProfessionalInformation().setEntry() instead
date
- A java.util.Date value.@Deprecated Date getExit()
use IUser.getProfessionalInformation().getExit() instead
@Deprecated void setExit(Date date)
use IUser.getProfessionalInformation().setExit() instead
date
- A java.util.Date value.@Deprecated Date getExpiration()
use IUser.getTechnicalInformation().getExpirationDate() instead
@Deprecated void setExpiration(Date date)
use IUser.getTechnicalInformation().setExpirationDate() instead
date
- A java.util.Date value.@Deprecated Date getExpirationDate()
use IUser.getTechnicalInformation().getExpirationDate() instead
@Deprecated void setExpirationDate(Date date)
use IUser.getTechnicalInformation().setExpirationDate() instead
date
- A java.util.Date value.@Deprecated String getAddress1()
use IUser.getPersonalInformation().getAddress1() instead
@Deprecated void setAddress1(String address1)
use IUser.getPersonalInformation().setAddress1() instead
address1
- A java.lang.String value.@Deprecated String getAddress2()
use IUser.getPersonalInformation().getAddress2() instead
@Deprecated void setAddress2(String address2)
use IUser.getPersonalInformation().setAddress2() instead
address2
- A java.lang.String value.@Deprecated String getCity()
use IUser.getPersonalInformation().getCity() instead
@Deprecated void setCity(String city)
use IUser.getPersonalInformation().setCity() instead
city
- A java.lang.String value.@Deprecated String getZipcode()
use IUser.getPersonalInformation().getZipcode() instead
@Deprecated void setZipcode(String zipCode)
use IUser.getPersonalInformation().setZipcode() instead
zipCode
- A java.lang.String value.@Deprecated String getCountry()
use IUser.getPersonalInformation().getCountry() instead
@Deprecated void setCountry(String country)
use IUser.getPersonalInformation().setCountry() instead
country
- A java.lang.String value.@Deprecated Date getCreatedDate()
use IUser.getTechnicalInformation().getCreatedDate() instead
@Deprecated IUser getCreatedBy()
use IUser.getTechnicalInformation().getCreatedBy() instead
IUser
object.@Deprecated Date getModifiedDate()
use IUser.getTechnicalInformation().getModifiedDate() instead
@Deprecated IUser getModifiedBy()
use IUser.getTechnicalInformation().getModifiedBy() instead
IUser
object.@Deprecated String getDescription()
use IUser.getPersonalInformation().getDescription() instead
String
value.@Deprecated void setDescription(String description)
use IUser.getPersonalInformation().setDescription() instead
description
- The new description to set the user with.@Deprecated IUser getAssistant()
use IUser.getProfessionalInformation().getAssistant() instead
IUser
object.@Deprecated void setAssistant(IUser assistant)
use IUser.getProfessionalInformation().setAssistant() instead
assistant
- A IUser
object.@Deprecated IUser getManager()
use IUser.getProfessionalInformation().getManager() instead
IUser
object.@Deprecated void setManager(IUser manager)
use IUser.getProfessionalInformation().setManager() instead
manager
- A IUser
object.@Deprecated IUser getHierarchicalManager()
use IUser.getProfessionalInformation().getHierarchicalManager() instead
IUser
object.@Deprecated void setHierarchicalManager(IUser hierarchicalManager)
use IUser.getProfessionalInformation().setHierarchicalManager() instead
hierarchicalManager
- A IUser
object.Collection<? extends IUser> getCollaborators()
IUser
object.Collection<? extends IUser> getLeaders()
IUser
object.IOrganization getOrganization()
IOrganization
object.void setOrganization(IOrganization organization)
organization
- A IOrganization
object.ILocalization getLocalization()
ILocalization
object.void setLocalization(ILocalization localization)
localization
- A ILocalization
object.boolean isMemberOf(IGroup group, boolean recursive)
group
- A IGroup
object.recursive
- Set to true if you wish to check recursively, false otherwise.@Deprecated boolean isMemberOf(IRole role, boolean recursive)
IProfile
parameter instead.role
- A IRole
object.recursive
- Set to true if you wish to check recursively, false otherwise.boolean isMemberOf(IProfile profile, boolean recursive)
profile
- A IProfile
object.recursive
- Set to true if you wish to check recursively, false otherwise.boolean isMemberOf(IOrganization organization, boolean recursive)
organization
- A IOrganization
object.recursive
- Set to true if you wish to check recursively, false otherwise.boolean isMemberOf(ILocalization localization, boolean recursive)
localization
- A ILocalization
object.recursive
- Set to true if you wish to check recursively, false otherwise.boolean isSubscriber(IMailingList mailingList)
mailingList
- IMailingList
the mailing list.Collection<? extends IGroup> getParents()
IGroup
object.Collection<? extends IGroup> getAllParents()
IGroup
object.void setPassword(String password)
password
- A java.lang.String value.boolean isEnable()
void enable()
void disable()
@Deprecated boolean isConnectionAllowed()
use IUser.getTechnicalInformation().isConnectionAllowed() instead
@Deprecated boolean isLocked()
use IUser.getTechnicalInformation().isLocked() instead
@Deprecated void unlock()
use IUser.getTechnicalInformation().unlock() instead
default String getTimeZone()
default void setTimeZone(String timeZone)
@Deprecated String getSub()
use IUser.getTechnicalInformation().getSub() instead
IUserProfessionalInformation getProfessionalInformation()
IUserPersonalInformation getPersonalInformation()
IUserTechnicalInformation getTechnicalInformation()
Copyright © 2024 Visiativ. All rights reserved.