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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull ObjectQuerycreateShadowSearchQuery(String resourceOid)Creates a query for obtaining shadows related to this object class or object type.ResourceObjectTypeDefinitiondelegate()default ResourceObjectTypeDefinitionforLayer(@NotNull LayerType layerType)Creates a layer-specific version of this definition.default @Nullable ObjectReferenceTypegetArchetypeRef()Archetype reference - not present in standalone definitions.default @NotNull Collection<ResourceObjectDefinition>getAuxiliaryDefinitions()TODO define semantics (it's different forCompositeObjectDefinitionand the others!default @Nullable ExpressionTypegetClassificationCondition()Temporary?default <T extends CapabilityType>
TgetConfiguredCapability(Class<T> capabilityClass)Returns the configured capability of given class, if present.default @Nullable CorrelationDefinitionTypegetCorrelationDefinitionBean()Returns the correlation definition bean, if present here.default @Nullable QNamegetFocusTypeName()Returns the focus type name, if present here.default @NotNull StringgetIntent()Intent defining this object type (along withResourceObjectTypeDefinition.getKind()).default @NotNull ShadowKindTypegetKind()Kind of objects covered by this object type.default @NotNull Collection<SynchronizationReactionDefinition>getSynchronizationReactions()Returns the synchronization reactions defined here.default @NotNull ResourceObjectTypeDefinitiongetTypeDefinition()Is this definition bound to a specific resource type? If yes, this method returns its definition.default @NotNull ResourceObjectTypeIdentificationgetTypeIdentification()Is this definition bound to a specific resource type? If yes, this method returns its identification.default booleanhasSynchronizationReactionsDefinition()Returns true if there is "synchronization reactions" definition section here (even if it's empty).default ResourceAttributeContainerinstantiate(ItemName elementName)Creates aResourceAttributeContainerinstance with this definition as its complex type definition.default booleanisDefaultFor(@NotNull ShadowKindType kind)Returns true if this definition can be considered as a default for the specified kind.default booleanisDefaultForKind()Is this type explicitly marked as the default object type for given kind? (using default or defaultForKind property).default booleanisDefaultForObjectClass()Is this type explicitly marked as the default object type for given object class? (using default or defaultForObjectClass property).default @Nullable BooleanisSynchronizationEnabled()Returns the "synchronization enabled" flag value, if present here.default @Nullable BooleanisSynchronizationOpportunistic()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
-
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, getSchemaMigrations, getSchemaRegistry, getTypeClass, getTypeName, isAbstract, isDeprecated, isElaborate, isEmphasized, isExperimental, isIgnored, 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, 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 Detail
-
delegate
ResourceObjectTypeDefinition delegate()
- Specified by:
delegatein interfaceComplexTypeDefinitionDelegator- Specified by:
delegatein interfaceDefinitionDelegator- Specified by:
delegatein interfaceResourceObjectDefinitionDelegator- Specified by:
delegatein interfaceTypeDefinitionDelegator
-
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- Specified by:
createShadowSearchQueryin interfaceResourceObjectDefinitionDelegator- Specified by:
createShadowSearchQueryin interfaceResourceObjectTypeDefinition- Throws:
SchemaException
-
getKind
@NotNull default @NotNull ShadowKindType getKind()
Description copied from interface:ResourceObjectTypeDefinitionKind of objects covered by this object type.- Specified by:
getKindin interfaceResourceObjectTypeDefinition
-
getIntent
@NotNull default @NotNull String getIntent()
Description copied from interface:ResourceObjectTypeDefinitionIntent defining this object type (along withResourceObjectTypeDefinition.getKind()).- Specified by:
getIntentin 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:
ResourceObjectTypeDefinitionType.isDefaultForKind(),ResourceObjectTypeDefinitionType.isDefault()
-
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:
ResourceObjectTypeDefinitionType.isDefaultForObjectClass(),ResourceObjectTypeDefinitionType.isDefault()
-
forLayer
default ResourceObjectTypeDefinition forLayer(@NotNull @NotNull LayerType layerType)
Description copied from interface:ResourceObjectDefinitionCreates a layer-specific version of this definition.- Specified by:
forLayerin interfaceResourceObjectDefinition- Specified by:
forLayerin interfaceResourceObjectDefinitionDelegator- Specified by:
forLayerin interfaceResourceObjectTypeDefinition
-
getConfiguredCapability
@Nullable default <T extends CapabilityType> T getConfiguredCapability(Class<T> capabilityClass)
Description copied from interface:ResourceObjectTypeDefinitionReturns the configured capability of given class, if present.- Specified by:
getConfiguredCapabilityin interfaceResourceObjectTypeDefinition
-
getCorrelationDefinitionBean
@Nullable default @Nullable CorrelationDefinitionType getCorrelationDefinitionBean()
Description copied from interface:ResourceObjectTypeDefinitionReturns the correlation definition bean, if present here. (It may be standalone.)- Specified by:
getCorrelationDefinitionBeanin interfaceResourceObjectTypeDefinition
-
isSynchronizationEnabled
@Nullable default @Nullable Boolean isSynchronizationEnabled()
Description copied from interface:ResourceObjectTypeDefinitionReturns the "synchronization enabled" flag value, if present here. (It may be standalone.) FIXME- Specified by:
isSynchronizationEnabledin interfaceResourceObjectTypeDefinition
-
isSynchronizationOpportunistic
@Nullable default @Nullable Boolean isSynchronizationOpportunistic()
Description copied from interface:ResourceObjectTypeDefinitionReturns the "synchronization opportunistic" flag value, if present here. (It may be standalone.)- Specified by:
isSynchronizationOpportunisticin interfaceResourceObjectTypeDefinition
-
getFocusTypeName
@Nullable default @Nullable QName getFocusTypeName()
Description copied from interface:ResourceObjectTypeDefinitionReturns the focus type name, if present here. (It may be standalone.)- Specified by:
getFocusTypeNamein interfaceResourceObjectTypeDefinition
-
getArchetypeRef
@Nullable default @Nullable ObjectReferenceType 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<SynchronizationReactionDefinition> getSynchronizationReactions()
Description copied from interface:ResourceObjectTypeDefinitionReturns the synchronization reactions defined here. (They may be standalone.)- Specified by:
getSynchronizationReactionsin interfaceResourceObjectTypeDefinition
-
getClassificationCondition
@Nullable default @Nullable ExpressionType getClassificationCondition()
Description copied from interface:ResourceObjectTypeDefinitionTemporary?- Specified by:
getClassificationConditionin interfaceResourceObjectTypeDefinition
-
getAuxiliaryDefinitions
@NotNull default @NotNull Collection<ResourceObjectDefinition> getAuxiliaryDefinitions()
Description copied from interface:ResourceObjectDefinitionTODO define semantics (it's different forCompositeObjectDefinitionand the others!- Specified by:
getAuxiliaryDefinitionsin interfaceResourceObjectDefinition
-
instantiate
default ResourceAttributeContainer instantiate(ItemName elementName)
Description copied from interface:ResourceObjectDefinitionCreates aResourceAttributeContainerinstance with this definition as its complex type definition.- Specified by:
instantiatein interfaceResourceObjectDefinition
-
getTypeIdentification
@NotNull default @NotNull ResourceObjectTypeIdentification 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
@NotNull default @NotNull ResourceObjectTypeDefinition 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
default boolean isDefaultFor(@NotNull @NotNull ShadowKindType kind)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
-
-