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()
Retrieves the account activation date.
|
String |
getAddress1()
Gets the user's first address text.
|
String |
getAddress2()
Gets the user's second address text.
|
Collection<? extends IGroup> |
getAllParents()
Gets the user's recursive parents.
|
IUser |
getAssistant()
Retrieves the user's assistant.
|
IAttachment |
getAvatar()
Retrieves the user's avatar as an
IAttachment object. |
Date |
getBirthday()
Gets the day of birth of the user.
|
String |
getCity()
Gets the user's city.
|
Collection<? extends IUser> |
getCollaborators()
Gets the user's collaborators.
|
String |
getContractType()
Retrieves the user's contract type.
|
String |
getCountry()
Gets the user's country.
|
IUser |
getCreatedBy()
Gets the creator of the user.
|
Date |
getCreatedDate()
Gets the created date.
|
String |
getDescription()
Gets the description of the user.
|
String |
getEmail()
Gets the user's email.
|
String |
getEmployeeNumber()
Retrieves the user's employee number.
|
Date |
getEntry()
Gets the entry date in the organization.
|
Date |
getExit()
Gets the leaving date from the organization.
|
Date |
getExpiration()
Deprecated.
use getExpirationDate method instead
|
Date |
getExpirationDate()
Retrieves the expiration date.
|
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()
Retrieves the user's hierarchical manager.
|
String |
getLanguage()
Retrieves the user's current language.
|
String |
getLastName()
Retrieves the last name of the user.
|
Date |
getLastPasswordUpdate()
Retrieves the account last password update date.
|
Date |
getLastVisite()
Deprecated.
use getLastVisitedDate method instead
|
Date |
getLastVisitedDate()
Retrieves the account last visited date.
|
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()
Retrieves the user's manager.
|
String |
getMobilePhoneNumber()
Gets the user's mobile phone number.
|
IUser |
getModifiedBy()
Gets the editor of the user.
|
Date |
getModifiedDate()
Gets the modified date.
|
String |
getNickName()
Retrieves the nick name of the user.
|
IOrganization |
getOrganization()
Retrieves the users's organization.
|
Collection<? extends IGroup> |
getParents()
Gets the user's parents.
|
String |
getPhoneNumber()
Gets the user's phone number.
|
String |
getSex()
Retrieves the sex of the user.
|
String |
getSignature()
Get the user's signature.
|
String |
getSkin()
Retrieves the user's current skin.
|
String |
getSocialCategory()
Retrieves the user's social category.
|
default String |
getTimeZone()
Gets the user's time zone.
|
String |
getTitle()
Gets the title of the user.
|
String |
getUserFunction()
Retrieves the user's function.
|
String |
getZipcode()
Gets the user's ZIP code.
|
boolean |
isAnonymous()
Checks if the user is the anonymous account
|
boolean |
isConnectionAllowed()
Checks if the user can open a connection.
|
boolean |
isEnable()
Checks if the account is active.
|
boolean |
isLocked()
Checks if the user is locked.
|
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)
Sets the account activation date.
|
void |
setAddress1(String address1)
Sets the first address text.
|
void |
setAddress2(String address2)
Sets the second address text.
|
void |
setAssistant(IUser assistant)
Sets the user's assistant.
|
void |
setAvatar(IAttachment attachment)
Sets the user's avatar.
|
void |
setBirthday(Date date)
Sets the date of birth of the user.
|
void |
setCity(String city)
Sets the user's address city.
|
void |
setContractType(String contractType)
Sets the user's contract type.
|
void |
setCountry(String country)
Sets the user's address country
|
void |
setDescription(String description)
Sets the description of the user.
|
void |
setEmail(String email)
Sets the user's email.
|
void |
setEmployeeNumber(String employeeNumber)
Sets the user's employee number.
|
void |
setEntry(Date date)
Sets the date of entry of the user in the organization.
|
void |
setExit(Date date)
Sets the leaving date of the user from the organization.
|
void |
setExpiration(Date date)
Deprecated.
use setExpirationDate method instead
|
void |
setExpirationDate(Date date)
Sets the account expiration date.
|
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)
Sets the user's hierarchical manager.
|
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)
Sets the user's last connection.
|
void |
setLocalization(ILocalization localization)
Allows to set the user's localization.
|
void |
setLogin(String login)
Sets the user's login.
|
void |
setManager(IUser manager)
Sets the user's manager.
|
void |
setMobilePhoneNumber(String mobilePhoneNumber)
Sets the user's mobile phone number.
|
void |
setNickName(String nickName)
Sets the nick name of the user.
|
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)
Sets the sex of the user.
|
void |
setSignature(String signature)
Sets the user's signature.
|
void |
setSkin(String skin)
Sets the user's current skin.
|
void |
setSocialCategory(String socialCategory)
Sets the user's social category.
|
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)
Sets the user's function.
|
void |
setZipcode(String zipCode)
Sets the user's address ZIP code
|
void |
unlock()
Allows to unlock the user.
|
getId, getModule, getNativeObject, getPath, save
getProtocolURI, getProtocolURI
addAttribute, addAttributes, getAttribute, getAttributes, getExtendedAttributes
delete
getExternalClassName, getExternalNativeId
getExternalId, isExternal
boolean isSysadmin()
boolean isAnonymous()
String getLogin()
String getFirstName()
String getLastName()
String getFullName()
String getNickName()
String getSex()
Date getBirthday()
String getTitle()
String getEmployeeNumber()
String getContractType()
String getUserFunction()
String getSocialCategory()
String getEmail()
String getFaxNumber()
String getPhoneNumber()
String getMobilePhoneNumber()
IAttachment getAvatar()
IAttachment
object.IAttachment
object.String getSignature()
String getSkin()
String getLanguage()
Date getActivationDate()
Date getLastPasswordUpdate()
@Deprecated Date getLastVisite()
Date getLastVisitedDate()
Date getEntry()
Date getExit()
@Deprecated Date getExpiration()
Date getExpirationDate()
String getAddress1()
String getAddress2()
String getCity()
String getZipcode()
String getCountry()
Date getCreatedDate()
Date getModifiedDate()
IUser getHierarchicalManager()
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 setLogin(String login)
login
- A java.lang.String value.void setPassword(String password)
password
- A java.lang.String value.void setFirstName(String firstName)
firstName
- A java.lang.String value.void setLastName(String lastName)
lastName
- A java.lang.String value.void setFullName(String fullname)
fullname
- A java.lang.String value.void setNickName(String nickName)
nickName
- A java.lang.String value.void setSex(String sex)
sex
- A java.lang.String value.void setBirthday(Date date)
date
- A java.util.Date value.void setTitle(String title)
title
- A java.lang.String value.void setEmployeeNumber(String employeeNumber)
employeeNumber
- A java.lang.String value.void setContractType(String contractType)
contractType
- A java.lang.String value.void setUserFunction(String userFunction)
userFunction
- A java.lang.String value.void setSocialCategory(String socialCategory)
socialCategory
- A java.lang.String value.void setEmail(String email)
email
- A java.lang.String value.void setFaxNumber(String faxNumber)
faxNumber
- A java.lang.String value.void setPhoneNumber(String phoneNumber)
phoneNumber
- A java.lang.String value.void setMobilePhoneNumber(String mobilePhoneNumber)
mobilePhoneNumber
- A java.lang.String value.void setAvatar(IAttachment attachment)
attachment
- A IAttachment
object.void setSignature(String signature)
signature
- A java.lang.String value.void setSkin(String skin)
skin
- A java.lang.String value.void setLanguage(String language)
language
- A java.lang.String value.void setLastVisite(Date date)
date
- A java.util.Date value.void setEntry(Date date)
date
- A java.util.Date value.void setExit(Date date)
date
- A java.util.Date value.void setActivationDate(Date date)
date
- A java.util.Date value.@Deprecated void setExpiration(Date date)
date
- A java.util.Date value.void setExpirationDate(Date date)
date
- A java.util.Date value.void setAddress1(String address1)
address1
- A java.lang.String value.void setAddress2(String address2)
address2
- A java.lang.String value.void setCity(String city)
city
- A java.lang.String value.void setZipcode(String zipCode)
zipCode
- A java.lang.String value.void setCountry(String country)
country
- A java.lang.String value.void setDescription(String description)
description
- The new description to set the user with.void setAssistant(IUser assistant)
assistant
- A IUser
object.void setManager(IUser manager)
manager
- A IUser
object.void setHierarchicalManager(IUser hierarchicalManager)
hierarchicalManager
- A IUser
object.boolean isEnable()
void enable()
void disable()
boolean isConnectionAllowed()
boolean isLocked()
void unlock()
default String getTimeZone()
default void setTimeZone(String timeZone)
Copyright © 2021 Visiativ Software. All rights reserved.