@Component public class RelationRegistryImpl extends Object implements RelationRegistry
Constructor and Description |
---|
RelationRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
applyRelationsConfiguration(SystemConfigurationType systemConfiguration)
This method should be called whenever midPoint determines that the relations definition in system configuration might
have been changed.
|
Collection<QName> |
getAliases(QName relation)
Returns aliases of a relation.
|
Collection<QName> |
getAllRelationsFor(RelationKindType kind)
Returns all relations of a given kind.
|
QName |
getDefaultRelation()
Returns the default relation i.e.
|
QName |
getDefaultRelationFor(RelationKindType kind)
Returns the default relation for a given kind.
|
RelationDefinitionType |
getRelationDefinition(QName relation)
Returns a relation definition for a specified relation name.
|
List<RelationDefinitionType> |
getRelationDefinitions()
Returns all relation definitions: explicitly specified as well as built-in ones.
|
boolean |
isAutomaticallyMatched(QName relation)
Whether this kind of relations is automatically matched by order constraints.
|
boolean |
isDefault(QName relation)
Checks whether the relation is equivalent to the default one.
|
boolean |
isOfKind(QName relation,
RelationKindType kind)
Returns true if the relation is of specified kind.
|
boolean |
isProcessedOnLogin(QName relation)
Whether this kind of relations is processed on login.
|
boolean |
isProcessedOnRecompute(QName relation)
Whether this kind of relations is processed on recompute.
|
boolean |
isStoredIntoParentOrgRef(QName relation)
Whether this kind of relations is stored in parentOrgRef.
|
QName |
normalizeRelation(QName relation)
Returns a normalized relation name, i.e.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isApprover, isDelegation, isManager, isMember, isMeta, isOwner
public void applyRelationsConfiguration(SystemConfigurationType systemConfiguration)
RelationRegistry
applyRelationsConfiguration
in interface RelationRegistry
public List<RelationDefinitionType> getRelationDefinitions()
RelationRegistry
getRelationDefinitions
in interface RelationRegistry
public RelationDefinitionType getRelationDefinition(QName relation)
RelationRegistry
getRelationDefinition
in interface RelationRegistry
public boolean isOfKind(QName relation, RelationKindType kind)
RelationRegistry
isOfKind
in interface RelationRegistry
public boolean isProcessedOnLogin(QName relation)
RelationRegistry
isProcessedOnLogin
in interface RelationRegistry
public boolean isProcessedOnRecompute(QName relation)
RelationRegistry
isProcessedOnRecompute
in interface RelationRegistry
public boolean isStoredIntoParentOrgRef(QName relation)
RelationRegistry
isStoredIntoParentOrgRef
in interface RelationRegistry
public boolean isAutomaticallyMatched(QName relation)
RelationRegistry
isAutomaticallyMatched
in interface RelationRegistry
public QName getDefaultRelationFor(RelationKindType kind)
RelationRegistry
getDefaultRelationFor
in interface RelationRegistry
@NotNull public Collection<QName> getAllRelationsFor(RelationKindType kind)
RelationRegistry
getAllRelationsFor
in interface RelationRegistry
public QName getDefaultRelation()
RelationRegistry
getDefaultRelation
in interface RelationRegistry
@NotNull public QName normalizeRelation(QName relation)
RelationRegistry
normalizeRelation
in interface RelationRegistry
public boolean isDefault(QName relation)
RelationRegistry
isDefault
in interface RelationRegistry
@NotNull public Collection<QName> getAliases(QName relation)
RelationRegistry
getAliases
in interface RelationRegistry
Copyright © 2020 Evolveum. All rights reserved.