Class PrismObjectWrapperImpl<O extends ObjectType>
java.lang.Object
com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl<PrismContainer<C>,PrismContainerValueWrapper<C>>
com.evolveum.midpoint.gui.impl.prism.wrapper.PrismContainerWrapperImpl<O>
com.evolveum.midpoint.gui.impl.prism.wrapper.PrismObjectWrapperImpl<O>
- All Implemented Interfaces:
ItemWrapper<PrismContainer<O>,
,PrismContainerValueWrapper<O>> PrismContainerWrapper<O>
,PrismObjectWrapper<O>
,Definition
,Freezable
,ItemDefinition<PrismContainer<O>>
,LivePrismItemDefinition
,LocalItemDefinitionStore
,PrismContainerDefinition<O>
,PrismItemAccessDefinition
,PrismItemBasicDefinition
,PrismItemStorageDefinition
,PrismLifecycleDefinition
,PrismPresentationDefinition
,Revivable
,SchemaLookup.Aware
,SmartVisitable<Definition>
,Visitable<Definition>
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
AssignmentHolderWrapper
,ResourceWrapper
,ShadowWrapperImpl
public class PrismObjectWrapperImpl<O extends ObjectType>
extends PrismContainerWrapperImpl<O>
implements PrismObjectWrapper<O>
- Author:
- katka
- See Also:
-
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.ItemDefinition
ItemDefinition.ItemDefinitionLikeBuilder, ItemDefinition.ItemDefinitionMutator
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
PrismContainerDefinition.PrismContainerDefinitionMutator<C extends Containerable>
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
PrismItemAccessDefinition.Data, PrismItemAccessDefinition.Delegable, PrismItemAccessDefinition.Info, PrismItemAccessDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
PrismItemBasicDefinition.Data, PrismItemBasicDefinition.Delegable, PrismItemBasicDefinition.Mutable
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
PrismItemStorageDefinition.Mutable
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
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Visitor<Definition> visitor) boolean
accept
(Visitor<Definition> visitor, SmartVisitation<Definition> visitation) void
addShadowDelta
(ReferenceDelta shadowRefDelta) void
freeze()
Returns display name.getOid()
Deprecated.getPreconditionDeltas
(ModelServiceLocator serviceLocator, OperationResult result) Collect processor with deltas and consumer, that should be processed before basic deltas of showed objectprotected List<ReferenceDelta>
getValue()
boolean
boolean
Methods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.PrismContainerWrapperImpl
canRepresent, clone, cloneVirtualContainerWithNewValue, cloneWithNewDefinition, cloneWithNewName, cloneWithNewType, computeDeltasInternal, createEmptyDelta, createNewEmptyValue, createValue, findContainer, findContainer, findContainerValue, findItem, findProperty, findReference, getCompileTimeClass, getComplexTypeDefinition, getDefinitions, getDelta, getDeltaPathForStatus, getIdentifier, getItemDefinition, getPropertyDefinitions, getSchemaContextDefinition, getSelectedChild, getTypeClass, isIndexed, isVirtual, isVisible, mutator, replaceDefinition, setExpanded, setIdentifier, setShowEmpty, setVirtual
Methods inherited from class com.evolveum.midpoint.gui.impl.prism.wrapper.ItemWrapperImpl
add, addValueToDelta, canAdd, canModify, canRead, checkRequired, computeDeltaInternal, debugDump, debugDumpShortToString, deepClone, findItemDefinition, findObjectStatus, findObjectWrapper, getAnnotation, getAnnotations, getDeprecatedSince, getDiagrams, getDisplayHint, getDisplayOrder, getDocumentation, getDocumentationPreview, getFormComponentValidator, getHelp, getItem, getItemName, getMaxOccurs, getMergerIdentifier, getMergerInstance, getMinOccurs, getNaturalKeyConstituents, getNaturalKeyInstance, getOldItem, getParent, getParentContainerValue, getPath, getPlannedRemoval, getProcessing, getRemovedSince, getSchemaMigrations, getStatus, getSubstitutionHead, getTypeName, getValueEnumerationRef, getValues, getVisibleOverwrite, instantiate, instantiate, isAbstract, isAlwaysUseForEquals, isColumn, isDeprecated, isDynamic, isElaborate, isEmphasized, isEmpty, isExperimental, isHeterogeneousListItem, isIgnored, isIndexOnly, isInherited, isMetadata, isOperational, isOptionalCleanup, isProcessProvenanceMetadata, isReadOnly, isRemoved, isRuntimeSchema, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isValidFor, isVisibleByVisibilityHandler, remove, removeAll, removeNotChangedStatusValue, revive, setColumn, setDisplayName, setDisplayOrder, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwrite, structuredType, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.prism.Definition
checkMutableOnExposing, debugDump, getAnnotation, getAnnotations, getMergerIdentifier, getMergerInstance, getMutabilityFlag, getNaturalKeyConstituents, getNaturalKeyInstance, getSchemaContextDefinition, getTypeName, isAbstract, isElaborate, isOptionalCleanup, isRuntimeSchema
Methods inherited from interface com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable
Methods inherited from interface com.evolveum.midpoint.prism.ItemDefinition
cloneWithNewName, debugDumpShortToString, deepClone, getProcessing, getSubstitutionHead, getValueEnumerationRef, instantiate, instantiate, isAlwaysUseForEquals, isDynamic, isHeterogeneousListItem, isIgnored, isInherited, isOperational
Methods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.ItemWrapper
add, checkRequired, debugDump, findObjectStatus, findObjectWrapper, getDelta, getFormComponentValidator, getItem, getParent, getParentContainerValue, getPath, getValues, getVisibleOverwrite, isColumn, isEmpty, isMetadata, isProcessProvenanceMetadata, isReadOnly, isShowEmpty, isShowInVirtualContainer, isShowMetadataDetails, isValidated, isVisible, remove, removeAll, setColumn, setMetadata, setProcessProvenanceMetadata, setReadOnly, setShowEmpty, setShowInVirtualContainer, setShowMetadataDetails, setValidated, setVisibleOverwrite
Methods inherited from interface com.evolveum.midpoint.prism.LivePrismItemDefinition
findItemDefinition, isValidFor
Methods inherited from interface com.evolveum.midpoint.prism.LocalItemDefinitionStore
containsItemDefinition, findContainerDefinition, findItemDefinition, findItemDefinition, findLocalItemDefinition, findLocalItemDefinition, findPropertyDefinition, findReferenceDefinition
Methods inherited from interface com.evolveum.midpoint.prism.PrismContainerDefinition
canRepresent, clone, cloneWithNewDefinition, cloneWithNewType, createEmptyDelta, createValue, getAlwaysUseForEquals, getCompileTimeClass, getComplexTypeDefinition, getDefinitions, getItemNames, getPropertyDefinitions, getTypeClass, isAlwaysUseForEquals, isCompletelyDefined, isEmpty, mutator, replaceDefinition, schemaLookup, structuredType
Methods inherited from interface com.evolveum.midpoint.gui.api.prism.wrapper.PrismContainerWrapper
cloneVirtualContainerWithNewValue, findContainer, findContainer, findContainerValue, findItem, findProperty, findReference, getIdentifier, getSelectedChild, getStatus, isVirtual, setExpanded, setIdentifier, setVirtual
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemAccessDefinition
canAdd, canModify, canRead, getInfo
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemBasicDefinition
getItemName, getMaxOccurs, getMinOccurs, getTypeName, isMandatory, isMultiValue, isOptional, isSingleValue
Methods inherited from interface com.evolveum.midpoint.prism.PrismItemStorageDefinition
isIndexed, isIndexOnly, isSearchable
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, getDisplayOrder, getDocumentation, getDocumentationPreview, getHelp, isEmphasized
-
Constructor Details
-
PrismObjectWrapperImpl
-
-
Method Details
-
getObjectDelta
- Specified by:
getObjectDelta
in interfacePrismObjectWrapper<O extends ObjectType>
- Throws:
CommonException
-
addShadowDelta
-
getShadowDeltas
-
getOid
Deprecated.- Specified by:
getOid
in interfacePrismObjectWrapper<O extends ObjectType>
-
getObject
- Specified by:
getObject
in interfacePrismObjectWrapper<O extends ObjectType>
-
getObjectOld
- Specified by:
getObjectOld
in interfacePrismObjectWrapper<O extends ObjectType>
-
getValue
- Specified by:
getValue
in interfaceItemWrapper<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>> - Specified by:
getValue
in interfacePrismObjectWrapper<O extends ObjectType>
- Overrides:
getValue
in classItemWrapperImpl<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>>
-
getPreconditionDeltas
public Collection<ExecutedDeltaPostProcessor> getPreconditionDeltas(ModelServiceLocator serviceLocator, OperationResult result) throws CommonException Description copied from interface:ItemWrapper
Collect processor with deltas and consumer, that should be processed before basic deltas of showed object- Specified by:
getPreconditionDeltas
in interfaceItemWrapper<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>> - Specified by:
getPreconditionDeltas
in interfacePrismObjectWrapper<O extends ObjectType>
- Overrides:
getPreconditionDeltas
in classItemWrapperImpl<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>> - Throws:
CommonException
-
getDisplayName
Description copied from interface:PrismPresentationDefinition
Returns display name. Specifies the printable name of the object class or attribute. It must contain a printable string. It may also contain a key to catalog file. Returns null if no display name is set. Corresponds to "displayName" XSD annotation.- Specified by:
getDisplayName
in interfacePrismPresentationDefinition
- Overrides:
getDisplayName
in classItemWrapperImpl<PrismContainer<O extends ObjectType>,
PrismContainerValueWrapper<O extends ObjectType>> - Returns:
- display name string or catalog key
-
getObjectApplyDelta
- Specified by:
getObjectApplyDelta
in interfacePrismObjectWrapper<O extends ObjectType>
- Throws:
CommonException
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutable
in interfaceFreezable
- Overrides:
isImmutable
in classPrismContainerWrapperImpl<O extends ObjectType>
-
freeze
public void freeze()- Specified by:
freeze
in interfaceFreezable
- Overrides:
freeze
in classPrismContainerWrapperImpl<O extends ObjectType>
-
accept
- Specified by:
accept
in interfaceSmartVisitable<O extends ObjectType>
- Overrides:
accept
in classPrismContainerWrapperImpl<O extends ObjectType>
- Returns:
- false if we already was here
-
accept
- Specified by:
accept
in interfaceVisitable<O extends ObjectType>
- Overrides:
accept
in classPrismContainerWrapperImpl<O extends ObjectType>
-
isExpanded
public boolean isExpanded()- Specified by:
isExpanded
in interfacePrismContainerWrapper<O extends ObjectType>
- Overrides:
isExpanded
in classPrismContainerWrapperImpl<O extends ObjectType>
-