Class PatchHandler

java.lang.Object
de.captaingoldfish.scim.sdk.server.patch.PatchHandler

public class PatchHandler extends Object
author Pascal Knueppel
created at: 29.10.2019 - 09:40

this class is used to resolve patch operations on resources
  • Constructor Details

  • Method Details

    • patchResource

      public <T extends ResourceNode> T patchResource(T resource, PatchOpRequest patchOpRequest)
      this method will execute the patch operation on the given resource
      Parameters:
      resource - the resource representation that should be patched
      patchOpRequest - the patch operation that should be executed on the resource
      Returns:
      the patched resource
    • getRequestedAttributes

      public ScimObjectNode getRequestedAttributes()
      this object will hold the attributes that have been present within the operations. This is used to return these attributes in requests in which the attributes parameter was present.
    • isChangedResource

      public boolean isChangedResource()
      this attribute tells us if the resource was effectively changed meaning that an attribute did receive a new value that differs from the value before