public abstract class AbstractAttributedTypeManager<T extends AttributedType> extends Object implements AttributedTypeManager<T>
Constructor and Description |
---|
AbstractAttributedTypeManager(DefaultPartitionManager partitionManager) |
AbstractAttributedTypeManager(org.picketlink.idm.internal.PartitionManagerConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
add(T attributedType) |
protected void |
addAttributes(IdentityContext identityContext,
AttributedType identityType) |
protected abstract void |
checkIfExists(T attributedType) |
protected abstract void |
checkUniqueness(T attributedType) |
protected IdentityContext |
createIdentityContext(Partition partition,
EventBridge eventBridge,
IdGenerator idGenerator) |
protected abstract void |
doAdd(T attributedType) |
protected abstract void |
doRemove(T attributedType) |
protected abstract void |
doUpdate(T attributedType) |
protected abstract void |
fireAttributedTypeAddedEvent(T attributedType) |
protected abstract void |
fireAttributedTypeRemovedEvent(T attributedType) |
protected abstract void |
fireAttributedTypeUpdatedEvent(T attributedType) |
protected void |
fireEvent(Object event) |
protected org.picketlink.idm.internal.PartitionManagerConfiguration |
getConfiguration() |
protected EventBridge |
getEventBridge() |
IdentityContext |
getIdentityContext() |
protected IdGenerator |
getIdGenerator() |
StoreSelector |
getStoreSelector() |
void |
remove(T attributedType) |
protected void |
removeAllAttributes(AttributedType storedType) |
protected void |
removeAttributes(IdentityContext identityContext,
AttributedType identityType,
AttributedType storedType) |
void |
update(T attributedType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lookupById
public AbstractAttributedTypeManager(org.picketlink.idm.internal.PartitionManagerConfiguration configuration)
public AbstractAttributedTypeManager(DefaultPartitionManager partitionManager)
public void add(T attributedType) throws IdentityManagementException
add
in interface AttributedTypeManager<T extends AttributedType>
IdentityManagementException
protected abstract void fireAttributedTypeAddedEvent(T attributedType)
protected abstract void doAdd(T attributedType)
public void update(T attributedType) throws IdentityManagementException
update
in interface AttributedTypeManager<T extends AttributedType>
IdentityManagementException
protected abstract void fireAttributedTypeUpdatedEvent(T attributedType)
protected abstract void doUpdate(T attributedType)
public void remove(T attributedType) throws IdentityManagementException
remove
in interface AttributedTypeManager<T extends AttributedType>
IdentityManagementException
protected abstract void fireAttributedTypeRemovedEvent(T attributedType)
protected abstract void doRemove(T attributedType)
protected abstract void checkUniqueness(T attributedType) throws IdentityManagementException
IdentityManagementException
protected abstract void checkIfExists(T attributedType) throws IdentityManagementException
IdentityManagementException
protected void fireEvent(Object event)
protected EventBridge getEventBridge()
protected IdentityContext createIdentityContext(Partition partition, EventBridge eventBridge, IdGenerator idGenerator)
protected IdGenerator getIdGenerator()
protected void addAttributes(IdentityContext identityContext, AttributedType identityType)
protected void removeAttributes(IdentityContext identityContext, AttributedType identityType, AttributedType storedType)
protected void removeAllAttributes(AttributedType storedType)
public StoreSelector getStoreSelector()
public IdentityContext getIdentityContext()
protected org.picketlink.idm.internal.PartitionManagerConfiguration getConfiguration()
Copyright © 2016. All rights reserved.