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 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 @Nullable ObjectReferenceTypeArchetype reference - not present in standalone definitions.default @NotNull Collection<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<SynchronizationReactionDefinition>Returns the synchronization reactions defined here.default @NotNull ResourceObjectTypeDefinitionIs this definition bound to a specific resource type?default @NotNull ResourceObjectTypeIdentificationIs this definition bound to a specific resource type?default booleanReturns 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 booleanIs this type explicitly marked as the default object type for given kind?default booleanIs this type explicitly marked as the default object type for given object class?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.schema.processor.AssociationDefinitionStore
findAssociationDefinition, findAssociationDefinitionRequired, getAssociationDefinitions, getNamesOfAssociations, getNamesOfAssociationsWithInboundExpressions, getNamesOfAssociationsWithOutboundExpressionsMethods inherited from interface com.evolveum.midpoint.schema.processor.AttributeDefinitionStore
containsAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, getAttributeDefinitions, getNamesOfAttributesWithInboundExpressions, getNamesOfAttributesWithOutboundExpressions, hasIndexOnlyAttributes, propertyToAttributeMethods inherited from interface com.evolveum.midpoint.prism.ComplexTypeDefinition
getXmlAttributeDefinitions, hasSubstitutions, isItemDefinitionRemoved, isStrictAnyMarker, toMutableMethods 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, trimToMethods 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, setAnnotationMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getPrimaryIdentifierRequired, isIdentifierMethods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinitionMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectDefinition
clone, deepClone, getActivationBidirectionalMappingType, getActivationFetchStrategy, getPasswordFetchStrategy, getPasswordInbound, getPasswordOutbound, matchesObjectClassName, replaceDefinitionMethods 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, validateMethods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectTypeDefinition
getArchetypeOid, matches, matchesKindMethods inherited from interface com.evolveum.midpoint.prism.TypeDefinition
isAssignableFromMethods inherited from interface com.evolveum.midpoint.prism.deleg.TypeDefinitionDelegator
canRepresent, getCompileTimeClass, getInstantiationOrder, getStaticSubTypes, getSuperType
-
Method Details
-
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
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
-
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<SynchronizationReactionDefinition> getSynchronizationReactions()Description copied from interface:ResourceObjectTypeDefinitionReturns the synchronization reactions defined here. (They may be standalone.)- 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
-
instantiate
Description copied from interface:ResourceObjectDefinitionCreates aResourceAttributeContainerinstance with this definition as its complex type definition.- Specified by:
instantiatein 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
-