Interface ResourceObjectTypeDefinition
- All Superinterfaces:
AssociationDefinitionStore,AttributeDefinitionStore,Cloneable,ComplexTypeDefinition,DebugDumpable,Definition,Freezable,IdentifiersDefinitionStore,LayeredDefinition,LocalItemDefinitionStore,PrismContextSensitive,ResourceObjectDefinition,Revivable,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.
-
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.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<SynchronizationReactionDefinition>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 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.schema.processor.AssociationDefinitionStore
findAssociationDefinition, findAssociationDefinitionRequired, getAssociationDefinitions, getAssociationDefinitions, getNamesOfAssociations, getNamesOfAssociationsWithInboundExpressions, getNamesOfAssociationsWithOutboundExpressionsMethods inherited from interface com.evolveum.midpoint.schema.processor.AttributeDefinitionStore
containsAttributeDefinition, findAttributeDefinition, findAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, getAttributeDefinitions, getAttributeDefinitions, getNamesOfAttributesWithInboundExpressions, getNamesOfAttributesWithOutboundExpressions, hasIndexOnlyAttributes, propertyToAttributeMethods inherited from interface com.evolveum.midpoint.prism.ComplexTypeDefinition
getDefaultNamespace, getDefinitions, getExtensionForType, getIgnoredNamespaces, getXmlAttributeDefinitions, hasOperationalOnlyItems, hasSubstitutions, hasSubstitutions, isContainerMarker, isEmpty, isItemDefinitionRemoved, isListMarker, isObjectMarker, isReferenceMarker, isStrictAnyMarker, isXsdAnyMarker, itemOrSubstitution, merge, substitution, toMutable, trimToMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.prism.Definition
debugDump, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotationMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getPrimaryIdentifierRequired, getPrimaryIdentifiers, getPrimaryIdentifiersNames, 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, findPropertyDefinition, findReferenceDefinitionMethods inherited from interface com.evolveum.midpoint.prism.PrismContextSensitive
getPrismContextMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectDefinition
clone, createBlankShadow, deepClone, forLayerImmutable, getActivationBidirectionalMappingType, getActivationFetchStrategy, getActivationSchemaHandling, getAuxiliaryDefinitions, getAuxiliaryObjectClassMappings, getBaseContext, getConfiguredAuxiliaryObjectClassNames, getDebugDumpClassName, getDefaultInboundMappingEvaluationPhases, getDefinitionBean, getDelineation, getDescription, getDescriptionAttribute, getDescriptionAttributeName, getDisplayNameAttribute, getDisplayNameAttributeName, getEnabledCapability, getHumanReadableName, getLifecycleState, getNamingAttribute, getNamingAttributeName, getObjectClassDefinition, getObjectClassName, getObjectMultiplicity, getPasswordDefinition, getPasswordFetchStrategy, getPasswordInbound, getPasswordOutbound, getPrismObjectDefinition, getProjectionPolicy, getProtectedObjectPatterns, getRawObjectClassDefinition, getResourceOid, getSearchHierarchyScope, getSecurityPolicyRef, getVolatility, hasAuxiliaryObjectClass, instantiate, isDefaultFor, matchesObjectClassName, replaceDefinition, replaceDefinition, toResourceAttributeContainerDefinition, toResourceAttributeContainerDefinition, validateMethods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
acceptMethods inherited from interface com.evolveum.midpoint.prism.TypeDefinition
canRepresent, getCompileTimeClass, getInstantiationOrder, getStaticSubTypes, getSuperType, isAssignableFrom
-
Method Details
-
createShadowSearchQuery
@NotNull default @NotNull ObjectQuery createShadowSearchQuery(String resourceOid) throws SchemaException 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- Throws:
SchemaException
-
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()). -
matches
Returns true if this object type matches specified (non-null) kind and intent. -
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
Returns the synchronization reactions defined here. (They may be standalone.) -
getClassificationCondition
Temporary?
-