Class DefaultUser

  • All Implemented Interfaces:
    User, com.okta.sdk.resource.ExtensibleResource, com.okta.sdk.resource.PropertyRetriever, com.okta.sdk.resource.Resource, java.util.Map<java.lang.String,​java.lang.Object>

    public class DefaultUser
    extends com.okta.sdk.impl.resource.AbstractResource
    implements User
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from class com.okta.sdk.impl.resource.AbstractResource

        properties
      • Fields inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever

        readLock, writeLock
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultUser​(com.okta.sdk.impl.ds.InternalDataStore dataStore, java.util.Map<java.lang.String,​java.lang.Object> properties)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFirstName()  
      java.lang.String getId()  
      java.lang.String getLastName()  
      java.util.Locale getLocale()  
      java.lang.String getLogin()  
      java.util.Date getPasswordChanged()  
      java.util.Map<java.lang.String,​java.lang.String> getProfile()  
      java.util.Map<java.lang.String,​com.okta.sdk.impl.resource.Property> getPropertyDescriptors()  
      java.util.Map<java.lang.String,​java.lang.String> getRecoveryQuestion()  
      java.util.TimeZone getTimeZone()  
      • Methods inherited from class com.okta.sdk.impl.resource.AbstractResource

        clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
      • Methods inherited from class com.okta.sdk.impl.resource.AbstractPropertyRetriever

        getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from interface com.okta.sdk.resource.PropertyRetriever

        getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
      • Methods inherited from interface com.okta.sdk.resource.Resource

        getResourceHref, setResourceHref
    • Constructor Detail

      • DefaultUser

        public DefaultUser​(com.okta.sdk.impl.ds.InternalDataStore dataStore,
                           java.util.Map<java.lang.String,​java.lang.Object> properties)
    • Method Detail

      • getPropertyDescriptors

        public java.util.Map<java.lang.String,​com.okta.sdk.impl.resource.Property> getPropertyDescriptors()
        Specified by:
        getPropertyDescriptors in class com.okta.sdk.impl.resource.AbstractResource
      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface User
      • getPasswordChanged

        public java.util.Date getPasswordChanged()
        Specified by:
        getPasswordChanged in interface User
      • getProfile

        public java.util.Map<java.lang.String,​java.lang.String> getProfile()
        Specified by:
        getProfile in interface User
      • getRecoveryQuestion

        public java.util.Map<java.lang.String,​java.lang.String> getRecoveryQuestion()
        Specified by:
        getRecoveryQuestion in interface User
      • getLogin

        public java.lang.String getLogin()
        Specified by:
        getLogin in interface User
      • getFirstName

        public java.lang.String getFirstName()
        Specified by:
        getFirstName in interface User
      • getLastName

        public java.lang.String getLastName()
        Specified by:
        getLastName in interface User
      • getLocale

        public java.util.Locale getLocale()
        Specified by:
        getLocale in interface User
      • getTimeZone

        public java.util.TimeZone getTimeZone()
        Specified by:
        getTimeZone in interface User