Interface ResourceObjectTypeDefinitionDelegator
- All Superinterfaces:
AssociationDefinitionStore
,AttributeDefinitionStore
,Cloneable
,ComplexTypeDefinition
,ComplexTypeDefinitionDelegator
,DebugDumpable
,Definition
,DefinitionDelegator
,Freezable
,IdentifiersDefinitionStore
,LayeredDefinition
,LocalItemDefinitionStore
,PrismContextSensitive
,ResourceObjectDefinition
,ResourceObjectDefinitionDelegator
,ResourceObjectTypeDefinition
,Revivable
,Serializable
,SmartVisitable<Definition>
,TypeDefinition
,TypeDefinitionDelegator
,Visitable<Definition>
public interface ResourceObjectTypeDefinitionDelegator
extends ResourceObjectDefinitionDelegator, ResourceObjectTypeDefinition
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull ObjectQuery
createShadowSearchQuery
(String resourceOid) Creates a query for obtaining shadows related to this object class or object type.delegate()
default @NotNull ResourceObjectTypeDefinition
forLayerMutable
(@NotNull LayerType layer) Creates a layer-specific mutable version of this definition.default @Nullable ObjectReferenceType
Archetype reference - not present in standalone definitions.default @NotNull Collection<ResourceObjectDefinition>
TODO define semantics (it's different forCompositeObjectDefinition
and the others!default @Nullable ExpressionType
Temporary?default <T extends CapabilityType>
TgetConfiguredCapability
(Class<T> capabilityClass) Returns the configured capability of given class, if present.default @Nullable CorrelationDefinitionType
Returns the correlation definition bean, if present here.default @Nullable QName
Returns the focus type name, if present here.default @NotNull String
Intent defining this object type (along withResourceObjectTypeDefinition.getKind()
).default @NotNull ShadowKindType
getKind()
Kind of objects covered by this object type.default @NotNull Collection<SynchronizationReactionDefinition>
Returns the synchronization reactions defined here.default @NotNull ResourceObjectTypeDefinition
Is this definition bound to a specific resource type? If yes, this method returns its definition.default @NotNull ResourceObjectTypeIdentification
Is this definition bound to a specific resource type? If yes, this method returns its identification.default boolean
Returns true if there is "synchronization reactions" definition section here (even if it's empty).default ResourceAttributeContainer
instantiate
(ItemName elementName) Creates aResourceAttributeContainer
instance with this definition as its complex type definition.default boolean
isDefaultFor
(@NotNull ShadowKindType kind) Returns true if this definition can be considered as a default for the specified kind.default boolean
Is this type explicitly marked as the default object type for given kind? (using default or defaultForKind property).default boolean
Is this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property).default @Nullable Boolean
Returns the "synchronization enabled" flag value, if present here.default @Nullable Boolean
Returns the "synchronization opportunistic" flag value, if present here.Methods inherited from interface com.evolveum.midpoint.schema.processor.AssociationDefinitionStore
findAssociationDefinition, findAssociationDefinitionRequired, getAssociationDefinitions, getNamesOfAssociations, getNamesOfAssociationsWithInboundExpressions, getNamesOfAssociationsWithOutboundExpressions
Methods inherited from interface com.evolveum.midpoint.schema.processor.AttributeDefinitionStore
containsAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, getAttributeDefinitions, getNamesOfAttributesWithInboundExpressions, getNamesOfAttributesWithOutboundExpressions, hasIndexOnlyAttributes, propertyToAttribute
Methods inherited from interface com.evolveum.midpoint.prism.ComplexTypeDefinition
getXmlAttributeDefinitions, hasSubstitutions, isItemDefinitionRemoved, isStrictAnyMarker, toMutable
Methods inherited from interface com.evolveum.midpoint.prism.deleg.ComplexTypeDefinitionDelegator
findContainerDefinition, findItemDefinition, findItemDefinition, findReferenceDefinition, getDefaultNamespace, getDefinitions, getDiagrams, getExtensionForType, getIgnoredNamespaces, hasOperationalOnlyItems, hasSubstitutions, isContainerMarker, isEmpty, isListMarker, isObjectMarker, isReferenceMarker, isXsdAnyMarker, itemOrSubstitution, merge, substitution, trimTo
Methods inherited from interface com.evolveum.midpoint.prism.deleg.DefinitionDelegator
accept, accept, debugDump, debugDump, debugDump, debugDumpLazily, debugDumpLazily, getAnnotation, getAnnotations, getDeprecatedSince, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, getMutabilityFlag, getPlannedRemoval, getPrismContext, getProcessing, getRemovedSince, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, isRemoved, isRuntimeSchema, setAnnotation
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getPrimaryIdentifierRequired, isIdentifier
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectDefinition
clone, deepClone, getActivationBidirectionalMappingType, getActivationFetchStrategy, getPasswordFetchStrategy, getPasswordInbound, getPasswordOutbound, matchesObjectClassName, replaceDefinition
Methods inherited from interface com.evolveum.midpoint.schema.processor.deleg.ResourceObjectDefinitionDelegator
createBlankShadow, findAttributeDefinition, findAttributeDefinition, forLayerImmutable, getActivationSchemaHandling, getAssociationDefinitions, getAttributeDefinitions, getAuxiliaryObjectClassMappings, getBaseContext, getConfiguredAuxiliaryObjectClassNames, getCurrentLayer, getDebugDumpClassName, getDefaultInboundMappingEvaluationPhases, getDefinitionBean, getDelineation, getDescription, getDescriptionAttribute, getDescriptionAttributeName, getDisplayNameAttribute, getDisplayNameAttributeName, getEnabledCapability, getHumanReadableName, getLifecycleState, getNamingAttribute, getNamingAttributeName, getObjectClassDefinition, getObjectClassName, getObjectMultiplicity, getPasswordDefinition, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getPrismObjectDefinition, getProjectionPolicy, getProtectedObjectPatterns, getRawObjectClassDefinition, getResourceOid, getSearchHierarchyScope, getSecondaryIdentifiers, getSecondaryIdentifiersNames, getSecurityPolicyRef, getVolatility, hasAuxiliaryObjectClass, isPrimaryIdentifier, isSecondaryIdentifier, replaceDefinition, toResourceAttributeContainerDefinition, toResourceAttributeContainerDefinition, validate
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectTypeDefinition
getArchetypeOid, matches, matchesKind
Methods inherited from interface com.evolveum.midpoint.prism.TypeDefinition
isAssignableFrom
Methods inherited from interface com.evolveum.midpoint.prism.deleg.TypeDefinitionDelegator
canRepresent, getCompileTimeClass, getInstantiationOrder, getStaticSubTypes, getSuperType
-
Method Details
-
delegate
ResourceObjectTypeDefinition delegate()- Specified by:
delegate
in interfaceComplexTypeDefinitionDelegator
- Specified by:
delegate
in interfaceDefinitionDelegator
- Specified by:
delegate
in interfaceResourceObjectDefinitionDelegator
- Specified by:
delegate
in interfaceTypeDefinitionDelegator
-
createShadowSearchQuery
@NotNull default @NotNull ObjectQuery createShadowSearchQuery(String resourceOid) throws SchemaException Description copied from interface:ResourceObjectDefinition
Creates 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:
createShadowSearchQuery
in interfaceResourceObjectDefinition
- Specified by:
createShadowSearchQuery
in interfaceResourceObjectDefinitionDelegator
- Specified by:
createShadowSearchQuery
in interfaceResourceObjectTypeDefinition
- Throws:
SchemaException
-
getKind
Description copied from interface:ResourceObjectTypeDefinition
Kind of objects covered by this object type.- Specified by:
getKind
in interfaceResourceObjectTypeDefinition
-
getIntent
Description copied from interface:ResourceObjectTypeDefinition
Intent defining this object type (along withResourceObjectTypeDefinition.getKind()
).- Specified by:
getIntent
in interfaceResourceObjectTypeDefinition
-
isDefaultForKind
default boolean isDefaultForKind()Description copied from interface:ResourceObjectTypeDefinition
Is this type explicitly marked as the default object type for given kind? (using default or defaultForKind property).- Specified by:
isDefaultForKind
in interfaceResourceObjectTypeDefinition
- See Also:
-
isDefaultForObjectClass
default boolean isDefaultForObjectClass()Description copied from interface:ResourceObjectTypeDefinition
Is this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property).- Specified by:
isDefaultForObjectClass
in interfaceResourceObjectTypeDefinition
- See Also:
-
forLayerMutable
@NotNull default @NotNull ResourceObjectTypeDefinition forLayerMutable(@NotNull @NotNull LayerType layer) Description copied from interface:ResourceObjectDefinition
Creates a layer-specific mutable version of this definition.- Specified by:
forLayerMutable
in interfaceResourceObjectDefinition
- Specified by:
forLayerMutable
in interfaceResourceObjectDefinitionDelegator
- Specified by:
forLayerMutable
in interfaceResourceObjectTypeDefinition
-
getConfiguredCapability
Description copied from interface:ResourceObjectTypeDefinition
Returns the configured capability of given class, if present.- Specified by:
getConfiguredCapability
in interfaceResourceObjectTypeDefinition
-
getCorrelationDefinitionBean
Description copied from interface:ResourceObjectTypeDefinition
Returns the correlation definition bean, if present here. (It may be standalone.)- Specified by:
getCorrelationDefinitionBean
in interfaceResourceObjectTypeDefinition
-
isSynchronizationEnabled
Description copied from interface:ResourceObjectTypeDefinition
Returns the "synchronization enabled" flag value, if present here. (It may be standalone.) FIXME- Specified by:
isSynchronizationEnabled
in interfaceResourceObjectTypeDefinition
-
isSynchronizationOpportunistic
Description copied from interface:ResourceObjectTypeDefinition
Returns the "synchronization opportunistic" flag value, if present here. (It may be standalone.)- Specified by:
isSynchronizationOpportunistic
in interfaceResourceObjectTypeDefinition
-
getFocusTypeName
Description copied from interface:ResourceObjectTypeDefinition
Returns the focus type name, if present here. (It may be standalone.)- Specified by:
getFocusTypeName
in interfaceResourceObjectTypeDefinition
-
getArchetypeRef
Description copied from interface:ResourceObjectTypeDefinition
Archetype reference - not present in standalone definitions.- Specified by:
getArchetypeRef
in interfaceResourceObjectTypeDefinition
-
hasSynchronizationReactionsDefinition
default boolean hasSynchronizationReactionsDefinition()Description copied from interface:ResourceObjectTypeDefinition
Returns true if there is "synchronization reactions" definition section here (even if it's empty).- Specified by:
hasSynchronizationReactionsDefinition
in interfaceResourceObjectTypeDefinition
-
getSynchronizationReactions
@NotNull default @NotNull Collection<SynchronizationReactionDefinition> getSynchronizationReactions()Description copied from interface:ResourceObjectTypeDefinition
Returns the synchronization reactions defined here. (They may be standalone.)- Specified by:
getSynchronizationReactions
in interfaceResourceObjectTypeDefinition
-
getClassificationCondition
Description copied from interface:ResourceObjectTypeDefinition
Temporary?- Specified by:
getClassificationCondition
in interfaceResourceObjectTypeDefinition
-
getAuxiliaryDefinitions
Description copied from interface:ResourceObjectDefinition
TODO define semantics (it's different forCompositeObjectDefinition
and the others!- Specified by:
getAuxiliaryDefinitions
in interfaceResourceObjectDefinition
-
instantiate
Description copied from interface:ResourceObjectDefinition
Creates aResourceAttributeContainer
instance with this definition as its complex type definition.- Specified by:
instantiate
in interfaceResourceObjectDefinition
-
getTypeIdentification
Description copied from interface:ResourceObjectDefinition
Is this definition bound to a specific resource type? If yes, this method returns its identification.- Specified by:
getTypeIdentification
in interfaceResourceObjectDefinition
- Specified by:
getTypeIdentification
in interfaceResourceObjectDefinitionDelegator
- Specified by:
getTypeIdentification
in interfaceResourceObjectTypeDefinition
-
getTypeDefinition
Description copied from interface:ResourceObjectDefinition
Is this definition bound to a specific resource type? If yes, this method returns its definition.- Specified by:
getTypeDefinition
in interfaceResourceObjectDefinition
- Specified by:
getTypeDefinition
in interfaceResourceObjectDefinitionDelegator
- Specified by:
getTypeDefinition
in interfaceResourceObjectTypeDefinition
-
isDefaultFor
Description copied from interface:ResourceObjectDefinition
Returns 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 ofResourceObjectClassDefinition
withResourceObjectClassDefinition.isDefaultAccountDefinition()
being `true`. It is considered to be the default forShadowKindType.ACCOUNT
. Use with care!- Specified by:
isDefaultFor
in interfaceResourceObjectDefinition
- Specified by:
isDefaultFor
in interfaceResourceObjectDefinitionDelegator
-