com.stratelia.webactiv.beans.admin
Class UserFull

java.lang.Object
  extended by com.stratelia.webactiv.beans.admin.UserDetail
      extended by com.stratelia.webactiv.beans.admin.UserFull
All Implemented Interfaces:
Serializable, Comparable<UserDetail>

public class UserFull
extends UserDetail

See Also:
Serialized Form

Field Summary
protected  HashMap<String,String> m_hInfos
           
protected  boolean m_isPasswordAvailable
           
protected  boolean m_isPasswordValid
           
protected  String m_password
           
protected  DomainDriver m_pDomainDriver
           
 
Fields inherited from class com.stratelia.webactiv.beans.admin.UserDetail
CURRENT_REQUESTER_KEY
 
Constructor Summary
UserFull()
          Creates new UserFull
UserFull(DomainDriver domainDriver)
           
UserFull(DomainDriver domainDriver, UserDetail toClone)
           
 
Method Summary
 boolean equals(Object other)
           
static UserFull getById(String userId)
          Gets the full profile of the user with the specified identifier.
 String getPassword()
           
 String[] getPropertiesNames()
           
 DomainProperty getProperty(String property)
           
 String getPropertyType(String propertyName)
           
 HashMap<String,String> getSpecificDetails()
           
 String getSpecificLabel(String language, String propertyName)
           
 Map<String,String> getSpecificLabels(String language)
           
 String getToken()
           
 String getValue(String propertyName)
           
 boolean getValue(String propertyName, boolean defaultValue)
           
 String getValue(String propertyName, String defaultValue)
           
 int hashCode()
           
 boolean isAtLeastOnePropertyUpdatableByAdmin()
           
 boolean isAtLeastOnePropertyUpdatableByUser()
           
 boolean isPasswordAvailable()
           
 boolean isPasswordValid()
           
 boolean isPropertyUpdatableByAdmin(String property)
           
 boolean isPropertyUpdatableByUser(String property)
           
 void setPassword(String p)
           
 void setPasswordAvailable(boolean pa)
           
 void setPasswordValid(boolean pv)
           
 void setValue(String propertyName, boolean bValue)
           
 void setValue(String propertyName, String value)
           
 void traceUser()
          Dump user values to the trace system
 
Methods inherited from class com.stratelia.webactiv.beans.admin.UserDetail
compareTo, getAccessLevel, getAll, getAllInDomain, getAnonymousUser, getAnonymousUserId, getAvatar, getAvatarFileName, getCreationDate, getCurrentRequester, getDisplayedName, getDomain, getDomainId, getDurationOfCurrentSession, geteMail, getExpirationDate, getFirstName, getId, getLastLoginCredentialUpdateDate, getLastLoginDate, getLastName, getLogin, getLoginAnswer, getLoginQuestion, getNbSuccessfulLoginAttempts, getNotifManualReceiverLimit, getOrganisationController, getSaveDate, getSmallAvatar, getSpecificId, getState, getStateSaveDate, getStatus, getTosAcceptanceDate, getUserManualNotificationUserReceiverLimitValue, getUserPreferences, getVersion, isAccessAdmin, isAccessDomainManager, isAccessGuest, isAccessPdcManager, isAccessSpaceManager, isAccessUnknown, isAccessUser, isActivatedState, isActivatedStateFor, isAnonymous, isAnonymousUser, isAnonymousUserExist, isAvatarPersonnalized, isBackOfficeVisible, isBlockedState, isConnected, isDeactivatedState, isDeletedState, isDomainAdminRestricted, isDomainRestricted, isExpiredState, isFullyDefined, isInRelationWithOrInvitedBy, isUserManualNotificationUserReceiverLimit, isValidState, setAccessLevel, setCreationDate, setDomainId, seteMail, setExpirationDate, setFirstName, setId, setLastLoginCredentialUpdateDate, setLastLoginDate, setLastName, setLogin, setLoginAnswer, setLoginQuestion, setNbSuccessfulLoginAttempts, setNotifManualReceiverLimit, setSaveDate, setSpecificId, setState, setStateSaveDate, setTosAcceptanceDate, setUserManualNotificationUserReceiverLimit, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_hInfos

protected HashMap<String,String> m_hInfos

m_pDomainDriver

protected DomainDriver m_pDomainDriver

m_password

protected String m_password

m_isPasswordValid

protected boolean m_isPasswordValid

m_isPasswordAvailable

protected boolean m_isPasswordAvailable
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.

isPasswordAvailable

public boolean isPasswordAvailable()

setPasswordAvailable

public void setPasswordAvailable(boolean pa)

isPasswordValid

public boolean isPasswordValid()

setPasswordValid

public void setPasswordValid(boolean pv)

getPassword

public String getPassword()

getToken

public String getToken()

setPassword

public void setPassword(String p)

getPropertiesNames

public String[] getPropertiesNames()

getSpecificDetails

public HashMap<String,String> getSpecificDetails()

getValue

public String getValue(String propertyName,
                       String defaultValue)

getValue

public String getValue(String propertyName)

getValue

public boolean getValue(String propertyName,
                        boolean defaultValue)

getSpecificLabels

public Map<String,String> getSpecificLabels(String language)

getSpecificLabel

public String getSpecificLabel(String language,
                               String propertyName)

getPropertyType

public String getPropertyType(String propertyName)

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,
                     String value)

setValue

public void setValue(String propertyName,
                     boolean bValue)

equals

public boolean equals(Object other)
Overrides:
equals in class UserDetail

hashCode

public int hashCode()
Overrides:
hashCode in class UserDetail

traceUser

public void traceUser()
Description copied from class: UserDetail
Dump user values to the trace system

Overrides:
traceUser in class UserDetail


Copyright © 2016 Silverpeas. All Rights Reserved.