Interface UserAttributeContainer

    • Method Detail

      • getUserAttributeValue

        String getUserAttributeValue​(String attributeName)
        Returns the value of the user attribute.
        Parameters:
        attributeName - The name of the user attribute.
        Returns:
        The value of the user attribute.
      • setUserAttributeValue

        @Deprecated
        void setUserAttributeValue​(String attributeName,
                                   String attributeValue)
        Deprecated.
        This method may, depending on the data model, not be used except in some special cases.
        Set the value of an user attribute.

        This method must not be called directly! Use the change primitive of the corresponding model instead! In case of the process model, refer to ChangePrimitives.updateUserAttribute(UserAttributeContainer, String, String).

        Parameters:
        attributeName - The name of the attribute.
        attributeValue - The new value of the attribute.
      • removeUserAttributeValue

        @Deprecated
        void removeUserAttributeValue​(String attributeName)
        Deprecated.
        This method may, depending on the data model, not be used except in some special cases.
        Removes the user attribute with the given name.

        This method must not be called directly! Use the change primitive of the corresponding model instead! In case of the process model, refer to ChangePrimitives.updateUserAttribute(UserAttributeContainer, String, String).

        Parameters:
        attributeName - The key of the value to remove.
      • getUserAttributes

        Map<String,​String> getUserAttributes()
        Returns all user attributes as map, the key of the map is the name of the attribute. Do not change the returned map even if it is modifiable. Implementations will usually return a copy of the map. See setUserAttributeValue(String, String) and removeUserAttributeValue(String) on how to change user attributes.
        Returns:
        A (copy of the) map with all user defined attributes.