@MongoCollection(collectionName="users") @MongoIndexes(value={@MongoIndex(fields={"realmId","loginName"},unique=true),@MongoIndex(fields="emailIndex",unique=true,sparse=true)}) public class MongoUserEntity extends UserEntity implements MongoIdentifiableEntity
| Constructor and Description |
|---|
MongoUserEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRemove(MongoStoreInvocationContext invocationContext)
Lifecycle callback, which is called after removal of this object from Mongo.
|
String |
getEmailIndex() |
void |
setEmailIndex(String ignored) |
getAttributes, getAuthenticationLink, getCredentials, getEmail, getFirstName, getLastName, getLoginName, getNotBefore, getRealmId, getRequiredActions, getRoleIds, getSocialLinks, isEmailVerified, isEnabled, isTotp, setAttributes, setAuthenticationLink, setCredentials, setEmail, setEmailVerified, setEnabled, setFirstName, setLastName, setLoginName, setNotBefore, setRealmId, setRequiredActions, setRoleIds, setSocialLinks, setTotpequals, getId, hashCode, setId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, setIdpublic String getEmailIndex()
public void setEmailIndex(String ignored)
public void afterRemove(MongoStoreInvocationContext invocationContext)
MongoIdentifiableEntityafterRemove in interface MongoIdentifiableEntityCopyright © 2014. All Rights Reserved.