Interface ResourceObjectTypeDefinition
- 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:
ResourceObjectTypeDefinitionDelegator
- All Known Implementing Classes:
ResourceObjectTypeDefinitionImpl
Definition of "resource object type". Roughly corresponds to an `objectType` section in `schemaHandling`
part of resource definition.
-
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 @NotNull ObjectQuerycreateShadowSearchQuery(String resourceOid) Creates a query for obtaining shadows related to this object class or object type.@NotNull ResourceObjectTypeDefinitionforLayerMutable(@NotNull LayerType layer) Creates a layer-specific mutable version of this definition.@NotNull Set<ResourceObjectTypeIdentification>Returns the identification of all ancestors.default @Nullable StringArchetype OID - a convenience method.@Nullable ObjectReferenceTypeArchetype reference - not present in standalone definitions.@Nullable ExpressionTypeTemporary?<T extends CapabilityType>
TgetConfiguredCapability(Class<T> capabilityClass) Returns the configured capability of given class, if present.@Nullable CorrelationDefinitionTypeReturns the correlation definition bean, if present here.@Nullable QNameReturns the focus type name, if present here.@NotNull StringIntent defining this object type (along withgetKind()).@NotNull ShadowKindTypegetKind()Kind of objects covered by this object type.@Nullable CapabilityCollectionTypeReturns all configured capabilities, if present.@NotNull Collection<? extends SynchronizationReactionDefinition.ObjectSynchronizationReactionDefinition>Returns the synchronization reactions defined here.@NotNull ResourceObjectTypeDefinitionIs this definition bound to a specific resource type?@NotNull ResourceObjectTypeIdentificationIdentification (kind+intent) of this object type.booleanReturns true if there is "synchronization reactions" definition section here (even if it's empty).booleanIs this type explicitly marked as the default object type for given kind?booleanIs this type explicitly marked as the default object type for given object class?@Nullable BooleanReturns the "synchronization enabled" flag value, if present here.@Nullable BooleanReturns the "synchronization opportunistic" flag value, if present here.default booleanisThisOrDescendantOf(@NotNull ResourceObjectTypeIdentification identification) default booleanisThisOrDescendantOf(@NotNull Collection<? extends ResourceObjectTypeIdentification> identifications) default booleanmatches(@NotNull ShadowKindType kind, @NotNull String intent) Returns true if this object type matches specified (non-null) kind and intent.default booleanmatchesKind(@Nullable ShadowKindType kind) Returns true if the type definition is of specified kind.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, findAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, findReferenceAttributeDefinitionRequired, findReferenceAttributeDefinitionRequired, findShadowAttributeDefinitionRequired, findSimpleAttributeDefinition, findSimpleAttributeDefinition, findSimpleAttributeDefinition, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionStrictlyRequired, findSimpleAttributeDefinitionStrictlyRequired, getAllSimpleAttributesNames, getAttributeDefinitions, getAttributeDefinitions, getAttributeNames, getReferenceAttributesNames, getSimpleAttributeDefinitions, 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.schema.processor.FrameworkNameResolver
resolveFrameworkNameMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getAllIdentifiersNames, getPrimaryIdentifierRequired, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getSecondaryIdentifierRequired, getSecondaryIdentifiers, getSecondaryIdentifiersNames, isIdentifier, isPrimaryIdentifier, isSecondaryIdentifierMethods inherited from interface com.evolveum.midpoint.schema.processor.LayeredDefinition
getCurrentLayerMethods 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, createBlankShadowWithTag, createPrimaryIdentification, deepClone, findReferenceAttributeDefinition, forLayerImmutable, getActivationBidirectionalMappingType, getActivationFetchStrategy, getActivationInboundMappings, getActivationSchemaHandling, getAssociationDefinitionsFor, getAssociationsComplexTypeDefinition, getAttributesComplexTypeDefinition, getAttributesVolatileOnAddOperation, getAttributesVolatileOnModifyOperation, getAuxiliaryDefinitions, getAuxiliaryObjectClassMappings, getAuxiliaryObjectClassNameForAttribute, getBaseContext, getBasicResourceInformation, getCompileTimeClass, getConfiguredAuxiliaryObjectClassNames, getDebugDumpClassName, getDefaultInboundMappingEvaluationPhases, getDefaultOperationPolicyOid, getDefinitionBean, getDelineation, getDescription, getDescriptionAttribute, getDescriptionAttributeName, getDisplayNameAttribute, getDisplayNameAttributeName, getEffectiveShadowCachingPolicy, getEnabledCapability, getHumanReadableName, getIdentification, getInstantiationOrder, getLastLoginTimestampDefinition, getLastLoginTimestampFetchStrategy, getLifecycleState, getNamingAttribute, getNamingAttributeName, getNativeObjectClassDefinition, getObjectClassDefinition, getObjectClassLocalName, getObjectClassName, getObjectMultiplicity, getPasswordDefinition, getPasswordFetchStrategy, getPasswordInboundMappings, getPasswordOutboundMappings, getPrismObjectDefinition, getProjectionPolicy, getReferenceAttributeDefinitions, getReferenceAttributesComplexTypeDefinition, getResourceOid, getSearchHierarchyScope, getSecurityPolicyRef, getShadowMarkingRules, getShortIdentification, getSimpleAttributesComplexTypeDefinition, getStaticSubTypes, getSuperType, getVolatility, hasAuxiliaryObjectClass, isActivationCached, isAuxiliaryObjectClassPropertyCached, isCachingEnabled, isDefaultFor, isEffectivelyCached, matchesObjectClassName, queryFor, replaceAttributeDefinition, replaceAttributeDefinition, shouldUpdateCachingMetadata, toPrismObjectDefinition, toShadowAssociationsContainerDefinition, toShadowAttributesContainerDefinition, trimAttributesTo, validateMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundProcessingDefinition
getAuxiliaryObjectClassInboundMappings, getCorrelation, getFocusSpecification, getItemInboundDefinitionsMethods 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
-
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
Identification (kind+intent) of this object type.- 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
-
getKind
Kind of objects covered by this object type. -
getIntent
Intent defining this object type (along withgetKind()). -
getAncestorsIds
Returns the identification of all ancestors. This type is not included in the list. -
matches
Returns true if this object type matches specified (non-null) kind and intent. -
isThisOrDescendantOf
default boolean isThisOrDescendantOf(@NotNull @NotNull ResourceObjectTypeIdentification identification) -
isThisOrDescendantOf
default boolean isThisOrDescendantOf(@NotNull @NotNull Collection<? extends ResourceObjectTypeIdentification> identifications) -
matchesKind
Returns true if the type definition is of specified kind. Kind of `null` matches all definitions. -
isDefaultForKind
boolean isDefaultForKind()Is this type explicitly marked as the default object type for given kind? (using default or defaultForKind property). -
isDefaultForObjectClass
boolean isDefaultForObjectClass()Is this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property). -
forLayerMutable
Description copied from interface:ResourceObjectDefinitionCreates a layer-specific mutable version of this definition.- Specified by:
forLayerMutablein interfaceResourceObjectDefinition
-
getConfiguredCapability
Returns the configured capability of given class, if present. -
getSpecificCapabilities
Returns all configured capabilities, if present. -
getCorrelationDefinitionBean
Returns the correlation definition bean, if present here. (It may be standalone.) -
isSynchronizationEnabled
Returns the "synchronization enabled" flag value, if present here. (It may be standalone.) FIXME -
isSynchronizationOpportunistic
Returns the "synchronization opportunistic" flag value, if present here. (It may be standalone.) -
getFocusTypeName
Returns the focus type name, if present here. (It may be standalone.) -
getArchetypeRef
Archetype reference - not present in standalone definitions. -
getArchetypeOid
Archetype OID - a convenience method. -
hasSynchronizationReactionsDefinition
boolean hasSynchronizationReactionsDefinition()Returns true if there is "synchronization reactions" definition section here (even if it's empty). -
getSynchronizationReactions
@NotNull @NotNull Collection<? extends SynchronizationReactionDefinition.ObjectSynchronizationReactionDefinition> getSynchronizationReactions()Returns the synchronization reactions defined here. (They may be standalone.)- Specified by:
getSynchronizationReactionsin interfaceResourceObjectInboundProcessingDefinition
-
getClassificationCondition
Temporary?
-