com.atlassian.crowd.model.user
Class UserTemplateWithCredentialAndAttributes

java.lang.Object
  extended by com.atlassian.crowd.model.user.UserTemplate
      extended by com.atlassian.crowd.model.user.UserTemplateWithAttributes
          extended by com.atlassian.crowd.model.user.UserTemplateWithCredentialAndAttributes
All Implemented Interfaces:
Attributes, User, UserWithAttributes, DirectoryEntity, Serializable, Comparable<User>, Principal

public class UserTemplateWithCredentialAndAttributes
extends UserTemplateWithAttributes

Predominantly used for the 'bulk' adding of users to Crowd.

See Also:
Serialized Form

Constructor Summary
UserTemplateWithCredentialAndAttributes(String username, long directoryId, PasswordCredential credential)
           
UserTemplateWithCredentialAndAttributes(User user, Map<String,Set<String>> attributes, PasswordCredential credential)
           
UserTemplateWithCredentialAndAttributes(User user, PasswordCredential credential)
           
 
Method Summary
 Date getCreatedDate()
           
 PasswordCredential getCredential()
           
 List<PasswordCredential> getCredentialHistory()
           
 Date getUpdatedDate()
           
 void setCreatedDate(Date createdDate)
           
 void setUpdatedDate(Date updatedDate)
           
 
Methods inherited from class com.atlassian.crowd.model.user.UserTemplateWithAttributes
getAttributes, getKeys, getValue, getValues, isEmpty, ofUserWithNoAttributes, removeAttribute, setAttribute, setAttribute
 
Methods inherited from class com.atlassian.crowd.model.user.UserTemplate
compareTo, equals, getDirectoryId, getDisplayName, getEmailAddress, getFirstName, getLastName, getName, hashCode, isActive, setActive, setDirectoryId, setDisplayName, setEmailAddress, setFirstName, setLastName, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.model.user.User
getFirstName, getLastName
 
Methods inherited from interface com.atlassian.crowd.model.DirectoryEntity
equals, getDirectoryId, getName, hashCode
 
Methods inherited from interface com.atlassian.crowd.embedded.api.User
compareTo, equals, getDirectoryId, getDisplayName, getEmailAddress, hashCode, isActive
 

Constructor Detail

UserTemplateWithCredentialAndAttributes

public UserTemplateWithCredentialAndAttributes(String username,
                                               long directoryId,
                                               PasswordCredential credential)

UserTemplateWithCredentialAndAttributes

public UserTemplateWithCredentialAndAttributes(User user,
                                               PasswordCredential credential)

UserTemplateWithCredentialAndAttributes

public UserTemplateWithCredentialAndAttributes(User user,
                                               Map<String,Set<String>> attributes,
                                               PasswordCredential credential)
Method Detail

getCredential

public PasswordCredential getCredential()

getCredentialHistory

public List<PasswordCredential> getCredentialHistory()

getCreatedDate

public Date getCreatedDate()

setCreatedDate

public void setCreatedDate(Date createdDate)

getUpdatedDate

public Date getUpdatedDate()

setUpdatedDate

public void setUpdatedDate(Date updatedDate)


Copyright © 2012 Atlassian. All Rights Reserved.