Record Class CategoryDeleteCascadeSource
java.lang.Object
java.lang.Record
org.alfresco.elasticsearch.batchindexing.cascade.CategoryDeleteCascadeSource
- Record Components:
nodeRef- Alfresco node reference of the deleted nodedescendantUuid- bare UUID — value stored inside referring documents'CATEGORY_ANCESTOR/cm:categories/PARENTarraysdeletedCategoryPaths- snapshot of the deleted category'sPATHentries (prefixed); used to strip matchingPATHentries from referring docs. May be empty when the pre-delete doc could not be read.deletedCategoryUnprefixedPaths- snapshot of the deleted category'sUNPREFIXED_PATHentries; strips matchingUNPREFIXED_PATHentries from referring docs
public record CategoryDeleteCascadeSource(String nodeRef, String descendantUuid, List<String> deletedCategoryPaths, List<String> deletedCategoryUnprefixedPaths)
extends Record
Descriptor for a delete event that corresponds to a
cm:category node.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeletedCategoryPathsrecord component.Returns the value of thedeletedCategoryUnprefixedPathsrecord component.Returns the value of thedescendantUuidrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.nodeRef()Returns the value of thenodeRefrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CategoryDeleteCascadeSource
public CategoryDeleteCascadeSource(String nodeRef, String descendantUuid, List<String> deletedCategoryPaths, List<String> deletedCategoryUnprefixedPaths) Creates an instance of aCategoryDeleteCascadeSourcerecord class.- Parameters:
nodeRef- the value for thenodeRefrecord componentdescendantUuid- the value for thedescendantUuidrecord componentdeletedCategoryPaths- the value for thedeletedCategoryPathsrecord componentdeletedCategoryUnprefixedPaths- the value for thedeletedCategoryUnprefixedPathsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
nodeRef
Returns the value of thenodeRefrecord component.- Returns:
- the value of the
nodeRefrecord component
-
descendantUuid
Returns the value of thedescendantUuidrecord component.- Returns:
- the value of the
descendantUuidrecord component
-
deletedCategoryPaths
Returns the value of thedeletedCategoryPathsrecord component.- Returns:
- the value of the
deletedCategoryPathsrecord component
-
deletedCategoryUnprefixedPaths
Returns the value of thedeletedCategoryUnprefixedPathsrecord component.- Returns:
- the value of the
deletedCategoryUnprefixedPathsrecord component
-