Class ModifyRequestBuilder<T extends ModifyRequestBuilder<T>>

    • Method Detail

      • replaceValue

        @NotNull
        public T replaceValue​(@NotNull
                              String path,
                              @Nullable
                              Object object)
                       throws ScimException
        Set value of the attribute specified by the path, replacing any existing value(s).
        Parameters:
        path - The path to the attribute whose value to set.
        object - The value to set.
        Returns:
        This patch operation request.
        Throws:
        ScimException - If the path is invalid.
      • replaceValue

        @NotNull
        public T replaceValue​(@NotNull
                              Path path,
                              @Nullable
                              Object object)
        Set value of the attribute specified by the path, replacing any existing value(s).
        Parameters:
        path - The path to the attribute whose value to set.
        object - The value to set.
        Returns:
        This patch operation request.
      • replaceValues

        @NotNull
        public T replaceValues​(@NotNull
                               Path path,
                               @Nullable
                               Collection<Object> objects)
        Set values of the attribute specified by the path, replacing any existing values.
        Parameters:
        path - The path to the attribute whose value to set.
        objects - The value(s) to set.
        Returns:
        This patch operation request.
      • replaceValues

        @NotNull
        public T replaceValues​(@NotNull
                               String path,
                               @NotNull
                               Object... objects)
                        throws ScimException
        Set values of the attribute specified by the path, replacing any existing values.
        Parameters:
        path - The path to the attribute whose value to set.
        objects - The value(s) to set.
        Returns:
        This patch operation request.
        Throws:
        ScimException - If the path is invalid.
      • replaceValues

        @NotNull
        public T replaceValues​(@NotNull
                               Path path,
                               @NotNull
                               Object... objects)
        Set values of the attribute specified by the path, replacing any existing values.
        Parameters:
        path - The path to the attribute whose value to set.
        objects - The value(s) to set.
        Returns:
        This patch operation request.
      • addValues

        @NotNull
        public T addValues​(@NotNull
                           Path path,
                           @NotNull
                           Collection<?> objects)
        Add values to the multi-valued attribute specified by the path.
        Parameters:
        path - The path to the multi-valued attribute.
        objects - The values to add.
        Returns:
        This patch operation request.
      • addValues

        @NotNull
        public T addValues​(@NotNull
                           Path path,
                           @NotNull
                           Object... objects)
        Add values to the multi-valued attribute specified by the path.
        Parameters:
        path - The path to the multi-valued attribute.
        objects - The values to add.
        Returns:
        This patch operation request.
      • removeValues

        @NotNull
        public T removeValues​(@NotNull
                              String path)
                       throws ScimException
        Remove all values of the attribute specified by the path.
        Parameters:
        path - The path to the attribute whose value to remove.
        Returns:
        This patch operation request.
        Throws:
        ScimException - If the path is invalid.
      • removeValues

        @NotNull
        public T removeValues​(@NotNull
                              Path path)
                       throws ScimException
        Remove all values of the attribute specified by the path.
        Parameters:
        path - The path to the attribute whose value to remove.
        Returns:
        This patch operation request.
        Throws:
        ScimException - If the path is invalid.