| Modifier and Type | Field and Description |
|---|---|
static StringProperty |
PASSWORD |
CUSTOM_DATAdeletedPropertyNames, dirty, dirtyProperties, HREF_PROP_NAME, properties, readLock, referenceFactory, writeLock| Constructor and Description |
|---|
DefaultAccount(InternalDataStore dataStore) |
DefaultAccount(InternalDataStore dataStore,
Map<String,Object> properties) |
applyCustomDataUpdatesIfNecessarycreatePropertyDescriptorMap, equals, getBoolean, getBooleanProperty, getDataStore, getDateProperty, getDeletedPropertyNames, getHref, getInt, getIntProperty, getProperty, getPropertyNames, getResourceProperty, getString, getStringProperty, getUpdatedPropertyNames, hashCode, isDirty, isMaterialized, isNew, materialize, setProperties, setProperty, setProperty, setProperty, setResourceProperty, toStringpublic static final StringProperty PASSWORD
public DefaultAccount(InternalDataStore dataStore)
public DefaultAccount(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourceprotected boolean isPrintableProperty(String name)
AbstractResourcetrue if the internal property is safe to print in toString(), false otherwise.isPrintableProperty in class AbstractResourcename - The name of the property to check for safe printingtrue if the internal property is safe to print in toString(), false otherwise.public String getUsername()
getUsername in interface Accountpublic void setUsername(String username)
setUsername in interface Accountpublic void setPassword(String password)
setPassword in interface Accountpublic String getGivenName()
getGivenName in interface Accountpublic void setGivenName(String givenName)
setGivenName in interface Accountpublic String getMiddleName()
getMiddleName in interface Accountpublic void setMiddleName(String middleName)
setMiddleName in interface Accountpublic String getSurname()
getSurname in interface Accountpublic void setSurname(String surname)
setSurname in interface Accountpublic String getFullName()
getFullName in interface Accountpublic AccountStatus getStatus()
public void setStatus(AccountStatus status)
public GroupList getGroups(GroupCriteria criteria)
public Directory getDirectory()
getDirectory in interface Accountpublic GroupMembershipList getGroupMemberships()
getGroupMemberships in interface Accountpublic GroupMembership addGroup(Group group)
public EmailVerificationToken getEmailVerificationToken()
getEmailVerificationToken in interface Accountpublic CustomData getCustomData()
getCustomData in interface AccountgetCustomData in class AbstractDirectoryEntitypublic void save()
save in interface Saveablesave in class AbstractInstanceResourcepublic void saveWithResponseOptions(AccountOptions accountOptions)
saveWithResponseOptions in interface Accountpublic boolean isMemberOfGroup(String hrefOrName)
isMemberOfGroup in interface AccountCopyright © 2012–2014. All rights reserved.