public abstract class AbstractAttributeStore<C extends IdentityStoreConfiguration> extends AbstractIdentityStore<C> implements AttributeStore<C>
| Constructor and Description |
|---|
AbstractAttributeStore() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doSetAttribute(IdentityContext context,
AttributedType type,
Attribute<? extends Serializable> attribute) |
<V extends Serializable> |
getAttribute(IdentityContext context,
AttributedType attributedType,
String attributeName)
Returns the Attribute value with the specified name, for the specified IdentityType
|
protected abstract Collection<Attribute<? extends Serializable>> |
getAttributes(IdentityContext context,
AttributedType attributedType) |
void |
loadAttributes(IdentityContext identityContext,
AttributedType attributedType)
Loads all attributes for the given
AttributedType. |
void |
setAttribute(IdentityContext context,
AttributedType attributedType,
Attribute<? extends Serializable> attribute)
Sets the specified Attribute value for the specified IdentityType
|
add, addAttributedType, countQueryResults, countQueryResults, getConfig, remove, removeAttributedType, removeCredentials, removeFromRelationships, setup, update, updateAttributedType, updateCredential, validateCredentialsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveAttributeadd, countQueryResults, countQueryResults, fetchQueryResults, fetchQueryResults, getConfig, remove, setup, update, updateCredential, validateCredentialspublic <V extends Serializable> Attribute<V> getAttribute(IdentityContext context, AttributedType attributedType, String attributeName)
AttributeStoregetAttribute in interface AttributeStore<C extends IdentityStoreConfiguration>public void loadAttributes(IdentityContext identityContext, AttributedType attributedType)
AttributeStoreAttributedType.loadAttributes in interface AttributeStore<C extends IdentityStoreConfiguration>public void setAttribute(IdentityContext context, AttributedType attributedType, Attribute<? extends Serializable> attribute)
AttributeStoresetAttribute in interface AttributeStore<C extends IdentityStoreConfiguration>protected abstract void doSetAttribute(IdentityContext context, AttributedType type, Attribute<? extends Serializable> attribute)
protected abstract Collection<Attribute<? extends Serializable>> getAttributes(IdentityContext context, AttributedType attributedType)
Copyright © 2024. All rights reserved.