Interface ResourceObjectDefinition
- All Superinterfaces:
AbstractTypeDefinition,AssociationDefinitionStore,AttributeDefinitionStore,Cloneable,DebugDumpable,Definition,FrameworkNameResolver,Freezable,IdentifiersDefinitionStore,LayeredDefinition,LocalItemDefinitionStore,PrismLifecycleDefinition,PrismPresentationDefinition,ResourceObjectInboundProcessingDefinition,Revivable,SchemaLookup.Aware,Serializable,SmartVisitable<Definition>,TypeDefinition,Visitable<Definition>
- All Known Subinterfaces:
CompositeObjectDefinition,CompositeObjectDefinitionDelegator,ResourceObjectClassDefinition,ResourceObjectClassDefinitionDelegator,ResourceObjectDefinitionDelegator,ResourceObjectTypeDefinition,ResourceObjectTypeDefinitionDelegator
- All Known Implementing Classes:
AbstractResourceObjectDefinitionImpl,CompositeObjectDefinitionImpl,ResourceObjectClassDefinitionImpl,ResourceObjectTypeDefinitionImpl
public interface ResourceObjectDefinition
extends IdentifiersDefinitionStore, AttributeDefinitionStore, AssociationDefinitionStore, LayeredDefinition, FrameworkNameResolver, ResourceObjectInboundProcessingDefinition, TypeDefinition
A definition that describes either an object class (as fetched from the resource, optionally refined by `schemaHandling`),
or an object type (as defined in `schemaHandling` part of resource definition).
Since 4.9, it is no longer a
ComplexTypeDefinition; see ShadowItemsComplexTypeDefinition for explanation.
ResourceObjectDefinition
^
|
+------------------+-------------------+
| |
ResourceObjectClassDefinition 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 booleandefault booleanReturns `true` if the caching is turned on, but only because of the legacy configuration.default voidstatic voidassertAttached(ResourceObjectDefinition resourceObjectDefinition) default booleancanRepresent(QName typeName) @NotNull ResourceObjectDefinitionclone()Returns a mutable definition.default @NotNull ResourceObjectDefinitioncomposite(Collection<? extends ResourceObjectDefinition> auxiliaryDefinitions) default AbstractShadowCreates a blank, empty shadow.default AbstractShadowcreateBlankShadowWithPrimaryId(@NotNull Object primaryIdentifierValue) AscreateBlankShadow()but with the specified primary identifier.default AbstractShadowAscreateBlankShadow()but having the correct resource OID, kind/intent (if applicable), and tag set.createPrimaryIdentification(@NotNull Object identifierRealValue) @NotNull ObjectQuerycreateShadowSearchQuery(String resourceOid) Creates a query for obtaining shadows related to this object class or object type.@NotNull ResourceObjectDefinitiondeepClone(@NotNull DeepCloneOperation operation) Returns a mutable definition.@NotNull ResourceObjectDefinitionforLayerImmutable(@NotNull LayerType layer) AsforLayerMutable(LayerType)but returns immutable definition.@NotNull ResourceObjectDefinitionforLayerMutable(@NotNull LayerType layer) Creates a layer-specific mutable version of this definition.default ResourceBidirectionalMappingTypeTODO Rarely used, consider removing from the interfacedefault @Nullable AttributeFetchStrategyTypegetActivationFetchStrategy(ItemName itemName) TODO Rarely used, consider removing from the interfacedefault @NotNull List<MappingType>getActivationInboundMappings(ItemName itemName) Returns the inbound mappings for given activation item (administrativeStatus, validFrom, validTo, ...).default Collection<? extends ShadowAssociationDefinition>getAssociationDefinitionsFor(@NotNull ItemName refAttrName) default @NotNull ShadowAssociationsComplexTypeDefinitiondefault @NotNull ShadowAttributesComplexTypeDefinition@NotNull Collection<ShadowAttributeDefinition<?,?, ?, ?>> @NotNull Collection<ShadowAttributeDefinition<?,?, ?, ?>> @NotNull Collection<? extends ResourceObjectDefinition>TODO define semantics (it's different forCompositeObjectDefinitionand the others!default @Nullable QNamegetAuxiliaryObjectClassNameForAttribute(@NotNull QName attrName) Returns the name of the auxiliary object class where given attribute is defined.The definition of base context (resource object container).@NotNull BasicResourceInformationThe basic information about the resource (like name, OID, selected configuration beans).default @Nullable Class<?>Returns compile-time class, if this type has any.@NotNull Collection<QName>Returns the names of auxiliary object classes that are "statically" defined for this object type (or object class, in the future).Return a human readable name of this class suitable for logs.Returns the phases in which inbound mappings are evaluated by default.default @Nullable StringgetDefaultOperationPolicyOid(@NotNull TaskExecutionMode mode) @NotNull ResourceObjectTypeDefinitionTypeReturns the configuration bean for this object type or class.@NotNull ResourceObjectTypeDelineationReturns the delineation of the set of objects belonging to this object type.Free-form textual description of the object.default @Nullable ShadowSimpleAttributeDefinition<?>Returns the definition of description attribute of a resource object.@Nullable QNameReturns name of the description attribute.default ShadowSimpleAttributeDefinition<?>Returns the definition of display name attribute.@Nullable QNameReturns name of the display name attribute.@NotNull ShadowCachingPolicyTypeReturns shadow caching policy determined by the application of resource-level definitions down to the specific object type/class definition (using bean merging).<T extends CapabilityType>
TgetEnabledCapability(@NotNull Class<T> capabilityClass, ResourceType resource) Checks the presence of capability in: 1.TODOdefault @NotNull ResourceObjectDefinitionIdentificationdefault Integer@Nullable ResourceLastLoginTimestampDefinitionTypedefault @Nullable AttributeFetchStrategyType@Nullable StringWhat lifecycle state is the (refined) object class or object type definition? Raw object class definition should always return `null` here.default @Nullable ShadowSimpleAttributeDefinition<?>Returns the attribute used as a visible name of the resource object.@Nullable QNameReturns name of the naming attribute.@NotNull NativeObjectClassDefinitionReturns the [structural] native object class definition, typically obtained from the connector.@NotNull ResourceObjectClassDefinitionReturns the [structural] object class definition.default @NotNull String@NotNull QNameReturns the name of the object class.@Nullable ResourcePasswordDefinitionTypedefault @Nullable AttributeFetchStrategyTypeTODO Rarely used, consider removing from the interfacedefault @NotNull List<MappingType>Returns inbound mappings for the password.default @NotNull List<MappingType>Returns a prism definition for the prism object/objects carrying the resource object/objects.default @NotNull List<? extends ShadowReferenceAttributeDefinition>Returns definitions of all associations as an unmodifiable collection.default @NotNull ShadowAttributesComplexTypeDefinitiondefault StringThe resource OID, if known.Definition of search hierarchy scope.@NotNull ShadowMarkingRulesReturns compiled patterns denoting protected objects or other kinds of marks.@NotNull StringVery short identification, like the object class local name or the kind/intent pair.default @NotNull ShadowAttributesComplexTypeDefinitiondefault @NotNull Collection<TypeDefinition>Subtypes - but only these that are a part of the static schema.default @Nullable QNameName of super type of this complex type definition.@Nullable ResourceObjectTypeDefinitionIs this definition bound to a specific resource type? If yes, this method returns its definition.@Nullable ResourceObjectTypeIdentificationIs this definition bound to a specific resource type? If yes, this method returns its identification.@NotNull ResourceObjectVolatilityTypeSpecifies volatility of this type of resource objects, i.e.booleanhasAuxiliaryObjectClass(QName expectedObjectClassName) TODO define semantics (it's different forCompositeObjectDefinitionand the others!default booleandefault booleandefault booleanbooleanisDefaultFor(@NotNull ShadowKindType kind) Returns true if this definition can be considered as a default for the specified kind.default booleanisEffectivelyCached(ItemPath itemPath) default booleanmatchesObjectClassName(@Nullable QName name) Returns true if the type definition matches specified object class name.default @NotNull S_FilterEntryOrEmptyqueryFor()default voidreplaceAttributeDefinition(@NotNull ItemDefinition<?> newDefinition) voidreplaceAttributeDefinition(@NotNull QName itemName, @Nullable ItemDefinition<?> newDefinition) Replaces a definition for given item name with a provided one.default booleandefault @NotNull PrismObjectDefinition<ShadowType>CallgetPrismObjectDefinition()for the cached version.default @NotNull ShadowAssociationsContainerDefinitiondefault @NotNull ShadowAttributesContainerDefinitionCreatesShadowAttributesContainerDefinitionwith this definition as a complex type definition.voidtrimAttributesTo(@NotNull Collection<ItemPath> paths) voidvalidate()Executes some basic checks on this object type.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, findAttributeDefinition, findAttributeDefinition, findAttributeDefinitionRequired, findAttributeDefinitionRequired, findAttributeDefinitionStrictlyRequired, findAttributeDefinitionStrictlyRequired, findReferenceAttributeDefinitionRequired, findReferenceAttributeDefinitionRequired, findShadowAttributeDefinitionRequired, findSimpleAttributeDefinition, findSimpleAttributeDefinition, findSimpleAttributeDefinition, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionRequired, findSimpleAttributeDefinitionStrictlyRequired, findSimpleAttributeDefinitionStrictlyRequired, getAllSimpleAttributesNames, getAttributeDefinitions, getAttributeDefinitions, getAttributeNames, getReferenceAttributesNames, getSimpleAttributeDefinitions, 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.schema.processor.FrameworkNameResolver
resolveFrameworkNameMethods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutableMethods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getAllIdentifiersNames, getPrimaryIdentifierRequired, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getSecondaryIdentifierRequired, 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, 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.ResourceObjectInboundProcessingDefinition
getAuxiliaryObjectClassInboundMappings, getCorrelation, getFocusSpecification, getItemInboundDefinitions, getSynchronizationReactionsMethods 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
-
getBasicResourceInformation
The basic information about the resource (like name, OID, selected configuration beans). Replaces the hard-coded resource OID; necessary also for determination of default values for some features, e.g., shadow caching, and useful for diagnostics. -
getResourceOid
The resource OID, if known. -
getObjectClassDefinition
Returns the [structural] object class definition. -
getNativeObjectClassDefinition
Returns the [structural] native object class definition, typically obtained from the connector. -
getObjectClassName
Returns the name of the object class. Always fully qualified; currently with theSchemaConstants.NS_RInamespace. -
getObjectClassLocalName
-
getConfiguredAuxiliaryObjectClassNames
Returns the names of auxiliary object classes that are "statically" defined for this object type (or object class, in the future). For dynamically composed definitions (CompositeObjectDefinitiononly the statically-defined ones (i.e. those from the structural definition) are returned. -
getAuxiliaryDefinitions
TODO define semantics (it's different forCompositeObjectDefinitionand the others! -
hasAuxiliaryObjectClass
TODO define semantics (it's different forCompositeObjectDefinitionand the others! -
getDescription
String getDescription()Free-form textual description of the object. It is supposed to describe the object or a construct that it is attached to. -
getDescriptionAttribute
Returns the definition of description attribute of a resource object. Returns null if there is no description attribute. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing. NOTE: Currently seems to be not used. (Neither not set nor used.) -
getDescriptionAttributeName
Returns name of the description attribute.- See Also:
-
getNamingAttribute
Returns the attribute used as a visible name of the resource object. -
getNamingAttributeName
Returns name of the naming attribute.- See Also:
-
getDisplayNameAttribute
Returns the definition of display name attribute. Display name attribute specifies which resource attribute should be used as title when displaying objects of a specific resource object class. It must point to an attribute of String type. If not present, primary identifier should be used instead (but this method does not handle this default behavior). Returns null if there is no display name attribute. The exception should be never thrown unless there is some bug in the code. The validation of model consistency should be done at the time of schema parsing. NOTE: Currently seems to be not used. (Neither not set nor used.) -
getDisplayNameAttributeName
Returns name of the display name attribute. -
getDelineation
Returns the delineation of the set of objects belonging to this object type. Note that this tells only about information stored right in the definition bean, i.e. legacy configuration is not provided here. The complete picture is provided bySynchronizationPolicy.getDelineation(). -
getBaseContext
ResourceObjectReferenceType getBaseContext()The definition of base context (resource object container). This object will be used as a base for searches for objects of this type. -
getSearchHierarchyScope
SearchHierarchyScope getSearchHierarchyScope()Definition of search hierarchy scope. It specifies how "deep" the search should go into the object hierarchy. -
getShadowMarkingRules
Returns compiled patterns denoting protected objects or other kinds of marks. Use only in the parsed state. -
getAuxiliaryObjectClassMappings
ResourceBidirectionalMappingAndDefinitionType getAuxiliaryObjectClassMappings() -
getSecurityPolicyRef
ObjectReferenceType getSecurityPolicyRef() -
getObjectMultiplicity
ResourceObjectMultiplicityType getObjectMultiplicity() -
getProjectionPolicy
ProjectionPolicyType getProjectionPolicy() -
getPasswordDefinition
-
getLastLoginTimestampDefinition
-
getPasswordFetchStrategy
TODO Rarely used, consider removing from the interface -
getPasswordInboundMappings
Description copied from interface:ResourceObjectInboundProcessingDefinitionReturns inbound mappings for the password.- Specified by:
getPasswordInboundMappingsin interfaceResourceObjectInboundProcessingDefinition
-
getPasswordOutboundMappings
-
getActivationSchemaHandling
ResourceActivationDefinitionType getActivationSchemaHandling() -
getActivationBidirectionalMappingType
TODO Rarely used, consider removing from the interface -
getActivationInboundMappings
Description copied from interface:ResourceObjectInboundProcessingDefinitionReturns the inbound mappings for given activation item (administrativeStatus, validFrom, validTo, ...).- Specified by:
getActivationInboundMappingsin interfaceResourceObjectInboundProcessingDefinition
-
getActivationFetchStrategy
@Nullable default @Nullable AttributeFetchStrategyType getActivationFetchStrategy(ItemName itemName) TODO Rarely used, consider removing from the interface -
getLastLoginTimestampFetchStrategy
-
getVolatility
Specifies volatility of this type of resource objects, i.e. whether such an object can change when midPoint is not looking. -
getDefaultInboundMappingEvaluationPhases
@Nullable @Nullable DefaultInboundMappingEvaluationPhasesType getDefaultInboundMappingEvaluationPhases()Returns the phases in which inbound mappings are evaluated by default.- Specified by:
getDefaultInboundMappingEvaluationPhasesin interfaceResourceObjectInboundProcessingDefinition- See Also:
-
getLifecycleState
What lifecycle state is the (refined) object class or object type definition? Raw object class definition should always return `null` here. -
createShadowSearchQuery
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. -
createBlankShadow
Creates a blank, empty shadow. It contains only the object class name and resource OID. Kind/intent are NOT set, because the definition may be a "default type definition for given object class" (which is sadly still supported, MID-10309); and we do not want to create typed shadows in such cases.ShadowBuilder.withDefinition(ResourceObjectDefinition)provides kind and intent. -
createBlankShadowWithPrimaryId
default AbstractShadow createBlankShadowWithPrimaryId(@NotNull @NotNull Object primaryIdentifierValue) throws SchemaException AscreateBlankShadow()but with the specified primary identifier.- Throws:
SchemaException
-
createBlankShadowWithTag
AscreateBlankShadow()but having the correct resource OID, kind/intent (if applicable), and tag set. -
getPrismObjectDefinition
PrismObjectDefinition<ShadowType> getPrismObjectDefinition()Returns a prism definition for the prism object/objects carrying the resource object/objects. -
toShadowAttributesContainerDefinition
@NotNull default @NotNull ShadowAttributesContainerDefinition toShadowAttributesContainerDefinition()CreatesShadowAttributesContainerDefinitionwith this definition as a complex type definition. -
toShadowAssociationsContainerDefinition
@NotNull default @NotNull ShadowAssociationsContainerDefinition toShadowAssociationsContainerDefinition() -
getEnabledCapability
<T extends CapabilityType> T getEnabledCapability(@NotNull @NotNull Class<T> capabilityClass, ResourceType resource) Checks the presence of capability in: 1. resource object definition (applicable only to resource object _type_ definitions), 2. additional connectors in resource (only if enabled there), 3. the main connector. Returns the present capability, but only if it's enabled. -
trimAttributesTo
-
validate
Executes some basic checks on this object type. Moved from `validateObjectClassDefinition()` method inResourceTypeUtil. TODO review this method- Throws:
SchemaException
-
getDebugDumpClassName
String getDebugDumpClassName()Return a human readable name of this class suitable for logs. -
getHumanReadableName
String getHumanReadableName()TODO -
getShortIdentification
Very short identification, like the object class local name or the kind/intent pair. -
clone
Returns a mutable definition. BEWARE, the mutableCompositeObjectDefinitionis significantly slower than its immutable counterpart. See MID-9156.- Specified by:
clonein interfaceDefinition
-
deepClone
@NotNull @NotNull ResourceObjectDefinition deepClone(@NotNull @NotNull DeepCloneOperation operation) Returns a mutable definition. BEWARE, the mutableCompositeObjectDefinitionis significantly slower than its immutable counterpart. See MID-9156. -
getDefinitionBean
Returns the configuration bean for this object type or class. -
forLayerMutable
Creates a layer-specific mutable version of this definition. -
forLayerImmutable
AsforLayerMutable(LayerType)but returns immutable definition. -
replaceAttributeDefinition
void replaceAttributeDefinition(@NotNull @NotNull QName itemName, @Nullable @Nullable ItemDefinition<?> newDefinition) Replaces a definition for given item name with a provided one. -
replaceAttributeDefinition
-
matchesObjectClassName
Returns true if the type definition matches specified object class name. OC name of `null` matches all definitions. -
getTypeIdentification
Is this definition bound to a specific resource type? If yes, this method returns its identification. -
getIdentification
-
getTypeDefinition
Is this definition bound to a specific resource type? If yes, this method returns its definition. -
isDefaultFor
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 ofResourceObjectClassDefinitionwithResourceObjectClassDefinition.isDefaultAccountDefinition()being `true`. It is considered to be the default forShadowKindType.ACCOUNT. Use with care! -
assertAttached
-
assertAttached
default void assertAttached() -
toPrismObjectDefinition
CallgetPrismObjectDefinition()for the cached version. -
composite
@NotNull default @NotNull ResourceObjectDefinition composite(Collection<? extends ResourceObjectDefinition> auxiliaryDefinitions) -
getAttributesComplexTypeDefinition
@NotNull default @NotNull ShadowAttributesComplexTypeDefinition getAttributesComplexTypeDefinition() -
getSimpleAttributesComplexTypeDefinition
@NotNull default @NotNull ShadowAttributesComplexTypeDefinition getSimpleAttributesComplexTypeDefinition() -
getReferenceAttributesComplexTypeDefinition
@NotNull default @NotNull ShadowAttributesComplexTypeDefinition getReferenceAttributesComplexTypeDefinition() -
getAssociationsComplexTypeDefinition
@NotNull default @NotNull ShadowAssociationsComplexTypeDefinition getAssociationsComplexTypeDefinition() -
getCompileTimeClass
Description copied from interface:TypeDefinitionReturns compile-time class, if this type has any. For example, UserType.class, ObjectType.class, ExtensionType.class.- Specified by:
getCompileTimeClassin interfaceTypeDefinition
-
getSuperType
Description copied from interface:TypeDefinitionName of super type of this complex type definition. For example, `c:ObjectType` is a super type for `c:FocusType` which is a super type for `c:UserType`. Extension types have `c:ExtensionType` as their supertype, if no explicit supertype is specified in XSD.- Specified by:
getSuperTypein interfaceTypeDefinition
-
getStaticSubTypes
Description copied from interface:TypeDefinitionSubtypes - but only these that are a part of the static schema. A little bit experimental. :)- Specified by:
getStaticSubTypesin interfaceTypeDefinition
-
getInstantiationOrder
- Specified by:
getInstantiationOrderin interfaceTypeDefinition
-
canRepresent
- Specified by:
canRepresentin interfaceTypeDefinition
-
getReferenceAttributeDefinitions
@NotNull default @NotNull List<? extends ShadowReferenceAttributeDefinition> getReferenceAttributeDefinitions()Description copied from interface:AttributeDefinitionStoreReturns definitions of all associations as an unmodifiable collection. Note: these items are _not_ included in getDefinitions. (BTW, ResourceAssociationDefinition is not a subtype of ItemDefinition, not even of Definition.)- Specified by:
getReferenceAttributeDefinitionsin interfaceAttributeDefinitionStore
-
findReferenceAttributeDefinition
- Specified by:
findReferenceAttributeDefinitionin interfaceAttributeDefinitionStore
-
createPrimaryIdentification
@NotNull default ResourceObjectIdentification.WithPrimary createPrimaryIdentification(@NotNull @NotNull Object identifierRealValue) throws SchemaException - Throws:
SchemaException
-
queryFor
-
getAssociationDefinitionsFor
default Collection<? extends ShadowAssociationDefinition> getAssociationDefinitionsFor(@NotNull @NotNull ItemName refAttrName) -
getEffectiveShadowCachingPolicy
Returns shadow caching policy determined by the application of resource-level definitions down to the specific object type/class definition (using bean merging). The returned value has all the defaults applied. Throws an exception for unattached raw object class definitions. -
isCachingEnabled
default boolean isCachingEnabled() -
shouldUpdateCachingMetadata
default boolean shouldUpdateCachingMetadata() -
isActivationCached
default boolean isActivationCached() -
isAuxiliaryObjectClassPropertyCached
default boolean isAuxiliaryObjectClassPropertyCached() -
areCredentialsCached
default boolean areCredentialsCached() -
areCredentialsCachedLegacy
default boolean areCredentialsCachedLegacy()Returns `true` if the caching is turned on, but only because of the legacy configuration. -
isEffectivelyCached
-
getDefaultOperationPolicyOid
@Nullable default @Nullable String getDefaultOperationPolicyOid(@NotNull @NotNull TaskExecutionMode mode) throws ConfigurationException - Throws:
ConfigurationException
-
getAttributesVolatileOnAddOperation
@NotNull @NotNull Collection<ShadowAttributeDefinition<?,?, getAttributesVolatileOnAddOperation()?, ?>> -
getAttributesVolatileOnModifyOperation
@NotNull @NotNull Collection<ShadowAttributeDefinition<?,?, getAttributesVolatileOnModifyOperation()?, ?>> -
getAuxiliaryObjectClassNameForAttribute
@Nullable default @Nullable QName getAuxiliaryObjectClassNameForAttribute(@NotNull @NotNull QName attrName) Returns the name of the auxiliary object class where given attribute is defined. If the attribute is defined on the structural object class or if the attribute is not defined on any auxiliary object class, `null` is returned. Limitations: - Ignores case sensitivity. - Use only for simple attributes.
-