public class User extends AbstractSCIMObject
attributeList, schemaList| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getActive()
gets the current active value of this user
|
List<ScimAddress> |
getAddresses()
gets the addresses from this user or an empty list if there are none present
|
String |
getDisplayName()
gets the displayName of this user
|
List<MultiValuedComplexType> |
getEmails()
gets the emails from this user or an empty list if there are none present
|
List<MultiValuedComplexType> |
getGroups()
gets the groups from this user or an empty list if there are none present
|
List<MultiValuedComplexType> |
getInstantMessagingAddresses()
gets the instant messaging addresses from this user or an empty list if there are none present
|
String |
getLocale()
gets the current locale value of this user
|
ScimName |
getName()
extracts the complex "name" attribute from the Scim structure
|
String |
getNickName()
gets the nickname of this user
|
String |
getPassword()
return the password of the user
|
List<MultiValuedComplexType> |
getPhoneNumbers()
gets the phonenumbers from this user or an empty list if there are none present
|
List<MultiValuedComplexType> |
getPhotos()
gets the photo uris from this user or an empty list if there are none present
|
String |
getPreferredLanguage()
gets the preferred language value of this user
|
String |
getProfileUrl()
gets the profile url of this user
|
List<MultiValuedComplexType> |
getRoles()
gets the roles from this user or an empty list if there are none present
|
String |
getTimezone()
gets the current timezone value of this user
|
String |
getTitle()
gets the title value of this user
|
String |
getUsername()
returns the username of this user
|
String |
getUserName()
return userName of the user
|
String |
getUserType()
gets the user type of this user
|
List<MultiValuedComplexType> |
getX509Certificates()
gets the x509 certificates from this user or an empty list if there are none present
|
void |
replaceActive(boolean active)
deletes the current value of active and exchanges it with the given value
|
void |
replaceAddresses(List<ScimAddress> addressList)
deletes the addresses attributes and exchanges it with the given values
|
void |
replaceDisplayName(String displayName)
deletes the current value of displayName and exchanges it with the given value
|
void |
replaceEmails(List<MultiValuedComplexType> multiValuedComplexTypeList)
deletes the current complex emails attributes and exchanges it with the given values
|
void |
replaceGroups(List<MultiValuedComplexType> multiValuedComplexTypeList)
deletes the group attributes and exchanges it with the given values
|
void |
replaceInstantMessagingAddresses(List<MultiValuedComplexType> multiValuedComplexTypeList)
deletes the current complex instant messaging addresses attributes and exchanges it with the given values
|
void |
replaceLocale(String locale)
deletes the current value of preferred language and exchanges it with the given value
|
void |
replaceName(ScimName scimName)
deletes the current complex name attribute and exchanges it with the given value
|
void |
replaceNickName(String nickName)
deletes the current value of nickname and exchanges it with the given value
|
void |
replacePhoneNumbers(List<MultiValuedComplexType> multiValuedComplexTypeList)
deletes the current complex phonenumber attributes and exchanges it with the given values
|
void |
replacePhotos(List<MultiValuedComplexType> multiValuedComplexTypeList)
deletes the current photo uri attributes and exchanges it with the given values
|
void |
replacePreferredLanguage(String preferredLanguage)
deletes the preferred language attribute and exchanges it with the given value
|
void |
replaceProfileUrl(String profileUrl)
deletes the current value of profile url and exchanges it with the given value
|
void |
replaceRoles(List<MultiValuedComplexType> multiValuedComplexTypeList)
deletes the role attributes and exchanges it with the given values
|
void |
replaceTimezone(String timezone)
deletes the timezone attribute and exchanges it with the given value
|
void |
replaceTitle(String title)
deletes the current value of title and exchanges it with the given value
|
void |
replaceUsername(String username)
deletes the current value of username and exchanges it with the given value
|
void |
replaceUserName(String username)
deletes the username attribute and exchanges it with the given value
|
void |
replaceUserType(String userType)
deletes the current value of user type and exchanges it with the given value
|
void |
replaceX509Certificates(List<MultiValuedComplexType> multiValuedComplexTypeList)
deletes the current x509 certificate attributes and exchanges it with the given values
|
void |
setGroup(String type,
Group group)
Set the associated groups of the user.
|
void |
setGroup(String type,
String value,
String display)
Deprecated.
use
setGroup(String type, Group group) instead. |
void |
setPassword(String password)
set the password of the user
|
void |
setPreferredLanguage(String preferredLanguage)
deletes the current value of preferred language and exchanges it with the given value
|
void |
setSchemas()
set the schemas of the user
|
void |
setTimezone(String timezone)
deletes the current value of timezone and exchanges it with the given value
|
void |
setUserName(String userName)
set the userName of the user
|
createMetaAttribute, deleteAttribute, deleteSubAttribute, deleteSubSubAttribute, deleteSubValuesSubAttribute, deleteValuesSubAttribute, getAttribute, getAttributeList, getCreatedDate, getLastModified, getMetaAttribute, getResource, getSchemaList, isAttributeExist, isMetaAttributeExist, isSchemaExists, setAttribute, setAttribute, setCreatedDate, setCreatedInstant, setExternalId, setId, setLastModified, setLastModifiedInstant, setLocation, setResourceType, setSchema, toStringaddMultivaluedComplexAtribute, attributeMetaEquals, attributesEquals, complexAttributeEquals, equals, getComplexAttribute, getCreatedDateTime, getCreatedInstant, getCreatedLong, getExternalId, getId, getLastModifiedDateTime, getLastModifiedInstant, getLastModifiedLong, getLocation, getMultiValuedAttribute, getMultivaluedComplexType, getOrCrateComplexAttribute, getResourceType, getSetSubAttributeConsumer, getSimpleAttribute, getSimpleAttribute, getSimpleAttributeValue, hashCode, isBlank, isNotBlank, multiValuedAttributeEquals, replaceCreated, replaceCreated, replaceCreated, replaceExternalId, replaceId, replaceLastModified, replaceLastModified, replaceLastModified, replaceLocation, replaceResourceType, replaceSimpleAttribute, simpleAttributeEquals, stripToNullpublic String getUsername()
public void replaceUsername(String username)
public String getDisplayName()
public void replaceDisplayName(String displayName)
public String getNickName()
public void replaceNickName(String nickName)
public String getProfileUrl()
public void replaceProfileUrl(String profileUrl)
public String getUserType()
public void replaceUserType(String userType)
public String getTitle()
public void replaceTitle(String title)
public String getPreferredLanguage()
public void setPreferredLanguage(String preferredLanguage)
public void replacePreferredLanguage(String preferredLanguage)
preferredLanguage - the new preferred languagepublic String getLocale()
public void replaceLocale(String locale)
public String getTimezone()
public void setTimezone(String timezone)
public void replaceTimezone(String timezone)
timezone - the new timezonepublic boolean getActive()
public void replaceActive(boolean active)
public ScimName getName()
public void replaceName(ScimName scimName)
public List<MultiValuedComplexType> getEmails()
public void replaceEmails(List<MultiValuedComplexType> multiValuedComplexTypeList)
public List<MultiValuedComplexType> getPhoneNumbers()
public void replacePhoneNumbers(List<MultiValuedComplexType> multiValuedComplexTypeList)
public List<MultiValuedComplexType> getInstantMessagingAddresses()
public void replaceInstantMessagingAddresses(List<MultiValuedComplexType> multiValuedComplexTypeList)
public List<MultiValuedComplexType> getPhotos()
public void replacePhotos(List<MultiValuedComplexType> multiValuedComplexTypeList)
public List<MultiValuedComplexType> getX509Certificates()
public void replaceX509Certificates(List<MultiValuedComplexType> multiValuedComplexTypeList)
public List<MultiValuedComplexType> getGroups()
public void replaceGroups(List<MultiValuedComplexType> multiValuedComplexTypeList)
public List<MultiValuedComplexType> getRoles()
public void replaceRoles(List<MultiValuedComplexType> multiValuedComplexTypeList)
public List<ScimAddress> getAddresses()
public void replaceAddresses(List<ScimAddress> addressList)
public String getUserName() throws CharonException
CharonExceptionpublic void setUserName(String userName) throws CharonException, BadRequestException
userName - CharonExceptionBadRequestExceptionpublic void replaceUserName(String username)
username - the new usernamepublic String getPassword() throws CharonException
CharonExceptionpublic void setPassword(String password) throws CharonException, BadRequestException
password - CharonExceptionBadRequestException@Deprecated public void setGroup(String type, String value, String display) throws CharonException, BadRequestException
setGroup(String type, Group group) instead.CharonExceptionBadRequestExceptionpublic void setGroup(String type, Group group) throws CharonException, BadRequestException
type - Type of resource.group - Group object.CharonExceptionBadRequestExceptionpublic void setSchemas()
Copyright © 2019 WSO2. All rights reserved.