@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, setTotp
equals, getId, hashCode, setId, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, setId
public String getEmailIndex()
public void setEmailIndex(String ignored)
public void afterRemove(MongoStoreInvocationContext invocationContext)
MongoIdentifiableEntity
afterRemove
in interface MongoIdentifiableEntity
Copyright © 2014. All Rights Reserved.