Package org.apache.unomi.api.services
Interface PatchService
- All Known Implementing Classes:
PatchServiceImpl
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 Summary
-
Method Details
-
load
Load a patch from its id- Parameters:
id
- the unique id of the patch- Returns:
- the patch
-
patch
Apply a patch- Parameters:
patch
- the patch to apply- Returns:
- the patched item
-