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 Details

    • CleanupScanUnitEntity

      public CleanupScanUnitEntity()
  • Method Details

    • hashUnitPath

      public static String hashUnitPath(String unitPath)
      Hashes a unit path into the value of unitPathHash. Same idiom as WebDavPathMappingEntity#buildId in 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