Interface ResourceObjectDefinition
- All Superinterfaces:
AbstractTypeDefinition
,AssociationDefinitionStore
,AttributeDefinitionStore
,Cloneable
,DebugDumpable
,Definition
,FrameworkNameResolver
,Freezable
,IdentifiersDefinitionStore
,LayeredDefinition
,LocalItemDefinitionStore
,PrismLifecycleDefinition
,PrismPresentationDefinition
,ResourceObjectInboundDefinition
,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, ResourceObjectInboundDefinition, 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.DefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
PrismLifecycleDefinition.Data, PrismLifecycleDefinition.Delegable, PrismLifecycleDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
PrismPresentationDefinition.Data, PrismPresentationDefinition.Delegable, PrismPresentationDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundDefinition
ResourceObjectInboundDefinition.AssociationBasedItemImplementation, ResourceObjectInboundDefinition.AssociationSynchronizationImplementation, ResourceObjectInboundDefinition.EmptyImplementation, ResourceObjectInboundDefinition.FocusSpecification, ResourceObjectInboundDefinition.ItemInboundDefinition
Nested 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 boolean
default boolean
Returns `true` if the caching is turned on, but only because of the legacy configuration.default void
static void
assertAttached
(ResourceObjectDefinition resourceObjectDefinition) default boolean
canRepresent
(QName typeName) @NotNull ResourceObjectDefinition
clone()
Returns a mutable definition.default @NotNull ResourceObjectDefinition
composite
(Collection<? extends ResourceObjectDefinition> auxiliaryDefinitions) default AbstractShadow
Creates a blank, empty shadow.default AbstractShadow
createBlankShadowWithPrimaryId
(@NotNull Object primaryIdentifierValue) AscreateBlankShadow()
but with the specified primary identifier.default AbstractShadow
AscreateBlankShadow()
but having the correct resource OID, kind/intent (if applicable), and tag set.createPrimaryIdentification
(@NotNull Object identifierRealValue) @NotNull ObjectQuery
createShadowSearchQuery
(String resourceOid) Creates a query for obtaining shadows related to this object class or object type.@NotNull ResourceObjectDefinition
deepClone
(@NotNull DeepCloneOperation operation) Returns a mutable definition.@NotNull ResourceObjectDefinition
forLayerImmutable
(@NotNull LayerType layer) AsforLayerMutable(LayerType)
but returns immutable definition.@NotNull ResourceObjectDefinition
forLayerMutable
(@NotNull LayerType layer) Creates a layer-specific mutable version of this definition.default ResourceBidirectionalMappingType
TODO Rarely used, consider removing from the interfacedefault @Nullable AttributeFetchStrategyType
getActivationFetchStrategy
(ItemName itemName) TODO Rarely used, consider removing from the interfacedefault Collection<? extends ShadowAssociationDefinition>
getAssociationDefinitionsFor
(@NotNull ItemName refAttrName) default @NotNull ShadowAssociationsComplexTypeDefinition
default @NotNull ShadowAttributesComplexTypeDefinition
@NotNull Collection<ShadowAttributeDefinition<?,
?, ?, ?>> @NotNull Collection<ShadowAttributeDefinition<?,
?, ?, ?>> @NotNull Collection<? extends ResourceObjectDefinition>
TODO define semantics (it's different forCompositeObjectDefinition
and the others!The definition of base context (resource object container).@NotNull BasicResourceInformation
The 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 String
getDefaultOperationPolicyOid
(@NotNull TaskExecutionMode mode) @NotNull ResourceObjectTypeDefinitionType
Returns the configuration bean for this object type or class.@NotNull ResourceObjectTypeDelineation
Returns 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 QName
Returns name of the description attribute.default ShadowSimpleAttributeDefinition<?>
Returns the definition of display name attribute.@Nullable QName
Returns name of the display name attribute.@NotNull ShadowCachingPolicyType
Returns 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. resource object definition (applicable only to resource object _type_ definitions), 2. additional connectors in resource (only if enabled there), 3. the main connector.TODOdefault @NotNull ResourceObjectDefinitionIdentification
default Integer
@Nullable ResourceLastLoginTimestampDefinitionType
default @Nullable AttributeFetchStrategyType
@Nullable String
What lifecycle state is the (refined) object class or object type definition?default @Nullable ShadowSimpleAttributeDefinition<?>
Returns the attribute used as a visible name of the resource object.@Nullable QName
Returns name of the naming attribute.@NotNull NativeObjectClassDefinition
Returns the [structural] native object class definition, typically obtained from the connector.@NotNull ResourceObjectClassDefinition
Returns the [structural] object class definition.default @NotNull String
@NotNull QName
Returns the name of the object class.@Nullable ResourcePasswordDefinitionType
default @Nullable AttributeFetchStrategyType
TODO Rarely used, consider removing from the interfacedefault @NotNull List<MappingType>
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 ShadowAttributesComplexTypeDefinition
default String
The resource OID, if known.Definition of search hierarchy scope.@NotNull ShadowMarkingRules
Returns compiled patterns denoting protected objects or other kinds of marks.@NotNull String
Very short identification, like the object class local name or the kind/intent pair.default @NotNull ShadowAttributesComplexTypeDefinition
default @NotNull Collection<TypeDefinition>
Subtypes - but only these that are a part of the static schema.default @Nullable QName
Name of super type of this complex type definition.@Nullable ResourceObjectTypeDefinition
Is this definition bound to a specific resource type?@Nullable ResourceObjectTypeIdentification
Is this definition bound to a specific resource type?@NotNull ResourceObjectVolatilityType
Specifies volatility of this type of resource objects, i.e. whether such an object can change when midPoint is not looking.boolean
hasAuxiliaryObjectClass
(QName expectedObjectClassName) TODO define semantics (it's different forCompositeObjectDefinition
and the others!default boolean
default boolean
default boolean
boolean
isDefaultFor
(@NotNull ShadowKindType kind) Returns true if this definition can be considered as a default for the specified kind.default boolean
isEffectivelyCached
(ItemPath itemPath) default boolean
matchesObjectClassName
(@Nullable QName name) Returns true if the type definition matches specified object class name.default @NotNull S_FilterEntryOrEmpty
queryFor()
default void
replaceAttributeDefinition
(@NotNull ItemDefinition<?> newDefinition) void
replaceAttributeDefinition
(@NotNull QName itemName, @Nullable ItemDefinition<?> newDefinition) Replaces a definition for given item name with a provided one.default @NotNull PrismObjectDefinition<ShadowType>
CallgetPrismObjectDefinition()
for the cached version.default @NotNull ShadowAssociationsContainerDefinition
default @NotNull ShadowAttributesContainerDefinition
CreatesShadowAttributesContainerDefinition
with this definition as a complex type definition.void
trimAttributesTo
(@NotNull Collection<ItemPath> paths) void
validate()
Executes some basic checks on this object type.Methods inherited from interface com.evolveum.midpoint.prism.AbstractTypeDefinition
getTypeName
Methods inherited from interface com.evolveum.midpoint.schema.processor.AssociationDefinitionStore
findAssociationDefinition, findAssociationDefinitionRequired, findAssociationDefinitionRequired, getAssociationDefinitions, getNamesOfAssociations
Methods 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, instantiateAttribute
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getSchemaContextDefinition, getTypeClass, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchema, mutator
Methods inherited from interface com.evolveum.midpoint.schema.processor.FrameworkNameResolver
resolveFrameworkName
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.schema.processor.IdentifiersDefinitionStore
getAllIdentifiers, getAllIdentifiersNames, getPrimaryIdentifierRequired, getPrimaryIdentifiers, getPrimaryIdentifiersNames, getSecondaryIdentifierRequired, getSecondaryIdentifiers, getSecondaryIdentifiersNames, isIdentifier, isPrimaryIdentifier, isSecondaryIdentifier
Methods inherited from interface com.evolveum.midpoint.schema.processor.LayeredDefinition
getCurrentLayer
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition, getDefinitions
Methods inherited from interface com.evolveum.midpoint.prism.PrismLifecycleDefinition
getDeprecatedSince, getPlannedRemoval, getRemovedSince, getSchemaMigrations, isDeprecated, isExperimental, isRemoved
Methods inherited from interface com.evolveum.midpoint.prism.PrismPresentationDefinition
getDiagrams, getDisplayHint, getDisplayName, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasized
Methods inherited from interface com.evolveum.midpoint.schema.processor.ResourceObjectInboundDefinition
getAttributeDefinitions, getCorrelation, getFocusSpecification, getReferenceAttributeInboundDefinition, getSimpleAttributeInboundDefinition, getSynchronizationReactions
Methods inherited from interface com.evolveum.midpoint.prism.schema.SchemaLookup.Aware
schemaLookup
Methods inherited from interface com.evolveum.midpoint.prism.SmartVisitable
accept
Methods 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_RI
namespace. -
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 (CompositeObjectDefinition
only the statically-defined ones (i.e. those from the structural definition) are returned. -
getAuxiliaryDefinitions
TODO define semantics (it's different forCompositeObjectDefinition
and the others! -
hasAuxiliaryObjectClass
TODO define semantics (it's different forCompositeObjectDefinition
and 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()- Specified by:
getAuxiliaryObjectClassMappings
in interfaceResourceObjectInboundDefinition
- See Also:
-
getSecurityPolicyRef
ObjectReferenceType getSecurityPolicyRef() -
getObjectMultiplicity
ResourceObjectMultiplicityType getObjectMultiplicity() -
getProjectionPolicy
ProjectionPolicyType getProjectionPolicy() -
getPasswordDefinition
-
getLastLoginTimestampDefinition
-
getPasswordFetchStrategy
TODO Rarely used, consider removing from the interface -
getPasswordInbound
- Specified by:
getPasswordInbound
in interfaceResourceObjectInboundDefinition
-
getPasswordOutbound
-
getActivationSchemaHandling
ResourceActivationDefinitionType getActivationSchemaHandling() -
getActivationBidirectionalMappingType
TODO Rarely used, consider removing from the interface- Specified by:
getActivationBidirectionalMappingType
in interfaceResourceObjectInboundDefinition
-
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:
getDefaultInboundMappingEvaluationPhases
in interfaceResourceObjectInboundDefinition
- 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); 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()CreatesShadowAttributesContainerDefinition
with 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 mutableCompositeObjectDefinition
is significantly slower than its immutable counterpart. See MID-9156.- Specified by:
clone
in interfaceDefinition
-
deepClone
@NotNull @NotNull ResourceObjectDefinition deepClone(@NotNull @NotNull DeepCloneOperation operation) Returns a mutable definition. BEWARE, the mutableCompositeObjectDefinition
is 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 ofResourceObjectClassDefinition
withResourceObjectClassDefinition.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:TypeDefinition
Returns compile-time class, if this type has any. For example, UserType.class, ObjectType.class, ExtensionType.class.- Specified by:
getCompileTimeClass
in interfaceTypeDefinition
-
getSuperType
Description copied from interface:TypeDefinition
Name 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:
getSuperType
in interfaceTypeDefinition
-
getStaticSubTypes
Description copied from interface:TypeDefinition
Subtypes - but only these that are a part of the static schema. A little bit experimental. :)- Specified by:
getStaticSubTypes
in interfaceTypeDefinition
-
getInstantiationOrder
- Specified by:
getInstantiationOrder
in interfaceTypeDefinition
-
canRepresent
- Specified by:
canRepresent
in interfaceTypeDefinition
-
getReferenceAttributeDefinitions
@NotNull default @NotNull List<? extends ShadowReferenceAttributeDefinition> getReferenceAttributeDefinitions()Description copied from interface:AttributeDefinitionStore
Returns 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:
getReferenceAttributeDefinitions
in interfaceAttributeDefinitionStore
-
findReferenceAttributeDefinition
- Specified by:
findReferenceAttributeDefinition
in 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() -
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()?, ?>>
-