Interface ResourceObjectTypeDefinitionDelegator
- All Superinterfaces:
AbstractTypeDefinition,AssociationDefinitionStore,AttributeDefinitionStore,Cloneable,DebugDumpable,Definition,FrameworkNameResolver,Freezable,IdentifiersDefinitionStore,LayeredDefinition,LocalItemDefinitionStore,PrismLifecycleDefinition,PrismPresentationDefinition,ResourceObjectDefinition,ResourceObjectDefinitionDelegator,ResourceObjectInboundProcessingDefinition,ResourceObjectTypeDefinition,Revivable,SchemaLookup.Aware,Serializable,SmartVisitable<Definition>,TypeDefinition,Visitable<Definition>
public interface ResourceObjectTypeDefinitionDelegator
extends ResourceObjectDefinitionDelegator, ResourceObjectTypeDefinition
-
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.delegate()default @NotNull ResourceObjectTypeDefinitionforLayerMutable(@NotNull LayerType layer) Creates a layer-specific mutable version of this definition.default @NotNull Set<ResourceObjectTypeIdentification>Returns the identification of all ancestors.default @Nullable ObjectReferenceTypeArchetype reference - not present in standalone definitions.default @NotNull Collection<? extends ResourceObjectDefinition>TODO define semantics (it's different forCompositeObjectDefinitionand the others!default @Nullable ExpressionTypeTemporary?default <T extends CapabilityType>
TgetConfiguredCapability(Class<T> capabilityClass) Returns the configured capability of given class, if present.default @Nullable CorrelationDefinitionTypeReturns the correlation definition bean, if present here.default @Nullable QNameReturns the focus type name, if present here.default @NotNull StringIntent defining this object type (along withResourceObjectTypeDefinition.getKind()).default @NotNull ShadowKindTypegetKind()Kind of objects covered by this object type.default @Nullable CapabilityCollectionTypeReturns all configured capabilities, if present.default @NotNull Collection<? extends SynchronizationReactionDefinition.ObjectSynchronizationReactionDefinition>Returns the synchronization reactions defined here.default @NotNull ResourceObjectTypeDefinitionIs this definition bound to a specific resource type? If yes, this method returns its definition.default @NotNull ResourceObjectTypeIdentificationIs this definition bound to a specific resource type? If yes, this method returns its identification.default booleanReturns true if there is "synchronization reactions" definition section here (even if it's empty).default booleanisDefaultFor(@NotNull ShadowKindType kind) Returns true if this definition can be considered as a default for the specified kind.default booleanIs this type explicitly marked as the default object type for given kind? (using default or defaultForKind property).default booleanIs this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property).default @Nullable BooleanReturns the "synchronization enabled" flag value, if present here.default @Nullable BooleanReturns the "synchronization opportunistic" flag value, if present here.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, 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.schema.processor.deleg.ResourceObjectDefinitionDelegator
createBlankShadowWithTag, findAttributeDefinition, findAttributeDefinition, findSimpleAttributeDefinition, findSimpleAttributeDefinition, forLayerImmutable, getActivationSchemaHandling, getAuxiliaryObjectClassInboundMappings, getAuxiliaryObjectClassMappings, getBaseContext, getBasicResourceInformation, getConfiguredAuxiliaryObjectClassNames, getCorrelation, getCurrentLayer, getDebugDumpClassName, getDefaultInboundMappingEvaluationPhases, getDefinitionBean, getDelineation, getDescription, getDescriptionAttribute, getDescriptionAttributeName, getDisplayNameAttribute, getDisplayNameAttributeName, getEffectiveShadowCachingPolicy, getEnabledCapability, getFocusSpecification, getHumanReadableName, getItemInboundDefinitions, getLastLoginTimestampDefinition, getLifecycleState, getNamingAttributeName, getNativeObjectClassDefinition, getObjectClassDefinition, getObjectClassName, getObjectMultiplicity, getPasswordDefinition, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getPrismObjectDefinition, getProjectionPolicy, getReferenceAttributeDefinitions, getSearchHierarchyScope, getSecondaryIdentifiers, getSecondaryIdentifiersNames, getSecurityPolicyRef, getShadowMarkingRules, getShortIdentification, getSimpleAttributeDefinitions, getVolatility, hasAuxiliaryObjectClass, isPrimaryIdentifier, isSecondaryIdentifier, replaceAttributeDefinition, resolveFrameworkName, validateMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectTypeDefinition
getArchetypeOid, isThisOrDescendantOf, isThisOrDescendantOf, matches, matchesKindMethods 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
ResourceObjectTypeDefinition delegate()- Specified by:
delegatein interfaceResourceObjectDefinitionDelegator
-
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- Specified by:
createShadowSearchQueryin interfaceResourceObjectDefinitionDelegator- Specified by:
createShadowSearchQueryin interfaceResourceObjectTypeDefinition
-
getKind
Description copied from interface:ResourceObjectTypeDefinitionKind of objects covered by this object type.- Specified by:
getKindin interfaceResourceObjectTypeDefinition
-
getIntent
Description copied from interface:ResourceObjectTypeDefinitionIntent defining this object type (along withResourceObjectTypeDefinition.getKind()).- Specified by:
getIntentin interfaceResourceObjectTypeDefinition
-
getAncestorsIds
Description copied from interface:ResourceObjectTypeDefinitionReturns the identification of all ancestors. This type is not included in the list.- Specified by:
getAncestorsIdsin interfaceResourceObjectTypeDefinition
-
isDefaultForKind
default boolean isDefaultForKind()Description copied from interface:ResourceObjectTypeDefinitionIs this type explicitly marked as the default object type for given kind? (using default or defaultForKind property).- Specified by:
isDefaultForKindin interfaceResourceObjectTypeDefinition- See Also:
-
isDefaultForObjectClass
default boolean isDefaultForObjectClass()Description copied from interface:ResourceObjectTypeDefinitionIs this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property).- Specified by:
isDefaultForObjectClassin interfaceResourceObjectTypeDefinition- See Also:
-
forLayerMutable
@NotNull default @NotNull ResourceObjectTypeDefinition forLayerMutable(@NotNull @NotNull LayerType layer) Description copied from interface:ResourceObjectDefinitionCreates a layer-specific mutable version of this definition.- Specified by:
forLayerMutablein interfaceResourceObjectDefinition- Specified by:
forLayerMutablein interfaceResourceObjectDefinitionDelegator- Specified by:
forLayerMutablein interfaceResourceObjectTypeDefinition
-
getConfiguredCapability
Description copied from interface:ResourceObjectTypeDefinitionReturns the configured capability of given class, if present.- Specified by:
getConfiguredCapabilityin interfaceResourceObjectTypeDefinition
-
getSpecificCapabilities
Description copied from interface:ResourceObjectTypeDefinitionReturns all configured capabilities, if present.- Specified by:
getSpecificCapabilitiesin interfaceResourceObjectTypeDefinition
-
getCorrelationDefinitionBean
Description copied from interface:ResourceObjectTypeDefinitionReturns the correlation definition bean, if present here. (It may be standalone.)- Specified by:
getCorrelationDefinitionBeanin interfaceResourceObjectTypeDefinition
-
isSynchronizationEnabled
Description copied from interface:ResourceObjectTypeDefinitionReturns the "synchronization enabled" flag value, if present here. (It may be standalone.) FIXME- Specified by:
isSynchronizationEnabledin interfaceResourceObjectTypeDefinition
-
isSynchronizationOpportunistic
Description copied from interface:ResourceObjectTypeDefinitionReturns the "synchronization opportunistic" flag value, if present here. (It may be standalone.)- Specified by:
isSynchronizationOpportunisticin interfaceResourceObjectTypeDefinition
-
getFocusTypeName
Description copied from interface:ResourceObjectTypeDefinitionReturns the focus type name, if present here. (It may be standalone.)- Specified by:
getFocusTypeNamein interfaceResourceObjectTypeDefinition
-
getArchetypeRef
Description copied from interface:ResourceObjectTypeDefinitionArchetype reference - not present in standalone definitions.- Specified by:
getArchetypeRefin interfaceResourceObjectTypeDefinition
-
hasSynchronizationReactionsDefinition
default boolean hasSynchronizationReactionsDefinition()Description copied from interface:ResourceObjectTypeDefinitionReturns true if there is "synchronization reactions" definition section here (even if it's empty).- Specified by:
hasSynchronizationReactionsDefinitionin interfaceResourceObjectTypeDefinition
-
getSynchronizationReactions
@NotNull default @NotNull Collection<? extends SynchronizationReactionDefinition.ObjectSynchronizationReactionDefinition> getSynchronizationReactions()Description copied from interface:ResourceObjectTypeDefinitionReturns the synchronization reactions defined here. (They may be standalone.)- Specified by:
getSynchronizationReactionsin interfaceResourceObjectDefinitionDelegator- Specified by:
getSynchronizationReactionsin interfaceResourceObjectInboundProcessingDefinition- Specified by:
getSynchronizationReactionsin interfaceResourceObjectTypeDefinition
-
getClassificationCondition
Description copied from interface:ResourceObjectTypeDefinitionTemporary?- Specified by:
getClassificationConditionin interfaceResourceObjectTypeDefinition
-
getAuxiliaryDefinitions
Description copied from interface:ResourceObjectDefinitionTODO define semantics (it's different forCompositeObjectDefinitionand the others!- Specified by:
getAuxiliaryDefinitionsin 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- Specified by:
getTypeIdentificationin interfaceResourceObjectDefinitionDelegator- Specified by:
getTypeIdentificationin interfaceResourceObjectTypeDefinition
-
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- Specified by:
getTypeDefinitionin interfaceResourceObjectDefinitionDelegator- Specified by:
getTypeDefinitionin interfaceResourceObjectTypeDefinition
-
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- Specified by:
isDefaultForin interfaceResourceObjectDefinitionDelegator
-