public static class User.Builder extends Resource.Builder
User instancesexternalId, schemas| Constructor and Description |
|---|
User.Builder()
Creates a new builder without a userName
|
User.Builder(String userName)
Constructs a new builder by with a set userName
|
User.Builder(User user)
Constructs a new builder by copying all values from the given
User |
| Modifier and Type | Method and Description |
|---|---|
User.Builder |
addExtension(Extension extension)
Sets a Extension to the User (See
User.getExtension(String)). |
User.Builder |
addExtensions(Set<Extension> extensions)
Sets a List of Extension to the User (See
User.getAllExtensions()). |
User |
build()
Builds the Object of the Builder
|
User.Builder |
setActive(Boolean active)
Sets a Boolean value indicating the User's administrative status.
|
User.Builder |
setAddresses(List<Address> addresses)
Sets the physical mailing addresses for this User (See
User.getAddresses()). |
User.Builder |
setDisplayName(String displayName)
Sets the display name (See
User.getDisplayName()). |
User.Builder |
setEmails(List<MultiValuedAttribute> emails)
Sets the E-mail addresses for the User (See
User.getEmails()). |
User.Builder |
setEntitlements(List<MultiValuedAttribute> entitlements)
Sets a list of entitlements for the User (See
User.getEntitlements()). |
User.Builder |
setExternalId(String externalId)
Sets the external id (See
Resource.getExternalId()). |
User.Builder |
setGroups(List<MultiValuedAttribute> groups)
Sets a list of groups that the user belongs to (See
User.getGroups()) |
User.Builder |
setId(String id)
Sets the id of the resource.
|
User.Builder |
setIms(List<MultiValuedAttribute> ims)
Sets the instant messaging addresses for the User (See
User.getIms()). |
User.Builder |
setLocale(String locale)
Sets the default location of the User (See
User.getLocale()). |
User.Builder |
setMeta(Meta meta)
Sets the meta data
|
User.Builder |
setName(Name name)
Sets the components of the
User's real name (See User.getName()). |
User.Builder |
setNickName(String nickName)
Sets the nick name (See
User.getNickName()). |
User.Builder |
setPassword(String password)
Sets the User's clear text password (See
User.getPassword()). |
User.Builder |
setPhoneNumbers(List<MultiValuedAttribute> phoneNumbers)
Sets the phone numbers for the User (See
User.getPhoneNumbers()). |
User.Builder |
setPhotos(List<MultiValuedAttribute> photos)
Sets the URL's of photo's of the User (See
User.getPhotos()). |
User.Builder |
setPreferredLanguage(String preferredLanguage)
Sets the preferred language of the USer (See
User.getPreferredLanguage()). |
User.Builder |
setProfileUrl(String profileUrl)
Sets the profile URL (See
User.getProfileUrl()). |
User.Builder |
setRoles(List<MultiValuedAttribute> roles)
Sets a list of roles for the User (See
User.getRoles()). |
User.Builder |
setSchemas(Set<String> schemas)
sets the schemas of the Resource
|
User.Builder |
setTimezone(String timezone)
Sets the User's time zone (See
User.getTimezone()). |
User.Builder |
setTitle(String title)
Sets the user's title (See
User.getTitle()). |
User.Builder |
setUserType(String userType)
Sets the user type (See
User.getUserType()). |
User.Builder |
setX509Certificates(List<MultiValuedAttribute> x509Certificates)
Sets a list of certificates issued to the User (See
User.getX509Certificates()). |
public User.Builder(String userName)
userName - Unique identifier for the User (See User.getUserName())public User.Builder()
public User.Builder setName(Name name)
User's real name (See User.getName()).name - the name object of the Userpublic User.Builder setDisplayName(String displayName)
User.getDisplayName()).displayName - the display name of the Userpublic User.Builder setNickName(String nickName)
User.getNickName()).nickName - the nick name of the Userpublic User.Builder setProfileUrl(String profileUrl)
User.getProfileUrl()).profileUrl - the profil URL of the Userpublic User.Builder setTitle(String title)
User.getTitle()).title - the title of the Userpublic User.Builder setUserType(String userType)
User.getUserType()).userType - the type of the Userpublic User.Builder setPreferredLanguage(String preferredLanguage)
User.getPreferredLanguage()).preferredLanguage - sets the preferred language of the Userpublic User.Builder setLocale(String locale)
User.getLocale()).locale - sets the local of the Userpublic User.Builder setTimezone(String timezone)
User.getTimezone()).timezone - sets the time zone of the Userpublic User.Builder setActive(Boolean active)
User.isActive())active - the active status of the Userpublic User.Builder setPassword(String password)
User.getPassword()).password - the password as clear textpublic User.Builder setEmails(List<MultiValuedAttribute> emails)
User.getEmails()).emails - the emails as Setpublic User.Builder setPhoneNumbers(List<MultiValuedAttribute> phoneNumbers)
User.getPhoneNumbers()).phoneNumbers - the phone numbers of the the Userpublic User.Builder setIms(List<MultiValuedAttribute> ims)
User.getIms()).ims - a list of the ims of the Userpublic User.Builder setPhotos(List<MultiValuedAttribute> photos)
User.getPhotos()).photos - the photos of the Userpublic User.Builder setAddresses(List<Address> addresses)
User.getAddresses()).addresses - a list of the addresses of the Userpublic User.Builder setGroups(List<MultiValuedAttribute> groups)
User.getGroups())groups - groups of the Userpublic User.Builder setEntitlements(List<MultiValuedAttribute> entitlements)
User.getEntitlements()).entitlements - the entitlements of the Userpublic User.Builder setRoles(List<MultiValuedAttribute> roles)
User.getRoles()).roles - a list of rolespublic User.Builder setX509Certificates(List<MultiValuedAttribute> x509Certificates)
User.getX509Certificates()).x509Certificates - the certificates of the Userpublic User.Builder addExtensions(Set<Extension> extensions)
User.getAllExtensions()).extensions - a list of extensionspublic User.Builder addExtension(Extension extension)
User.getExtension(String)).extension - a single Extensionpublic User.Builder setMeta(Meta meta)
Resource.BuildersetMeta in class Resource.Buildermeta - the meta objectpublic User.Builder setExternalId(String externalId)
Resource.BuilderResource.getExternalId()).setExternalId in class Resource.BuilderexternalId - the external idpublic User.Builder setId(String id)
Resource.BuildersetId in class Resource.Builderid - if of the resourcepublic User.Builder setSchemas(Set<String> schemas)
Resource.BuildersetSchemas in class Resource.Builderschemas - actual schemaspublic User build()
Resource.Builderbuild in class Resource.BuilderCopyright © 2013. All Rights Reserved.