Package com.axemble.vdoc.sdk.interfaces
Interface IUserTechnicalInformation
- All Superinterfaces:
Serializable
Interface for a user's technical information
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the account activation date.Gets the creator of the user.Gets the created date.Retrieves the expiration date.Retrieves the account last password update date.Retrieves the account last visited date.Gets the editor of the user.Gets the modified date.Gets the date on which a user last received an email warning of the future deactivation of their account (because of their lack of connection)Gets the date on which the user validated the privacy policygetSub()
Gets the sub of the userboolean
Checks if the user can open a connection.boolean
isLocked()
Checks if the user is locked.void
setActivationDate
(Date date) Sets the account activation date.void
setExpirationDate
(Date date) Sets the account expiration date.void
setLastVisitedDate
(Date date) Sets the user's last connection.void
unlock()
Allows to unlock the user.void
Validates the privacy policy for this user at the current date
-
Method Details
-
getActivationDate
Date getActivationDate()Retrieves the account activation date.- Returns:
- A java.util.Date value.
-
setActivationDate
Sets the account activation date.- Parameters:
date
- A java.util.Date value.
-
getLastPasswordUpdate
Date getLastPasswordUpdate()Retrieves the account last password update date.- Returns:
- A java.util.Date value.
-
getLastVisitedDate
Date getLastVisitedDate()Retrieves the account last visited date.- Returns:
- A java.util.Date value.
-
setLastVisitedDate
Sets the user's last connection.- Parameters:
date
- A java.util.Date value.
-
getExpirationDate
Date getExpirationDate()Retrieves the expiration date.- Returns:
- A java.util.Date value.
-
setExpirationDate
Sets the account expiration date.- Parameters:
date
- A java.util.Date value.
-
getCreatedDate
Date getCreatedDate()Gets the created date.- Returns:
- A java.util.Date value.
-
getCreatedBy
IUser getCreatedBy()Gets the creator of the user.- Returns:
- A
IUser
object.
-
getModifiedDate
Date getModifiedDate()Gets the modified date.- Returns:
- A java.util.Date value.
-
getModifiedBy
IUser getModifiedBy()Gets the editor of the user.- Returns:
- A
IUser
object.
-
isConnectionAllowed
boolean isConnectionAllowed()Checks if the user can open a connection.- Returns:
- true if the user can open a connection, false otherwise.
-
isLocked
boolean isLocked()Checks if the user is locked.- Returns:
- true if the user is locked, false otherwise.
-
unlock
void unlock()Allows to unlock the user. -
validatePrivacyPolicy
void validatePrivacyPolicy()Validates the privacy policy for this user at the current date -
getPrivacyPolicyValidation
Date getPrivacyPolicyValidation()Gets the date on which the user validated the privacy policy- Returns:
- the date or null if the user has never validated the privacy policy
-
getSub
String getSub()Gets the sub of the user- Returns:
- the sub String value
-
getPreDeactivationDate
Date getPreDeactivationDate()Gets the date on which a user last received an email warning of the future deactivation of their account (because of their lack of connection)- Returns:
- the date or null if the user has never received this mail
-