Interface IUser
- All Superinterfaces:
IAttributeSupport,IDeletionSupport,IDirectory,IElement,IExternalSupport,ILocalizationScopeSupport,IProtocolSupport,ISearchSupport,ISecuritySupport,Serializable
- All Known Subinterfaces:
IOperator
- Since:
- 1.0
- Version:
- 1.0, 28/10/2007
- Author:
- Vassyly Lygeros
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()Allows to disable the account.voidenable()Allows to activate the account.Deprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseCollection<? extends IGroup> Gets the user's recursive parents.Deprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falsegetCity()Deprecated.since = 2024.1 forRemoval = falseCollection<? extends IUser> Gets the user's collaborators.Deprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falsegetEmail()Gets the user's email.Deprecated.since = 2024.1 forRemoval = falsegetEntry()Deprecated.since = 2024.1 forRemoval = falsegetExit()Deprecated.since = 2024.1 forRemoval = falseDeprecated.since = 10.0 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseGets the user's fax number.Retrieves the first name of the user.Retrieves the full name of the user.Deprecated.since = 2024.1 forRemoval = falseRetrieves the user's current language.Retrieves the last name of the user.Deprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseCollection<? extends IUser> Gets the user's leaders.Gets the user's localization.getLogin()Retrieves the login of the user.Deprecated.since = 2024.1 forRemoval = falseGets the user's mobile phone number.Deprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falseRetrieves the users's organization.Collection<? extends IGroup> Gets the user's parents.Retrieve all the user's personal informationGets the user's phone number.Retrieve all the user's professional informationgetSex()Deprecated.since = 2024.1 forRemoval = falseGet the user's signature.getSkin()Retrieves the user's current skin.Deprecated.since = 2024.1 forRemoval = falseRetrieve all the user's technical informationdefault StringGets the user's time zone.getTitle()Gets the title of the user.Deprecated.since = 2024.1 forRemoval = falseDeprecated.since = 2024.1 forRemoval = falsebooleanChecks if the user is the anonymous accountbooleanDeprecated.since = 2024.1 forRemoval = falsebooleanisEnable()Checks if the account is active.booleanisLocked()Deprecated.since = 2024.1 forRemoval = falsebooleanisMemberOf(IGroup group, boolean recursive) Checks if the user is member of the specified group.booleanisMemberOf(ILocalization localization, boolean recursive) Checks if the user is member of the specified localization.booleanisMemberOf(IOrganization organization, boolean recursive) Checks if the user is member of the specified organization.booleanisMemberOf(IProfile profile, boolean recursive) Checks if the user is member of the specified profile.booleanisMemberOf(IRole role, boolean recursive) Deprecated.use isMemberOf method withIProfileparameter instead.booleanisSubscriber(IMailingList mailingList) Tests if the user is a subscriber of a mailing list.booleanChecks if the user is the sysadmin accountvoidsetActivationDate(Date date) Deprecated.since = 2024.1 forRemoval = falsevoidsetAddress1(String address1) Deprecated.since = 2024.1 forRemoval = falsevoidsetAddress2(String address2) Deprecated.since = 2024.1 forRemoval = falsevoidsetAssistant(IUser assistant) Deprecated.since = 2024.1 forRemoval = falsevoidsetAvatar(IAttachment attachment) Deprecated.since = 2024.1 forRemoval = falsevoidsetBirthday(Date date) Deprecated.since = 2024.1 forRemoval = falsevoidDeprecated.since = 2024.1 forRemoval = falsevoidsetContractType(String contractType) Deprecated.since = 2024.1 forRemoval = falsevoidsetCountry(String country) Deprecated.since = 2024.1 forRemoval = falsevoidsetDescription(String description) Deprecated.since = 2024.1 forRemoval = falsevoidSets the user's email.voidsetEmployeeNumber(String employeeNumber) Deprecated.since = 2024.1 forRemoval = falsevoidDeprecated.since = 2024.1 forRemoval = falsevoidDeprecated.since = 2024.1 forRemoval = falsevoidsetExpiration(Date date) Deprecated.since = 10.0 forRemoval = falsevoidsetExpirationDate(Date date) Deprecated.since = 2024.1 forRemoval = falsevoidsetFaxNumber(String faxNumber) Sets the user's fax number.voidsetFirstName(String firstName) Sets the first name of the user.voidsetFullName(String fullname) Sets the full name of the user.voidsetHierarchicalManager(IUser hierarchicalManager) Deprecated.since = 2024.1 forRemoval = falsevoidsetLanguage(String language) Sets the user's current language.voidsetLastName(String lastName) Sets the last name of the user.voidsetLastVisite(Date date) Deprecated.since = 2024.1 forRemoval = falsevoidsetLocalization(ILocalization localization) Allows to set the user's localization.voidSets the user's login.voidsetManager(IUser manager) Deprecated.since = 2024.1 forRemoval = falsevoidsetMobilePhoneNumber(String mobilePhoneNumber) Sets the user's mobile phone number.voidsetNickName(String nickName) Deprecated.since = 2024.1 forRemoval = falsevoidsetOrganization(IOrganization organization) Allows to set the user's organization.voidsetPassword(String password) Sets the user's password.voidsetPhoneNumber(String phoneNumber) Sets the user's phone number.voidDeprecated.since = 2024.1 forRemoval = falsevoidsetSignature(String signature) Sets the user's signature.voidSets the user's current skin.voidsetSocialCategory(String socialCategory) Deprecated.since = 2024.1 forRemoval = falsedefault voidsetTimeZone(String timeZone) Sets the user's time zone.voidSets the title of the user.voidsetUserFunction(String userFunction) Deprecated.since = 2024.1 forRemoval = falsevoidsetZipcode(String zipCode) Deprecated.since = 2024.1 forRemoval = falsevoidunlock()Deprecated.since = 2024.1 forRemoval = falseMethods inherited from interface com.axemble.vdoc.sdk.supports.IAttributeSupport
addAttribute, addAttributes, getAttribute, getAttributes, getExtendedAttributesMethods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupport
deleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IDirectory
getExternalId, isExternalMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IExternalSupport
getExternalClassName, getExternalNativeIdMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Method Details
-
isSysadmin
boolean isSysadmin()Checks if the user is the sysadmin account- Returns:
- true if the user is the sysadmin account, false otherwise.
-
isAnonymous
boolean isAnonymous()Checks if the user is the anonymous account- Returns:
- true if the user is the anonymous account, false otherwise.
-
getLogin
String getLogin()Retrieves the login of the user.- Returns:
- A java.lang.String value with the user's login.
-
setLogin
Sets the user's login.- Parameters:
login- A java.lang.String value.
-
getFirstName
String getFirstName()Retrieves the first name of the user.- Returns:
- A java.lang.String value with the user's first name.
-
setFirstName
Sets the first name of the user.- Parameters:
firstName- A java.lang.String value.
-
getLastName
String getLastName()Retrieves the last name of the user.- Returns:
- A java.lang.String value with the user's last name.
-
setLastName
Sets the last name of the user.- Parameters:
lastName- A java.lang.String value.
-
getFullName
String getFullName()Retrieves the full name of the user.- Returns:
- A java.lang.String value with the user's full name.
-
setFullName
Sets the full name of the user.- Parameters:
fullname- A java.lang.String value.
-
getNickName
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getNickName() instead
Retrieves the nick name of the user.- Returns:
- A java.lang.String value.
-
setNickName
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setNickName() instead
Sets the nick name of the user.- Parameters:
nickName- A java.lang.String value.
-
getSex
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getSex() instead
Retrieves the sex of the user.- Returns:
- A java.lang.String value.
-
setSex
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setSex() instead
Sets the sex of the user.- Parameters:
sex- A java.lang.String value.
-
getBirthday
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getBirthday() instead
Gets the day of birth of the user.- Returns:
- A java.util.Date value.
-
setBirthday
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setBirthday() instead
Sets the date of birth of the user.- Parameters:
date- A java.util.Date value.
-
getTitle
String getTitle()Gets the title of the user.- Returns:
- A java.lang.String value.
-
setTitle
Sets the title of the user.- Parameters:
title- A java.lang.String value.
-
getEmployeeNumber
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getEmployeeNumber() instead
Retrieves the user's employee number.- Returns:
- A java.lang.String value.
-
setEmployeeNumber
Deprecated.since = 2024.1 forRemoval = falseuser IUser.getProfessionalInformation().setEmployeeNumber() instead
Sets the user's employee number.- Parameters:
employeeNumber- A java.lang.String value.
-
getContractType
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getContractType() instead
Retrieves the user's contract type.- Returns:
- A java.lang.String value.
-
setContractType
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setContractType() instead
Sets the user's contract type.- Parameters:
contractType- A java.lang.String value.
-
getUserFunction
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getUserFunction() instead
Retrieves the user's function.- Returns:
- A java.lang.String value.
-
setUserFunction
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setUserFunction() instead
Sets the user's function.- Parameters:
userFunction- A java.lang.String value.
-
getSocialCategory
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getSocialCategory() instead
Retrieves the user's social category.- Returns:
- A java.lang.String value.
-
setSocialCategory
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setSocialCategory() instead
Sets the user's social category.- Parameters:
socialCategory- A java.lang.String value.
-
getEmail
String getEmail()Gets the user's email.- Returns:
- A java.lang.String value.
-
setEmail
Sets the user's email.- Parameters:
email- A java.lang.String value.
-
getFaxNumber
String getFaxNumber()Gets the user's fax number.- Returns:
- A java.lang.String value.
-
setFaxNumber
Sets the user's fax number.- Parameters:
faxNumber- A java.lang.String value.
-
getPhoneNumber
String getPhoneNumber()Gets the user's phone number.- Returns:
- A java.lang.String value.
-
setPhoneNumber
Sets the user's phone number.- Parameters:
phoneNumber- A java.lang.String value.
-
getMobilePhoneNumber
String getMobilePhoneNumber()Gets the user's mobile phone number.- Returns:
- A java.lang.String value.
-
setMobilePhoneNumber
Sets the user's mobile phone number.- Parameters:
mobilePhoneNumber- A java.lang.String value.
-
getAvatar
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getAvatar() instead
Retrieves the user's avatar as anIAttachmentobject.- Returns:
- An
IAttachmentobject.
-
setAvatar
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setAvatar() instead
Sets the user's avatar.- Parameters:
attachment- AIAttachmentobject.
-
getSignature
String getSignature()Get the user's signature.- Returns:
- A java.lang.String value.
-
setSignature
Sets the user's signature.- Parameters:
signature- A java.lang.String value.
-
getSkin
String getSkin()Retrieves the user's current skin.- Returns:
- A java.lang.String value.
-
setSkin
Sets the user's current skin.- Parameters:
skin- A java.lang.String value.
-
getLanguage
String getLanguage()Retrieves the user's current language.- Returns:
- A java.lang.String value.
-
setLanguage
Sets the user's current language.- Parameters:
language- A java.lang.String value.
-
getActivationDate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getActivationDate() instead
Retrieves the account activation date.- Returns:
- A java.util.Date value.
-
setActivationDate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().setActivationDate() instead
Sets the account activation date.- Parameters:
date- A java.util.Date value.
-
getLastPasswordUpdate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getLastPasswordUpdate() instead
Retrieves the account last password update date.- Returns:
- A java.util.Date value.
-
getLastVisite
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getLastVisitedDate() method instead
- Returns:
- A java.util.Date value.
-
setLastVisite
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().setLastVisitedDate() instead
Sets the user's last connection.- Parameters:
date- A java.util.Date value.
-
getLastVisitedDate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getLastPasswordUpdate() instead
Retrieves the account last visited date.- Returns:
- A java.util.Date value.
-
getEntry
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getEntry() instead
Gets the entry date in the organization.- Returns:
- A java.util.Date value.
-
setEntry
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setEntry() instead
Sets the date of entry of the user in the organization.- Parameters:
date- A java.util.Date value.
-
getExit
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getExit() instead
Gets the leaving date from the organization.- Returns:
- A java.util.Date value.
-
setExit
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setExit() instead
Sets the leaving date of the user from the organization.- Parameters:
date- A java.util.Date value.
-
getExpiration
Deprecated.since = 10.0 forRemoval = falseuse IUser.getTechnicalInformation().getExpirationDate() instead
- Returns:
- A java.util.Date value.
-
setExpiration
Deprecated.since = 10.0 forRemoval = falseuse IUser.getTechnicalInformation().setExpirationDate() instead
- Parameters:
date- A java.util.Date value.
-
getExpirationDate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getExpirationDate() instead
Retrieves the expiration date.- Returns:
- A java.util.Date value.
-
setExpirationDate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().setExpirationDate() instead
Sets the account expiration date.- Parameters:
date- A java.util.Date value.
-
getAddress1
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getAddress1() instead
Gets the user's first address text.- Returns:
- A java.lang.String value.
-
setAddress1
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setAddress1() instead
Sets the first address text.- Parameters:
address1- A java.lang.String value.
-
getAddress2
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getAddress2() instead
Gets the user's second address text.- Returns:
- A java.lang.String value.
-
setAddress2
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setAddress2() instead
Sets the second address text.- Parameters:
address2- A java.lang.String value.
-
getCity
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getCity() instead
Gets the user's city.- Returns:
- A java.lang.String value.
-
setCity
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setCity() instead
Sets the user's address city.- Parameters:
city- A java.lang.String value.
-
getZipcode
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getZipcode() instead
Gets the user's ZIP code.- Returns:
- A java.lang.String value.
-
setZipcode
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setZipcode() instead
Sets the user's address ZIP code- Parameters:
zipCode- A java.lang.String value.
-
getCountry
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getCountry() instead
Gets the user's country.- Returns:
- A java.lang.String value.
-
setCountry
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setCountry() instead
Sets the user's address country- Parameters:
country- A java.lang.String value.
-
getCreatedDate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getCreatedDate() instead
Gets the created date.- Returns:
- A java.util.Date value.
-
getCreatedBy
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getCreatedBy() instead
Gets the creator of the user.- Returns:
- A
IUserobject.
-
getModifiedDate
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getModifiedDate() instead
Gets the modified date.- Returns:
- A java.util.Date value.
-
getModifiedBy
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().getModifiedBy() instead
Gets the editor of the user.- Returns:
- A
IUserobject.
-
getDescription
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().getDescription() instead
Gets the description of the user.- Returns:
- A
Stringvalue.
-
setDescription
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getPersonalInformation().setDescription() instead
Sets the description of the user.- Parameters:
description- The new description to set the user with.
-
getAssistant
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getAssistant() instead
Retrieves the user's assistant.- Returns:
- A
IUserobject.
-
setAssistant
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setAssistant() instead
Sets the user's assistant.- Parameters:
assistant- AIUserobject.
-
getManager
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getManager() instead
Retrieves the user's manager.- Returns:
- A
IUserobject.
-
setManager
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setManager() instead
Sets the user's manager.- Parameters:
manager- AIUserobject.
-
getHierarchicalManager
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().getHierarchicalManager() instead
Retrieves the user's hierarchical manager.- Returns:
- A
IUserobject.
-
setHierarchicalManager
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getProfessionalInformation().setHierarchicalManager() instead
Sets the user's hierarchical manager.- Parameters:
hierarchicalManager- AIUserobject.
-
getCollaborators
Collection<? extends IUser> getCollaborators()Gets the user's collaborators.- Returns:
- A java.util.Collection of
IUserobject.
-
getLeaders
Collection<? extends IUser> getLeaders()Gets the user's leaders.- Returns:
- A java.util.Collection of
IUserobject.
-
getOrganization
IOrganization getOrganization()Retrieves the users's organization.- Returns:
- A
IOrganizationobject.
-
setOrganization
Allows to set the user's organization.- Parameters:
organization- AIOrganizationobject.
-
getLocalization
ILocalization getLocalization()Gets the user's localization.- Returns:
- A
ILocalizationobject.
-
setLocalization
Allows to set the user's localization.- Parameters:
localization- AILocalizationobject.
-
isMemberOf
Checks if the user is member of the specified group.- Parameters:
group- AIGroupobject.recursive- Set to true if you wish to check recursively, false otherwise.- Returns:
- true if the user is member of the group, false otherwise.
-
isMemberOf
Deprecated.use isMemberOf method withIProfileparameter instead.- Parameters:
role- AIRoleobject.recursive- Set to true if you wish to check recursively, false otherwise.- Returns:
- true if the user is member of the role, false otherwise.
-
isMemberOf
Checks if the user is member of the specified profile.- Parameters:
profile- AIProfileobject.recursive- Set to true if you wish to check recursively, false otherwise.- Returns:
- true if the user is member of the profile, false otherwise.
-
isMemberOf
Checks if the user is member of the specified organization.- Parameters:
organization- AIOrganizationobject.recursive- Set to true if you wish to check recursively, false otherwise.- Returns:
- true if the user is member of the organization, false otherwise.
-
isMemberOf
Checks if the user is member of the specified localization.- Parameters:
localization- AILocalizationobject.recursive- Set to true if you wish to check recursively, false otherwise.- Returns:
- true if the user is member of the localization, false otherwise.
-
isSubscriber
Tests if the user is a subscriber of a mailing list. Returns true if user is a subscriber of the mailing list, false otherwise.- Parameters:
mailingList-IMailingListthe mailing list.- Returns:
- true if user is a subscriber of the mailing list, false otherwise.
-
getParents
Collection<? extends IGroup> getParents()Gets the user's parents.- Returns:
- A java.util.Collection of
IGroupobject.
-
getAllParents
Collection<? extends IGroup> getAllParents()Gets the user's recursive parents.- Returns:
- A java.util.Collection of
IGroupobject.
-
setPassword
Sets the user's password.- Parameters:
password- A java.lang.String value.
-
isEnable
boolean isEnable()Checks if the account is active.- Returns:
- true if the account is active, false otherwise.
-
enable
void enable()Allows to activate the account. -
disable
void disable()Allows to disable the account. -
isConnectionAllowed
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().isConnectionAllowed() instead
Checks if the user can open a connection.- Returns:
- true if the user can open a connection, false otherwise.
-
isLocked
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().isLocked() instead
Checks if the user is locked.- Returns:
- true if the user is locked, false otherwise.
-
unlock
Deprecated.since = 2024.1 forRemoval = falseuse IUser.getTechnicalInformation().unlock() instead
Allows to unlock the user. -
getTimeZone
Gets the user's time zone. -
setTimeZone
Sets the user's time zone. -
getProfessionalInformation
IUserProfessionalInformation getProfessionalInformation()Retrieve all the user's professional information- Returns:
- the user's professional information
-
getPersonalInformation
IUserPersonalInformation getPersonalInformation()Retrieve all the user's personal information- Returns:
- the user's personal information
-
getTechnicalInformation
IUserTechnicalInformation getTechnicalInformation()Retrieve all the user's technical information- Returns:
- the user's technical information
-