Interface PatchService

  • All Known Implementing Classes:

    public interface PatchService
    Service to handle and manage patches on unomi items. The service will load patches from META-INF/cxs/patches in modules. The patch is automatically applied the first time it is viewed by the service, if the item to patch exists, and then saved in persistence. The service also allows to reload a patch from persistence and apply it.
    • Method Detail

      • load

        Patch load​(String id)
        Load a patch from its id
        id - the unique id of the patch
        the patch
      • patch

        Item patch​(Patch patch)
        Apply a patch
        patch - the patch to apply
        the patched item