public static class UpdateUser.Builder extends Object
UpdateUser| Constructor and Description |
|---|
UpdateUser.Builder() |
| Modifier and Type | Method and Description |
|---|---|
UpdateUser.Builder |
addAddress(Address address)
adds a new address to the existing addresses of a existing user
|
UpdateUser.Builder |
addEmail(Email email)
adds or updates a emil of an existing user if the .getValue() already exists a update will be done.
|
UpdateUser.Builder |
addEntitlement(Entitlement entitlement)
adds or updates a entitlement to an existing user if the .getValue() already exists a update will be done.
|
UpdateUser.Builder |
addIm(Im im)
adds or updates a ims to an existing user if the .getValue() already exists a update will be done.
|
UpdateUser.Builder |
addPhoneNumber(PhoneNumber phoneNumber)
adds or updates a phoneNumber to an existing user if the .getValue() already exists a update will be done.
|
UpdateUser.Builder |
addPhoto(Photo photo)
adds or updates a photo to an existing user if the .getValue() already exists a update will be done.
|
UpdateUser.Builder |
addRole(Role role)
adds or updates a role of an existing user if the .getValue() already exists a update will be done.
|
UpdateUser.Builder |
addX509Certificate(X509Certificate certificate)
adds or updates certificate to an existing user if the .getValue() already exists a update will be done.
|
UpdateUser |
build()
constructs a UpdateUser with the given values
|
UpdateUser.Builder |
deleteAddress(Address address)
deletes the given address from the list of existing addresses of a existing user
|
UpdateUser.Builder |
deleteAddresses()
deletes all existing addresses of the a existing user
|
UpdateUser.Builder |
deleteDisplayName()
deletes the display name of a existing user
|
UpdateUser.Builder |
deleteEmail(Email email)
deletes the given email of a existing user
|
UpdateUser.Builder |
deleteEmails()
deletes all emails of a existing user
|
UpdateUser.Builder |
deleteEntitlement(Entitlement entitlement)
deletes the entitlement of a existing user
|
UpdateUser.Builder |
deleteEntitlements()
deletes all entitlements of a existing user
|
UpdateUser.Builder |
deleteExtension(String urn)
deletes the given extension of a existing user
|
UpdateUser.Builder |
deleteExtensionField(String urn,
String fieldName)
deletes the given extension field of a existing user
|
UpdateUser.Builder |
deleteExternalId()
delete the external Id of a existing user
|
UpdateUser.Builder |
deleteIm(Im im)
deletes the ims of a existing user
|
UpdateUser.Builder |
deleteIms()
deletes all ims of a existing user
|
UpdateUser.Builder |
deleteLocal()
delete the local value of a existing user
|
UpdateUser.Builder |
deleteName()
deletes the name of a existing user
|
UpdateUser.Builder |
deleteNickName()
deletes the nickName of a existing user
|
UpdateUser.Builder |
deletePhoneNumber(PhoneNumber phoneNumber)
deletes the phonenumber of a existing user
|
UpdateUser.Builder |
deletePhoneNumbers()
deletes all phonenumbers of a existing user
|
UpdateUser.Builder |
deletePhoto(Photo photo)
deletes the photo of a existing user
|
UpdateUser.Builder |
deletePhotos()
deletes all photos of a existing user
|
UpdateUser.Builder |
deletePreferredLanguage()
delete the preferred Language of a existing user
|
UpdateUser.Builder |
deleteProfileUrl()
deletes the profil Url of a existing user
|
UpdateUser.Builder |
deleteRole(Role role)
deletes the given role of a existing user
|
UpdateUser.Builder |
deleteRole(String role)
deletes the given role of a existing user
|
UpdateUser.Builder |
deleteRoles()
deletes all roles of a existing user
|
UpdateUser.Builder |
deleteTimezone()
deletes the timezone of a existing user
|
UpdateUser.Builder |
deleteTitle()
deletes the title of a existing user
|
UpdateUser.Builder |
deleteUserType()
deletes the user type of a existing user
|
UpdateUser.Builder |
deleteX509Certificate(X509Certificate certificate)
deletes the given certificate of a existing user
|
UpdateUser.Builder |
deleteX509Certificates()
deletes all X509Certificates of a existing user
|
UpdateUser.Builder |
updateActive(boolean active)
updates the active status of a existing User to the given value
|
UpdateUser.Builder |
updateAddress(Address oldAddress,
Address newAddress)
updates the old Address with the new one
|
UpdateUser.Builder |
updateDisplayName(String displayName)
updates the display name of a existing user
|
UpdateUser.Builder |
updateEmail(Email oldEmail,
Email newEmail)
updates the old Email with the new one
|
UpdateUser.Builder |
updateEntitlement(Entitlement oldEntitlement,
Entitlement newEntitlement)
updates the old Entitlement with the new one
|
UpdateUser.Builder |
updateExtension(Extension extension)
updates the given fields in the extension.
|
UpdateUser.Builder |
updateExternalId(String externalId)
updates the external id of a existing user
|
UpdateUser.Builder |
updateIm(Im oldIm,
Im newIm)
updates the old Ims with the new one
|
UpdateUser.Builder |
updateLocale(String locale)
updates the local of a existing user
|
UpdateUser.Builder |
updateName(Name name)
updates the name of a existing user
|
UpdateUser.Builder |
updateNickName(String nickName)
updates the nickName of a existing user
|
UpdateUser.Builder |
updatePassword(String password)
updates the password of a existing user
|
UpdateUser.Builder |
updatePhoneNumber(PhoneNumber oldPhoneNumber,
PhoneNumber newPhoneNumber)
updates the old PhoneNumber with the new one
|
UpdateUser.Builder |
updatePhoto(Photo oldPhoto,
Photo newPhoto)
updates the old Photo with the new one
|
UpdateUser.Builder |
updatePreferredLanguage(String preferredLanguage)
updates the preferred language of a existing user
|
UpdateUser.Builder |
updateProfileUrl(String profileUrl)
updates the profil URL of a existing user
|
UpdateUser.Builder |
updateRole(Role oldRole,
Role newRole)
updates the old Role with the new one
|
UpdateUser.Builder |
updateTimezone(String timezone)
updates the timezone of a existing user
|
UpdateUser.Builder |
updateTitle(String title)
updates the title of a existing user
|
UpdateUser.Builder |
updateUserName(String userName)
updates the nickName of a existing user
|
UpdateUser.Builder |
updateUserType(String userType)
updates the user type of a existing user
|
UpdateUser.Builder |
updateX509Certificate(X509Certificate oldCertificate,
X509Certificate newCertificate)
updates the old X509Certificate with the new one
|
public UpdateUser.Builder updateUserName(String userName)
userName - the new user namepublic UpdateUser.Builder addAddress(Address address)
address - the new addresspublic UpdateUser.Builder deleteAddress(Address address)
address - address to be deletedpublic UpdateUser.Builder deleteAddresses()
public UpdateUser.Builder updateAddress(Address oldAddress, Address newAddress)
oldAddress - to be replacednewAddress - new Addresspublic UpdateUser.Builder deleteNickName()
public UpdateUser.Builder updateNickName(String nickName)
nickName - the new nickNamepublic UpdateUser.Builder deleteExternalId()
public UpdateUser.Builder updateExternalId(String externalId)
externalId - new external idpublic UpdateUser.Builder deleteLocal()
public UpdateUser.Builder updateLocale(String locale)
locale - new localpublic UpdateUser.Builder updatePassword(String password)
password - new passwordpublic UpdateUser.Builder deletePreferredLanguage()
public UpdateUser.Builder updatePreferredLanguage(String preferredLanguage)
preferredLanguage - new preferred languagepublic UpdateUser.Builder deleteProfileUrl()
public UpdateUser.Builder updateProfileUrl(String profileUrl)
profileUrl - new profilUrlpublic UpdateUser.Builder deleteTimezone()
public UpdateUser.Builder updateTimezone(String timezone)
timezone - new timeZonepublic UpdateUser.Builder deleteTitle()
public UpdateUser.Builder updateTitle(String title)
title - new tilepublic UpdateUser.Builder deleteName()
public UpdateUser.Builder updateName(Name name)
name - new Namepublic UpdateUser.Builder deleteUserType()
public UpdateUser.Builder updateUserType(String userType)
userType - new user typepublic UpdateUser.Builder deleteDisplayName()
public UpdateUser.Builder updateDisplayName(String displayName)
displayName - new display namepublic UpdateUser.Builder deleteEmails()
public UpdateUser.Builder deleteEmail(Email email)
email - to be deletedpublic UpdateUser.Builder addEmail(Email email)
email - new emailpublic UpdateUser.Builder updateEmail(Email oldEmail, Email newEmail)
oldEmail - to be replacednewEmail - new Emailpublic UpdateUser.Builder deleteX509Certificates()
public UpdateUser.Builder deleteX509Certificate(X509Certificate certificate)
certificate - to be deletedpublic UpdateUser.Builder addX509Certificate(X509Certificate certificate)
certificate - new certificatepublic UpdateUser.Builder updateX509Certificate(X509Certificate oldCertificate, X509Certificate newCertificate)
oldCertificate - to be replacednewCertificate - new X509Certificatepublic UpdateUser.Builder deleteRoles()
public UpdateUser.Builder deleteRole(Role role)
role - to be deletedpublic UpdateUser.Builder deleteRole(String role)
role - to be deletedpublic UpdateUser.Builder addRole(Role role)
role - new rolepublic UpdateUser.Builder updateRole(Role oldRole, Role newRole)
oldRole - to be replacednewRole - new Rolepublic UpdateUser.Builder deleteIms()
public UpdateUser.Builder deleteIm(Im im)
im - to be deletedpublic UpdateUser.Builder addIm(Im im)
im - new imspublic UpdateUser.Builder updateIm(Im oldIm, Im newIm)
oldIm - to be replacednewIm - new Imspublic UpdateUser.Builder addPhoneNumber(PhoneNumber phoneNumber)
phoneNumber - new phoneNumberpublic UpdateUser.Builder deletePhoneNumber(PhoneNumber phoneNumber)
phoneNumber - to be deletedpublic UpdateUser.Builder deletePhoneNumbers()
public UpdateUser.Builder updatePhoneNumber(PhoneNumber oldPhoneNumber, PhoneNumber newPhoneNumber)
oldPhoneNumber - to be replacednewPhoneNumber - new PhoneNumberpublic UpdateUser.Builder addPhoto(Photo photo)
photo - new photopublic UpdateUser.Builder deletePhoto(Photo photo)
photo - to be deletedpublic UpdateUser.Builder deletePhotos()
public UpdateUser.Builder updatePhoto(Photo oldPhoto, Photo newPhoto)
oldPhoto - to be replacednewPhoto - new Photopublic UpdateUser.Builder deleteEntitlements()
public UpdateUser.Builder deleteEntitlement(Entitlement entitlement)
entitlement - to be deletedpublic UpdateUser.Builder addEntitlement(Entitlement entitlement)
entitlement - new entitlementpublic UpdateUser.Builder updateEntitlement(Entitlement oldEntitlement, Entitlement newEntitlement)
oldEntitlement - to be replacednewEntitlement - new Entitlementpublic UpdateUser.Builder updateActive(boolean active)
active - new active statuspublic UpdateUser.Builder deleteExtension(String urn)
urn - the id of the extension to be deletedpublic UpdateUser.Builder deleteExtensionField(String urn, String fieldName)
urn - the id of the extension to be deletedfieldName - the fieldName of a the extension to be deletedpublic UpdateUser.Builder updateExtension(Extension extension)
extension - extension with all fields that need to be updated or addedpublic UpdateUser build()
UpdateUserCopyright © 2014. All Rights Reserved.