Class UserFull
- java.lang.Object
-
- org.silverpeas.core.admin.user.model.UserDetail
-
- org.silverpeas.core.admin.user.model.UserFull
-
- All Implemented Interfaces:
Serializable
,Comparable<User>
,User
public class UserFull extends UserDetail
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.silverpeas.core.admin.user.model.UserDetail
UserDetail.OnCreationDate, UserDetail.OnFirstNameAndLastName
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.admin.user.model.UserDetail
BLANK_NAME, SYSTEM_USER_ID
-
Fields inherited from interface org.silverpeas.core.admin.user.model.User
DEFAULT_AVATAR_PATH
-
-
Constructor Summary
Constructors Constructor Description UserFull()
Creates new UserFullUserFull(DomainDriver domainDriver)
UserFull(DomainDriver domainDriver, UserDetail toClone)
-
Method Summary
-
Methods inherited from class org.silverpeas.core.admin.user.model.UserDetail
compareTo, from, getAccessLevel, getAll, getAnonymousUser, getAnonymousUserId, getAvatar, getAvatarFileName, getCreationDate, getCurrentRequester, getDisplayedName, getDomain, getDomainId, getDurationOfCurrentSession, getEmailAddress, getExpirationDate, getFirstName, getId, getInvitationReceivedFrom, getInvitationSentTo, getLastLoginCredentialUpdateDate, getLastLoginDate, getLastName, getLogin, getLoginAnswer, getLoginQuestion, getNbSuccessfulLoginAttempts, getNotifManualReceiverLimit, getOrganisationController, getSaveDate, getSmallAvatar, getSpecificId, getState, getStateSaveDate, getStatus, getSystemUser, getToken, getTosAcceptanceDate, getUserManualNotificationUserReceiverLimitValue, getUserPreferences, getVersion, hasSensitiveData, isAccessAdmin, isAccessDomainManager, isAccessGuest, isAccessPdcManager, isAccessUnknown, isAccessUser, isActivatedState, isAnonymous, isAnonymousUser, isAnonymousUserExist, isAvatarDefined, isBackOfficeVisible, isBlanked, isBlockedState, isConnected, isDeactivatedState, isDeletedState, isDomainAdminRestricted, isDomainRestricted, isExpiredState, isFullyDefined, isInRelationWith, isPlayingAdminRole, isRemovedState, isSystem, isUserManualNotificationUserReceiverLimit, isValidState, setAccessLevel, setCreationDate, setDomainId, setEmailAddress, setExpirationDate, setFirstName, setId, setLastLoginCredentialUpdateDate, setLastLoginDate, setLastName, setLogin, setLoginAnswer, setLoginQuestion, setNbSuccessfulLoginAttempts, setNotifManualReceiverLimit, setSaveDate, setSensitiveData, setSpecificId, setState, setStateSaveDate, setTosAcceptanceDate, setUserManualNotificationUserReceiverLimit, setVersion, traceUser
-
-
-
-
Constructor Detail
-
UserFull
public UserFull()
Creates new UserFull
-
UserFull
public UserFull(DomainDriver domainDriver)
-
UserFull
public UserFull(DomainDriver domainDriver, UserDetail toClone)
-
-
Method Detail
-
getById
public static UserFull getById(String userId)
Gets the full profile of the user with the specified identifier.- Parameters:
userId
- the unique identifier of the user in Silverpeas.- Returns:
- the full profile of the user.
-
getByIds
public static List<UserFull> getByIds(Collection<String> userIds)
Gets full profiles of user corresponding to the specified identifiers.- Parameters:
userIds
- the unique identifiers of users in Silverpeas.- Returns:
- list of full profile of user.
-
isPasswordAvailable
public boolean isPasswordAvailable()
-
setPasswordAvailable
public void setPasswordAvailable(boolean pa)
-
isPasswordValid
public boolean isPasswordValid()
-
setPasswordValid
public void setPasswordValid(boolean pv)
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String p)
-
getPropertiesNames
public String[] getPropertiesNames()
-
getValue
public boolean getValue(String propertyName, boolean defaultValue)
-
isPropertyUpdatableByUser
public boolean isPropertyUpdatableByUser(String property)
-
isPropertyUpdatableByAdmin
public boolean isPropertyUpdatableByAdmin(String property)
-
isAtLeastOnePropertyUpdatableByAdmin
public boolean isAtLeastOnePropertyUpdatableByAdmin()
-
isAtLeastOnePropertyUpdatableByUser
public boolean isAtLeastOnePropertyUpdatableByUser()
-
getProperty
public DomainProperty getProperty(String property)
-
setValue
public void setValue(String propertyName, boolean bValue)
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classUserDetail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUserDetail
-
-