com.silverpeas.profile.web
Class UserProfileExtendedEntity
java.lang.Object
com.stratelia.webactiv.beans.admin.UserDetail
com.silverpeas.profile.web.UserProfileEntity
com.silverpeas.profile.web.UserProfileExtendedEntity
- All Implemented Interfaces:
- Exposable, Serializable, Comparable<UserDetail>
public class UserProfileExtendedEntity
- extends UserProfileEntity
The complete profile of a user that is exposable 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
Methods inherited from class com.silverpeas.profile.web.UserProfileEntity |
fromUser, fromUsers, getAccessLevel, getAvatar, getContactsURI, getDomainId, getDomainName, geteMail, getFirstName, getFullName, getId, getLanguage, getLastName, getLogin, getSpecificId, getStatus, getTchatPage, getURI, getWebPage, isAnonymous, isConnected, isDeactivatedState, isDeletedState, setAccessLevel, setDeactivatedState, setDeletedState, setDomainId, seteMail, setFirstName, setId, setLastName, setLogin, setSpecificId, setStatus, toUserDetail |
Methods inherited from class com.stratelia.webactiv.beans.admin.UserDetail |
compareTo, getAll, getAllInDomain, getAnonymousUser, getAnonymousUserId, getAvatarFileName, getById, getCreationDate, getCurrentRequester, getDisplayedName, getDomain, getDurationOfCurrentSession, getExpirationDate, getLastLoginCredentialUpdateDate, getLastLoginDate, getLoginAnswer, getLoginQuestion, getNbSuccessfulLoginAttempts, getNotifManualReceiverLimit, getOrganisationController, getSaveDate, getSmallAvatar, getState, getStateSaveDate, getTosAcceptanceDate, getUserManualNotificationUserReceiverLimitValue, getUserPreferences, getVersion, isAccessAdmin, isAccessDomainManager, isAccessGuest, isAccessPdcManager, isAccessSpaceManager, isAccessUnknown, isAccessUser, isActivatedState, isActivatedStateFor, isAnonymousUser, isAnonymousUserExist, isAvatarPersonnalized, isBackOfficeVisible, isBlockedState, isDomainAdminRestricted, isDomainRestricted, isExpiredState, isFullyDefined, isInRelationWithOrInvitedBy, isUserManualNotificationUserReceiverLimit, isValidState, setCreationDate, setExpirationDate, setLastLoginCredentialUpdateDate, setLastLoginDate, setLoginAnswer, setLoginQuestion, setNbSuccessfulLoginAttempts, setNotifManualReceiverLimit, setSaveDate, setState, setStateSaveDate, setTosAcceptanceDate, setUserManualNotificationUserReceiverLimit, setVersion, traceUser |
UserProfileExtendedEntity
protected UserProfileExtendedEntity()
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 class UserProfileEntity
getMoreLabelData
public Map<String,String> getMoreLabelData()
getMoreData
public Map<String,String> getMoreData()
toUserFull
public UserFull toUserFull()
equals
public boolean equals(Object other)
- Overrides:
equals
in class UserProfileEntity
hashCode
public int hashCode()
- Overrides:
hashCode
in class UserProfileEntity
Copyright © 2016 Silverpeas. All Rights Reserved.