Interface BinaryValueManager


  • public interface BinaryValueManager
    Provides means to manage binary values for the CQ5 undo.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(ResourceResolver resolver, String undoPath)
      Deletes a binary value from the specified target path.
      void delete​(Resource par, String subPath, boolean deletePar)
      Deletes a binary value from the specified target path.
      boolean isChanged​(Resource par, String subPath, String originalRef)
      Checks if the binary value (located at the specified sub-path of the specified paragraph) has changed in relation to the specified original undo data.
      void restore​(Resource undoData, Resource par, String subPath)
      Restores a binary value from the undo area to a specific content path.
      String save​(Resource par, String subPath)
      Saves the binary value at the specified repository path to the undo area.