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, validateCredentials
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
removeAttribute
add, countQueryResults, countQueryResults, fetchQueryResults, fetchQueryResults, getConfig, remove, setup, update, updateCredential, validateCredentials
public <V extends Serializable> Attribute<V> getAttribute(IdentityContext context, AttributedType attributedType, String attributeName)
AttributeStore
getAttribute
in interface AttributeStore<C extends IdentityStoreConfiguration>
public void loadAttributes(IdentityContext identityContext, AttributedType attributedType)
AttributeStore
AttributedType
.loadAttributes
in interface AttributeStore<C extends IdentityStoreConfiguration>
public void setAttribute(IdentityContext context, AttributedType attributedType, Attribute<? extends Serializable> attribute)
AttributeStore
setAttribute
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 © 2018. All rights reserved.