Class CleanupScanUnitEntity
java.lang.Object
org.exoplatform.addons.documents.cleanup.entity.CleanupScanUnitEntity
- All Implemented Interfaces:
Serializable
@Entity(name="CleanupScanUnit")
public class CleanupScanUnitEntity
extends Object
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringhashUnitPath(String unitPath) Hashes a unit path into the value ofunitPathHash.
-
Constructor Details
-
CleanupScanUnitEntity
public CleanupScanUnitEntity()
-
-
Method Details
-
hashUnitPath
Hashes a unit path into the value ofunitPathHash. Same idiom asWebDavPathMappingEntity#buildIdin this module, which keys a column on a JCR path for the very same reason.- Parameters:
unitPath- absolute JCR path of the unit- Returns:
- its SHA-256 hex digest, 64 characters
-