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 an 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 LinkTypeDefinitionType
getSourceLinkTypeDefinition(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result)
@NotNull LinkTypeDefinitionType
getSourceLinkTypeDefinitionRequired(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result)
LinkTypeDefinitionType
getTargetLinkTypeDefinition(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result)
@NotNull LinkTypeDefinitionType
getTargetLinkTypeDefinitionRequired(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result)
-
-
-
Method Detail
-
getSourceLinkTypeDefinitionRequired
@NotNull public @NotNull LinkTypeDefinitionType getSourceLinkTypeDefinitionRequired(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result) throws SchemaException, ConfigurationException
-
getSourceLinkTypeDefinition
public LinkTypeDefinitionType getSourceLinkTypeDefinition(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result) throws SchemaException, ConfigurationException
-
getTargetLinkTypeDefinitionRequired
@NotNull public @NotNull LinkTypeDefinitionType getTargetLinkTypeDefinitionRequired(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result) throws SchemaException, ConfigurationException
-
getTargetLinkTypeDefinition
public LinkTypeDefinitionType getTargetLinkTypeDefinition(String linkTypeName, List<PrismObject<? extends ObjectType>> objectVariants, OperationResult result) throws SchemaException, ConfigurationException
-
-