Class UserProfileExtendedEntity
- java.lang.Object
-
- org.silverpeas.core.admin.user.model.UserDetail
-
- org.silverpeas.core.webapi.profile.UserProfileEntity
-
- org.silverpeas.core.webapi.profile.UserProfileExtendedEntity
-
- All Implemented Interfaces:
Serializable
,Comparable<User>
,User
,WebEntity
public class UserProfileExtendedEntity extends UserProfileEntity
The complete profile of a user that is web entity in the WEB. It is a web entity representing the profile of a user that can be serialized into a given media type (JSON, XML). It is a decorator that decorates a UserFull object with additional properties concerning its exposition in the WEB.- 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 Modifier Constructor Description protected
UserProfileExtendedEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
static UserProfileExtendedEntity
fromUser(UserFull user)
Decorates the specified user full details with the required WEB exposition features.Map<String,String>
getMoreData()
Map<String,String>
getMoreLabelData()
int
hashCode()
UserFull
toUserFull()
UserProfileExtendedEntity
withAsUri(URI userUri)
-
Methods inherited from class org.silverpeas.core.webapi.profile.UserProfileEntity
fromUser, fromUsers, getAccessLevel, getAvatar, getContactsURI, getDomainId, getDomainName, getEmailAddress, getFirstName, getFullName, getId, getLanguage, getLastName, getLogin, getSpecificId, getStatus, getURI, getWebPage, isAnonymous, isBlockedState, isConnected, isDeactivatedState, isDeletedState, isExpiredState, isRemovedState, isSystem, setAccessLevel, setDeactivatedState, setDeletedState, setDomainId, setEmailAddress, setFirstName, setId, setLastName, setLogin, setSpecificId, setStatus, toUserDetail
-
Methods inherited from class org.silverpeas.core.admin.user.model.UserDetail
compareTo, from, getAll, getAnonymousUser, getAnonymousUserId, getAvatarFileName, getById, getCreationDate, getCurrentRequester, getDisplayedName, getDomain, getDurationOfCurrentSession, getExpirationDate, getInvitationReceivedFrom, getInvitationSentTo, getLastLoginCredentialUpdateDate, getLastLoginDate, getLoginAnswer, getLoginQuestion, getNbSuccessfulLoginAttempts, getNotifManualReceiverLimit, getOrganisationController, getSaveDate, getSmallAvatar, getState, getStateSaveDate, getSystemUser, getToken, getTosAcceptanceDate, getUserManualNotificationUserReceiverLimitValue, getUserPreferences, getVersion, hasSensitiveData, isAccessAdmin, isAccessDomainManager, isAccessGuest, isAccessPdcManager, isAccessUnknown, isAccessUser, isActivatedState, isAnonymousUser, isAnonymousUserExist, isAvatarDefined, isBackOfficeVisible, isBlanked, isDomainAdminRestricted, isDomainRestricted, isFullyDefined, isInRelationWith, isPlayingAdminRole, isUserManualNotificationUserReceiverLimit, isValidState, setCreationDate, setExpirationDate, setLastLoginCredentialUpdateDate, setLastLoginDate, setLoginAnswer, setLoginQuestion, setNbSuccessfulLoginAttempts, setNotifManualReceiverLimit, setSaveDate, setSensitiveData, setState, setStateSaveDate, setTosAcceptanceDate, setUserManualNotificationUserReceiverLimit, setVersion, traceUser
-
-
-
-
Method Detail
-
fromUser
public static UserProfileExtendedEntity fromUser(UserFull user)
Decorates the specified user full details with the required WEB exposition features.- Parameters:
user
- the user full details to decorate.- Returns:
- a web entity representing the profile of a user.
-
withAsUri
public UserProfileExtendedEntity withAsUri(URI userUri)
- Overrides:
withAsUri
in classUserProfileEntity
-
toUserFull
public UserFull toUserFull()
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classUserProfileEntity
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classUserProfileEntity
-
-