Class DefaultCleanupListener
java.lang.Object
com.evolveum.midpoint.common.cleanup.DefaultCleanupListener
- All Implemented Interfaces:
CleanerListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <O extends ObjectType>
booleancanResolveLocalObject(Class<O> type, String oid) protected StringbooleanbooleanonConfirmOptionalCleanup(CleanupEvent<Item<?, ?>> event) Method that allows consumers to react on cleanup event marked with actionCleanupPathAction.ASK.voidMethod that allows consumers to clean up references, e.g. oids, filteres, etc.protected PrismObject<ConnectorType>resolveConnector(String oid) voidsetWarnAboutMissingReferences(boolean warnAboutMissingReferences) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.common.cleanup.CleanerListener
onItemCleanup
-
Constructor Details
-
DefaultCleanupListener
-
-
Method Details
-
isWarnAboutMissingReferences
public boolean isWarnAboutMissingReferences() -
setWarnAboutMissingReferences
public void setWarnAboutMissingReferences(boolean warnAboutMissingReferences) -
onConfirmOptionalCleanup
Description copied from interface:CleanerListenerMethod that allows consumers to react on cleanup event marked with actionCleanupPathAction.ASK.- Specified by:
onConfirmOptionalCleanupin interfaceCleanerListener- Returns:
- true if the item should be removed, false otherwise
-
onReferenceCleanup
Description copied from interface:CleanerListenerMethod that allows consumers to clean up references, e.g. oids, filteres, etc.- Specified by:
onReferenceCleanupin interfaceCleanerListener
-
canResolveLocalObject
- Returns:
- true if the object reference can be resolved, false otherwise. E.g. file/object is available locally in project.
-
resolveConnector
-
getMidpointVersion
-