Class LinkManager
- java.lang.Object
-
- com.evolveum.midpoint.model.common.LinkManager
-
@Experimental @Component public class LinkManager extends Object
Manages link definitions. Current implementation is very limited as it deals only with locally-defined links in in archetype. Future extensions: - consider links defined in object policy configuration (in system configuration) - consider links globally e.g. target link A->B defined in archetype A is visible as source link in archetype B - define global links also in system configuration - allow restriction also for defining object (i.e. not only 'the other side') using object selectors
-
-
Constructor Summary
Constructors Constructor Description LinkManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <O extends ObjectType>
LinkTypeDefinitionTypegetSourceLinkTypeDefinition(String linkTypeName, PrismObject<O> object, OperationResult result)
<O extends ObjectType>
@NotNull LinkTypeDefinitionTypegetSourceLinkTypeDefinitionRequired(String linkTypeName, PrismObject<O> object, OperationResult result)
<O extends ObjectType>
LinkTypeDefinitionTypegetTargetLinkTypeDefinition(String linkTypeName, PrismObject<O> object, OperationResult result)
<O extends ObjectType>
@NotNull LinkTypeDefinitionTypegetTargetLinkTypeDefinitionRequired(String linkTypeName, PrismObject<O> object, OperationResult result)
-
-
-
Method Detail
-
getSourceLinkTypeDefinitionRequired
@NotNull public <O extends ObjectType> @NotNull LinkTypeDefinitionType getSourceLinkTypeDefinitionRequired(String linkTypeName, PrismObject<O> object, OperationResult result) throws SchemaException, ConfigurationException
-
getSourceLinkTypeDefinition
public <O extends ObjectType> LinkTypeDefinitionType getSourceLinkTypeDefinition(String linkTypeName, PrismObject<O> object, OperationResult result) throws SchemaException, ConfigurationException
-
getTargetLinkTypeDefinitionRequired
@NotNull public <O extends ObjectType> @NotNull LinkTypeDefinitionType getTargetLinkTypeDefinitionRequired(String linkTypeName, PrismObject<O> object, OperationResult result) throws SchemaException, ConfigurationException
-
getTargetLinkTypeDefinition
public <O extends ObjectType> LinkTypeDefinitionType getTargetLinkTypeDefinition(String linkTypeName, PrismObject<O> object, OperationResult result) throws SchemaException, ConfigurationException
-
-