Class ChangeDescription
java.lang.Object
com.evolveum.midpoint.repo.cache.invalidation.ChangeDescription
Describes a change that was detected on a repository object:
- type
- OID
- additional information related object ADD/MODIFY/DELETE operation
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
OID of the changed object.protected final Class<? extends ObjectType>
Type of the changed object. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangeDescription
getFrom
(InvalidationEvent event) static @NotNull ChangeDescription
getFrom
(Class<? extends ObjectType> type, String oid, CacheInvalidationContext context, boolean safeInvalidation) static ChangeDescription
getFrom
(Class<? extends ObjectType> type, String oid, Object additionalInfo, boolean safeInvalidation) abstract boolean
mayMatchAfterChange
(@NotNull ObjectFilter filter, SearchResultList list, MatchingRuleRegistry matchingRuleRegistry)
-
Field Details
-
type
Type of the changed object. -
oid
OID of the changed object.
-
-
Method Details
-
getFrom
@NotNull public static @NotNull ChangeDescription getFrom(Class<? extends ObjectType> type, String oid, CacheInvalidationContext context, boolean safeInvalidation) -
getFrom
-
getFrom
public static ChangeDescription getFrom(Class<? extends ObjectType> type, String oid, Object additionalInfo, boolean safeInvalidation) -
mayMatchAfterChange
public abstract boolean mayMatchAfterChange(@NotNull @NotNull ObjectFilter filter, SearchResultList list, MatchingRuleRegistry matchingRuleRegistry) throws SchemaException - Throws:
SchemaException
-