Interface ResourceObjectDefinitionDelegator
- All Superinterfaces:
AbstractTypeDefinition,AssociationDefinitionStore,AttributeDefinitionStore,Cloneable,DebugDumpable,Definition,FrameworkNameResolver,Freezable,IdentifiersDefinitionStore,LayeredDefinition,LocalItemDefinitionStore,PrismLifecycleDefinition,PrismPresentationDefinition,ResourceObjectDefinition,ResourceObjectInboundProcessingDefinition,Revivable,SchemaLookup.Aware,Serializable,SmartVisitable<Definition>,TypeDefinition,Visitable<Definition>
- All Known Subinterfaces:
CompositeObjectDefinitionDelegator,ResourceObjectClassDefinitionDelegator,ResourceObjectTypeDefinitionDelegator
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.Definition
Definition.DefinitionBuilder, Definition.DefinitionMutatorNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.MutableNested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundProcessingDefinition
ResourceObjectInboundProcessingDefinition.AssociationBasedItemImplementation, ResourceObjectInboundProcessingDefinition.AssociationSynchronizationImplementation, ResourceObjectInboundProcessingDefinition.CompleteItemInboundDefinition, ResourceObjectInboundProcessingDefinition.FocusSpecification, ResourceObjectInboundProcessingDefinition.ItemInboundProcessingDefinitionNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.TypeDefinition
TypeDefinition.TypeDefinitionLikeBuilder, TypeDefinition.TypeDefinitionMutator -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Method Summary
Modifier and TypeMethodDescriptiondefault AbstractShadowAsResourceObjectDefinition.createBlankShadow()but having the correct resource OID, kind/intent (if applicable), and tag set.default @NotNull ObjectQuerycreateShadowSearchQuery(String resourceOid) Creates a query for obtaining shadows related to this object class or object type.delegate()default @Nullable ShadowAttributeDefinition<?,?, ?, ?> findAttributeDefinition(QName name) Finds a definition of a simple attribute with a given name.default @Nullable ShadowAttributeDefinition<?,?, ?, ?> findAttributeDefinition(QName name, boolean caseInsensitive) Finds an attribute definition by looking at the property name.default <T> ShadowSimpleAttributeDefinition<T>Finds attribute definition using local name only.default <T> @Nullable ShadowSimpleAttributeDefinition<T>findSimpleAttributeDefinition(QName name, boolean caseInsensitive) Finds a simple attribute definition by looking at the property name.default @NotNull ResourceObjectDefinitionforLayerImmutable(@NotNull LayerType layer) AsResourceObjectDefinition.forLayerMutable(LayerType)but returns immutable definition.default @NotNull ResourceObjectDefinitionforLayerMutable(@NotNull LayerType layer) Creates a layer-specific mutable version of this definition.default ResourceActivationDefinitionTypedefault @NotNull List<MappingType>Returns inbound mappings for the auxiliary object class(es) property.default ResourceObjectReferenceTypeThe definition of base context (resource object container).default @NotNull BasicResourceInformationThe basic information about the resource (like name, OID, selected configuration beans).default @NotNull Collection<QName>Returns the names of auxiliary object classes that are "statically" defined for this object type (or object class, in the future).default CorrelationDefinitionTypedefault @NotNull LayerTypeGets the current point-of-view: on which layer do we look at the data?default StringReturn a human readable name of this class suitable for logs.default @Nullable DefaultInboundMappingEvaluationPhasesTypeReturns the phases in which inbound mappings are evaluated by default.default @NotNull ResourceObjectTypeDefinitionTypeReturns the configuration bean for this object type or class.default @NotNull ResourceObjectTypeDelineationReturns the delineation of the set of objects belonging to this object type.default StringFree-form textual description of the object.default ShadowSimpleAttributeDefinition<?>Returns the definition of description attribute of a resource object.default @Nullable QNameReturns name of the description attribute.default ShadowSimpleAttributeDefinition<?>Returns the definition of display name attribute.default @Nullable QNameReturns name of the display name attribute.default @NotNull ShadowCachingPolicyTypeReturns shadow caching policy determined by the application of resource-level definitions down to the specific object type/class definition (using bean merging).default <T extends CapabilityType>
TgetEnabledCapability(@NotNull Class<T> capabilityClass, ResourceType resource) Checks the presence of capability in: 1. resource object definition (applicable only to resource object _type_ definitions), 2. additional connectors in resource (only if enabled there), 3. the main connector.default @NotNull ResourceObjectInboundProcessingDefinition.FocusSpecificationdefault StringTODOdefault @NotNull Collection<ResourceObjectInboundProcessingDefinition.CompleteItemInboundDefinition>Returns all inbound definitions for attributes and associations.default @Nullable ResourceLastLoginTimestampDefinitionTypedefault @Nullable StringWhat lifecycle state is the (refined) object class or object type definition?default @Nullable QNameReturns name of the naming attribute.default @NotNull NativeObjectClassDefinitionReturns the [structural] native object class definition, typically obtained from the connector.default @NotNull ResourceObjectClassDefinitionReturns the [structural] object class definition.default @NotNull QNameReturns the name of the object class.default ResourceObjectMultiplicityTypedefault @Nullable ResourcePasswordDefinitionTypedefault @NotNull Collection<? extends ShadowSimpleAttributeDefinition<?>>Returns the definition of primary identifier attributes of a resource object.default @NotNull Collection<QName>Returns names of primary identifiers.default PrismObjectDefinition<ShadowType>Returns a prism definition for the prism object/objects carrying the resource object/objects.default ProjectionPolicyTypedefault @NotNull List<? extends ShadowReferenceAttributeDefinition>Returns definitions of all associations as an unmodifiable collection.default SearchHierarchyScopeDefinition of search hierarchy scope.default @NotNull Collection<? extends ShadowSimpleAttributeDefinition<?>>Returns the definition of secondary identifier attributes of a resource object.default @NotNull Collection<QName>Returns names of secondary identifiers.default ObjectReferenceTypedefault @NotNull ShadowMarkingRulesReturns compiled patterns denoting protected objects or other kinds of marks.default @NotNull StringVery short identification, like the object class local name or the kind/intent pair.default @NotNull List<? extends ShadowSimpleAttributeDefinition<?>>default @NotNull Collection<? extends SynchronizationReactionDefinition>default @Nullable ResourceObjectTypeDefinitionIs this definition bound to a specific resource type?default @Nullable ResourceObjectTypeIdentificationIs this definition bound to a specific resource type?default @NotNull ResourceObjectVolatilityTypeSpecifies volatility of this type of resource objects, i.e. whether such an object can change when midPoint is not looking.default booleanhasAuxiliaryObjectClass(QName expectedObjectClassName) TODO define semantics (it's different forCompositeObjectDefinitionand the others!default booleanisDefaultFor(@NotNull ShadowKindType kind) Returns true if this definition can be considered as a default for the specified kind.default booleanisPrimaryIdentifier(QName attrName) Returns true if the attribute with a given name is among primary identifiers.default booleanisSecondaryIdentifier(QName attrName) Returns true if the attribute with a given name is among secondary identifiers.default voidreplaceAttributeDefinition(@NotNull QName itemName, @Nullable ItemDefinition<?> newDefinition) Replaces a definition for given item name with a provided one.default @Nullable ItemNameresolveFrameworkName(@NotNull String frameworkName) Resolves framework-specific name (like `__NAME__`) to midPoint name (like `ri:dn`), if available.default voidvalidate()Executes some basic checks on this object type.Methods inherited from interface com.evolveum.midpoint.prism.AbstractTypeDefinition
getTypeNameMethods inherited from interface com.evolveum.midpoint.schema.processor.AssociationDefinitionStore
findAssociationDefinition, findAssociationDefinitionRequired, findAssociationDefinitionRequired, getAssociationDefinitions, getNamesOfAssociationsMethods inherited from interface com.evolveum.midpoint.schema.processor.AttributeDefinitionStore
containsAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, findReferenceAttributeDefinitionRequired, findReferenceAttributeDefinitionRequired, findShadowAttributeDefinitionRequired, findSimpleAttributeDefinition, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionStrictlyRequired, findSimpleAttributeDefinitionStrictlyRequired, getAllSimpleAttributesNames, getAttributeDefinitions, getAttributeDefinitions, getAttributeNames, getReferenceAttributesNames, hasIndexOnlyAttributes, instantiateAttributeMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getSchemaContextDefinition, getTypeClass, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchema, mutatorMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getAllIdentifiersNames, getPrimaryIdentifierRequired, getSecondaryIdentifierRequired, isIdentifierMethods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findLocalItemDefinitionByIteration, findPropertyDefinition, findReferenceDefinition, getDefinitionsMethods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
getDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemovedMethods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasizedMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectDefinition
areCredentialsCached, areCredentialsCachedLegacy, assertAttached, canRepresent, clone, composite, createBlankShadow, createBlankShadowWithPrimaryId, createPrimaryIdentification, deepClone, findReferenceAttributeDefinition, getActivationBidirectionalMappingType, getActivationFetchStrategy, getActivationInboundMappings, getAssociationDefinitionsFor, getAssociationsComplexTypeDefinition, getAttributesComplexTypeDefinition, getAttributesVolatileOnAddOperation, getAttributesVolatileOnModifyOperation, getAuxiliaryDefinitions, getAuxiliaryObjectClassNameForAttribute, getCompileTimeClass, getDefaultOperationPolicyOid, getIdentification, getInstantiationOrder, getLastLoginTimestampFetchStrategy, getNamingAttribute, getObjectClassLocalName, getPasswordFetchStrategy, getPasswordInboundMappings, getPasswordOutboundMappings, getReferenceAttributesComplexTypeDefinition, getResourceOid, getSimpleAttributesComplexTypeDefinition, getStaticSubTypes, getSuperType, isActivationCached, isAuxiliaryObjectClassPropertyCached, isCachingEnabled, isEffectivelyCached, matchesObjectClassName, queryFor, replaceAttributeDefinition, shouldUpdateCachingMetadata, toPrismObjectDefinition, toShadowAssociationsContainerDefinition, toShadowAttributesContainerDefinition, trimAttributesToMethods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookupMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
acceptMethods inherited from interface com.evolveum.midpoint.prism.TypeDefinition
isAssignableFrom
-
Method Details
-
delegate
ResourceObjectDefinition delegate() -
getBasicResourceInformation
Description copied from interface:ResourceObjectDefinitionThe basic information about the resource (like name, OID, selected configuration beans). Replaces the hard-coded resource OID; necessary also for determination of default values for some features, e.g., shadow caching, and useful for diagnostics.- Specified by:
getBasicResourceInformationin interfaceResourceObjectDefinition
-
getSimpleAttributeDefinitions
@NotNull default @NotNull List<? extends ShadowSimpleAttributeDefinition<?>> getSimpleAttributeDefinitions()- Specified by:
getSimpleAttributeDefinitionsin interfaceAttributeDefinitionStore
-
findSimpleAttributeDefinition
@Nullable default <T> @Nullable ShadowSimpleAttributeDefinition<T> findSimpleAttributeDefinition(QName name, boolean caseInsensitive) Description copied from interface:AttributeDefinitionStoreFinds a simple attribute definition by looking at the property name. Returns null if nothing is found.- Specified by:
findSimpleAttributeDefinitionin interfaceAttributeDefinitionStore- Parameters:
name- property definition namecaseInsensitive- if true, ignoring the case- Returns:
- found property definition or null
-
findSimpleAttributeDefinition
Description copied from interface:AttributeDefinitionStoreFinds attribute definition using local name only. BEWARE: Ignores attributes in namespaces other than "ri:" (e.g. icfs:uid and icfs:name).- Specified by:
findSimpleAttributeDefinitionin interfaceAttributeDefinitionStore
-
findAttributeDefinition
Description copied from interface:AttributeDefinitionStoreFinds a definition of a simple attribute with a given name. Returns null if nothing is found.- Specified by:
findAttributeDefinitionin interfaceAttributeDefinitionStore
-
findAttributeDefinition
@Nullable default @Nullable ShadowAttributeDefinition<?,?, findAttributeDefinition?, ?> (QName name, boolean caseInsensitive) Description copied from interface:AttributeDefinitionStoreFinds an attribute definition by looking at the property name. Returns null if nothing is found.- Specified by:
findAttributeDefinitionin interfaceAttributeDefinitionStore- Parameters:
name- property definition namecaseInsensitive- if true, ignoring the case- Returns:
- found property definition or null
-
getPrimaryIdentifiers
@NotNull default @NotNull Collection<? extends ShadowSimpleAttributeDefinition<?>> getPrimaryIdentifiers()Description copied from interface:IdentifiersDefinitionStoreReturns the definition of primary identifier attributes of a resource object. May return empty set if there are no identifier attributes. Must not return null. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing.- Specified by:
getPrimaryIdentifiersin interfaceIdentifiersDefinitionStore- Returns:
- definition of identifier attributes
-
isPrimaryIdentifier
Description copied from interface:IdentifiersDefinitionStoreReturns true if the attribute with a given name is among primary identifiers. Matching is done using namespace-approximate method (testing only local part if no namespace is provided), so beware of incidental matching (e.g. ri:uid vs icfs:uid).- Specified by:
isPrimaryIdentifierin interfaceIdentifiersDefinitionStore
-
getSecondaryIdentifiers
@NotNull default @NotNull Collection<? extends ShadowSimpleAttributeDefinition<?>> getSecondaryIdentifiers()Description copied from interface:IdentifiersDefinitionStoreReturns the definition of secondary identifier attributes of a resource object. May return empty set if there are no secondary identifier attributes. Must not return null. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing.- Specified by:
getSecondaryIdentifiersin interfaceIdentifiersDefinitionStore- Returns:
- definition of secondary identifier attributes
-
isSecondaryIdentifier
Description copied from interface:IdentifiersDefinitionStoreReturns true if the attribute with a given name is among secondary identifiers. Matching is done using namespace-approximate method (testing only local part if no namespace is provided), so beware of incidental matching (e.g. ri:uid vs icfs:uid).- Specified by:
isSecondaryIdentifierin interfaceIdentifiersDefinitionStore
-
getDescriptionAttribute
Description copied from interface:ResourceObjectDefinitionReturns the definition of description attribute of a resource object. Returns null if there is no description attribute. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing. NOTE: Currently seems to be not used. (Neither not set nor used.)- Specified by:
getDescriptionAttributein interfaceResourceObjectDefinition
-
getDisplayNameAttribute
Description copied from interface:ResourceObjectDefinitionReturns the definition of display name attribute. Display name attribute specifies which resource attribute should be used as title when displaying objects of a specific resource object class. It must point to an attribute of String type. If not present, primary identifier should be used instead (but this method does not handle this default behavior). Returns null if there is no display name attribute. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing. NOTE: Currently seems to be not used. (Neither not set nor used.)- Specified by:
getDisplayNameAttributein interfaceResourceObjectDefinition
-
getPrismObjectDefinition
Description copied from interface:ResourceObjectDefinitionReturns a prism definition for the prism object/objects carrying the resource object/objects.- Specified by:
getPrismObjectDefinitionin interfaceResourceObjectDefinition
-
getPasswordDefinition
Description copied from interface:ResourceObjectDefinition- Specified by:
getPasswordDefinitionin interfaceResourceObjectDefinition
-
getLastLoginTimestampDefinition
@Nullable default @Nullable ResourceLastLoginTimestampDefinitionType getLastLoginTimestampDefinition()Description copied from interface:ResourceObjectDefinition- Specified by:
getLastLoginTimestampDefinitionin interfaceResourceObjectDefinition
-
getObjectClassDefinition
Description copied from interface:ResourceObjectDefinitionReturns the [structural] object class definition.- Specified by:
getObjectClassDefinitionin interfaceResourceObjectDefinition
-
getObjectClassName
Description copied from interface:ResourceObjectDefinitionReturns the name of the object class. Always fully qualified; currently with theSchemaConstants.NS_RInamespace.- Specified by:
getObjectClassNamein interfaceResourceObjectDefinition
-
getDescriptionAttributeName
Description copied from interface:ResourceObjectDefinitionReturns name of the description attribute.- Specified by:
getDescriptionAttributeNamein interfaceResourceObjectDefinition- See Also:
-
getNamingAttributeName
Description copied from interface:ResourceObjectDefinitionReturns name of the naming attribute.- Specified by:
getNamingAttributeNamein interfaceResourceObjectDefinition- See Also:
-
getDisplayNameAttributeName
Description copied from interface:ResourceObjectDefinitionReturns name of the display name attribute.- Specified by:
getDisplayNameAttributeNamein interfaceResourceObjectDefinition
-
createBlankShadowWithTag
Description copied from interface:ResourceObjectDefinitionAsResourceObjectDefinition.createBlankShadow()but having the correct resource OID, kind/intent (if applicable), and tag set.- Specified by:
createBlankShadowWithTagin interfaceResourceObjectDefinition
-
getEnabledCapability
default <T extends CapabilityType> T getEnabledCapability(@NotNull @NotNull Class<T> capabilityClass, ResourceType resource) Description copied from interface:ResourceObjectDefinitionChecks the presence of capability in: 1. resource object definition (applicable only to resource object _type_ definitions), 2. additional connectors in resource (only if enabled there), 3. the main connector. Returns the present capability, but only if it's enabled.- Specified by:
getEnabledCapabilityin interfaceResourceObjectDefinition
-
getHumanReadableName
Description copied from interface:ResourceObjectDefinitionTODO- Specified by:
getHumanReadableNamein interfaceResourceObjectDefinition
-
getReferenceAttributeDefinitions
@NotNull default @NotNull List<? extends ShadowReferenceAttributeDefinition> getReferenceAttributeDefinitions()Description copied from interface:AttributeDefinitionStoreReturns definitions of all associations as an unmodifiable collection. Note: these items are _not_ included in getDefinitions. (BTW, ResourceAssociationDefinition is not a subtype of ItemDefinition, not even of Definition.)- Specified by:
getReferenceAttributeDefinitionsin interfaceAttributeDefinitionStore- Specified by:
getReferenceAttributeDefinitionsin interfaceResourceObjectDefinition
-
getPrimaryIdentifiersNames
Description copied from interface:IdentifiersDefinitionStoreReturns names of primary identifiers.- Specified by:
getPrimaryIdentifiersNamesin interfaceIdentifiersDefinitionStore- See Also:
-
getSecondaryIdentifiersNames
Description copied from interface:IdentifiersDefinitionStoreReturns names of secondary identifiers.- Specified by:
getSecondaryIdentifiersNamesin interfaceIdentifiersDefinitionStore- See Also:
-
getDebugDumpClassName
Description copied from interface:ResourceObjectDefinitionReturn a human readable name of this class suitable for logs.- Specified by:
getDebugDumpClassNamein interfaceResourceObjectDefinition
-
forLayerMutable
@NotNull default @NotNull ResourceObjectDefinition forLayerMutable(@NotNull @NotNull LayerType layer) Description copied from interface:ResourceObjectDefinitionCreates a layer-specific mutable version of this definition.- Specified by:
forLayerMutablein interfaceResourceObjectDefinition
-
forLayerImmutable
@NotNull default @NotNull ResourceObjectDefinition forLayerImmutable(@NotNull @NotNull LayerType layer) Description copied from interface:ResourceObjectDefinitionAsResourceObjectDefinition.forLayerMutable(LayerType)but returns immutable definition.- Specified by:
forLayerImmutablein interfaceResourceObjectDefinition
-
getSecurityPolicyRef
- Specified by:
getSecurityPolicyRefin interfaceResourceObjectDefinition- See Also:
-
replaceAttributeDefinition
default void replaceAttributeDefinition(@NotNull @NotNull QName itemName, @Nullable @Nullable ItemDefinition<?> newDefinition) Description copied from interface:ResourceObjectDefinitionReplaces a definition for given item name with a provided one.- Specified by:
replaceAttributeDefinitionin interfaceResourceObjectDefinition
-
getCurrentLayer
Description copied from interface:LayeredDefinitionGets the current point-of-view: on which layer do we look at the data?- Specified by:
getCurrentLayerin interfaceLayeredDefinition
-
getDescription
Description copied from interface:ResourceObjectDefinitionFree-form textual description of the object. It is supposed to describe the object or a construct that it is attached to.- Specified by:
getDescriptionin interfaceResourceObjectDefinition- See Also:
-
getObjectMultiplicity
- Specified by:
getObjectMultiplicityin interfaceResourceObjectDefinition- See Also:
-
getProjectionPolicy
- Specified by:
getProjectionPolicyin interfaceResourceObjectDefinition- See Also:
-
hasAuxiliaryObjectClass
Description copied from interface:ResourceObjectDefinitionTODO define semantics (it's different forCompositeObjectDefinitionand the others!- Specified by:
hasAuxiliaryObjectClassin interfaceResourceObjectDefinition
-
getAuxiliaryObjectClassMappings
- Specified by:
getAuxiliaryObjectClassMappingsin interfaceResourceObjectDefinition- See Also:
-
getAuxiliaryObjectClassInboundMappings
Description copied from interface:ResourceObjectInboundProcessingDefinitionReturns inbound mappings for the auxiliary object class(es) property.- Specified by:
getAuxiliaryObjectClassInboundMappingsin interfaceResourceObjectInboundProcessingDefinition
-
getShadowMarkingRules
Description copied from interface:ResourceObjectDefinitionReturns compiled patterns denoting protected objects or other kinds of marks. Use only in the parsed state.- Specified by:
getShadowMarkingRulesin interfaceResourceObjectDefinition- See Also:
-
getActivationSchemaHandling
- Specified by:
getActivationSchemaHandlingin interfaceResourceObjectDefinition- See Also:
-
getDelineation
Description copied from interface:ResourceObjectDefinitionReturns the delineation of the set of objects belonging to this object type. Note that this tells only about information stored right in the definition bean, i.e. legacy configuration is not provided here. The complete picture is provided bySynchronizationPolicy.getDelineation().- Specified by:
getDelineationin interfaceResourceObjectDefinition
-
getBaseContext
Description copied from interface:ResourceObjectDefinitionThe definition of base context (resource object container). This object will be used as a base for searches for objects of this type.- Specified by:
getBaseContextin interfaceResourceObjectDefinition- See Also:
-
getSearchHierarchyScope
Description copied from interface:ResourceObjectDefinitionDefinition of search hierarchy scope. It specifies how "deep" the search should go into the object hierarchy.- Specified by:
getSearchHierarchyScopein interfaceResourceObjectDefinition- See Also:
-
getVolatility
Description copied from interface:ResourceObjectDefinitionSpecifies volatility of this type of resource objects, i.e. whether such an object can change when midPoint is not looking.- Specified by:
getVolatilityin interfaceResourceObjectDefinition- See Also:
-
getDefaultInboundMappingEvaluationPhases
@Nullable default @Nullable DefaultInboundMappingEvaluationPhasesType getDefaultInboundMappingEvaluationPhases()Description copied from interface:ResourceObjectDefinitionReturns the phases in which inbound mappings are evaluated by default.- Specified by:
getDefaultInboundMappingEvaluationPhasesin interfaceResourceObjectDefinition- Specified by:
getDefaultInboundMappingEvaluationPhasesin interfaceResourceObjectInboundProcessingDefinition- See Also:
-
getLifecycleState
Description copied from interface:ResourceObjectDefinitionWhat lifecycle state is the (refined) object class or object type definition? Raw object class definition should always return `null` here.- Specified by:
getLifecycleStatein interfaceResourceObjectDefinition- See Also:
-
getConfiguredAuxiliaryObjectClassNames
Description copied from interface:ResourceObjectDefinitionReturns the names of auxiliary object classes that are "statically" defined for this object type (or object class, in the future). For dynamically composed definitions (CompositeObjectDefinitiononly the statically-defined ones (i.e. those from the structural definition) are returned.- Specified by:
getConfiguredAuxiliaryObjectClassNamesin interfaceResourceObjectDefinition
-
validate
Description copied from interface:ResourceObjectDefinitionExecutes some basic checks on this object type. Moved from `validateObjectClassDefinition()` method inResourceTypeUtil. TODO review this method- Specified by:
validatein interfaceResourceObjectDefinition- Throws:
SchemaException
-
getDefinitionBean
Description copied from interface:ResourceObjectDefinitionReturns the configuration bean for this object type or class.- Specified by:
getDefinitionBeanin interfaceResourceObjectDefinition
-
getNativeObjectClassDefinition
Description copied from interface:ResourceObjectDefinitionReturns the [structural] native object class definition, typically obtained from the connector.- Specified by:
getNativeObjectClassDefinitionin interfaceResourceObjectDefinition
-
createShadowSearchQuery
Description copied from interface:ResourceObjectDefinitionCreates a query for obtaining shadows related to this object class or object type. The current implementations return either: - a combination of resource OID + object class name, or - a combination of resource OID + kind + intent.- Specified by:
createShadowSearchQueryin interfaceResourceObjectDefinition
-
getTypeIdentification
Description copied from interface:ResourceObjectDefinitionIs this definition bound to a specific resource type? If yes, this method returns its identification.- Specified by:
getTypeIdentificationin interfaceResourceObjectDefinition
-
getTypeDefinition
Description copied from interface:ResourceObjectDefinitionIs this definition bound to a specific resource type? If yes, this method returns its definition.- Specified by:
getTypeDefinitionin interfaceResourceObjectDefinition
-
isDefaultFor
Description copied from interface:ResourceObjectDefinitionReturns true if this definition can be considered as a default for the specified kind. Normally, for a type definition it means that it is marked as "default for a kind" and has the specified kind. But there is a special case ofResourceObjectClassDefinitionwithResourceObjectClassDefinition.isDefaultAccountDefinition()being `true`. It is considered to be the default forShadowKindType.ACCOUNT. Use with care!- Specified by:
isDefaultForin interfaceResourceObjectDefinition
-
getEffectiveShadowCachingPolicy
Description copied from interface:ResourceObjectDefinitionReturns shadow caching policy determined by the application of resource-level definitions down to the specific object type/class definition (using bean merging). The returned value has all the defaults applied. Throws an exception for unattached raw object class definitions.- Specified by:
getEffectiveShadowCachingPolicyin interfaceResourceObjectDefinition
-
getShortIdentification
Description copied from interface:ResourceObjectDefinitionVery short identification, like the object class local name or the kind/intent pair.- Specified by:
getShortIdentificationin interfaceResourceObjectDefinition
-
resolveFrameworkName
Description copied from interface:FrameworkNameResolverResolves framework-specific name (like `__NAME__`) to midPoint name (like `ri:dn`), if available.- Specified by:
resolveFrameworkNamein interfaceFrameworkNameResolver
-
getItemInboundDefinitions
@NotNull default @NotNull Collection<ResourceObjectInboundProcessingDefinition.CompleteItemInboundDefinition> getItemInboundDefinitions()Description copied from interface:ResourceObjectInboundProcessingDefinitionReturns all inbound definitions for attributes and associations.- Specified by:
getItemInboundDefinitionsin interfaceResourceObjectInboundProcessingDefinition
-
getFocusSpecification
@NotNull default @NotNull ResourceObjectInboundProcessingDefinition.FocusSpecification getFocusSpecification()- Specified by:
getFocusSpecificationin interfaceResourceObjectInboundProcessingDefinition
-
getSynchronizationReactions
@NotNull default @NotNull Collection<? extends SynchronizationReactionDefinition> getSynchronizationReactions()- Specified by:
getSynchronizationReactionsin interfaceResourceObjectInboundProcessingDefinition
-
getCorrelation
- Specified by:
getCorrelationin interfaceResourceObjectInboundProcessingDefinition
-