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 String
boolean
boolean
onConfirmOptionalCleanup
(CleanupEvent<Item<?, ?>> event) Method that allows consumers to react on cleanup event marked with actionCleanupPathAction.ASK
.void
Method that allows consumers to clean up references, e.g. oids, filteres, etc.protected PrismObject<ConnectorType>
resolveConnector
(String oid) void
setWarnAboutMissingReferences
(boolean warnAboutMissingReferences) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:CleanerListener
Method that allows consumers to react on cleanup event marked with actionCleanupPathAction.ASK
.- Specified by:
onConfirmOptionalCleanup
in interfaceCleanerListener
- Returns:
- true if the item should be removed, false otherwise
-
onReferenceCleanup
Description copied from interface:CleanerListener
Method that allows consumers to clean up references, e.g. oids, filteres, etc.- Specified by:
onReferenceCleanup
in interfaceCleanerListener
-
canResolveLocalObject
- Returns:
- true if the object reference can be resolved, false otherwise. E.g. file/object is available locally in project.
-
resolveConnector
-
getMidpointVersion
-