Class CurrentUserObjectValue

  • All Implemented Interfaces:
    ReportFilterObjectValue

    public class CurrentUserObjectValue
    extends java.lang.Object
    implements ReportFilterObjectValue
    Represents a CURRENT_USER filter value for report filters.

    This is used to match against the current authenticated user in report filter criteria. The objectType is "CURRENT_USER" which is not part of the standard ObjectValueType enum as it's specific to report filters.

    • Constructor Detail

      • CurrentUserObjectValue

        public CurrentUserObjectValue()
        Default constructor. Sets value to empty string which is typical for CURRENT_USER filters.
      • CurrentUserObjectValue

        public CurrentUserObjectValue​(java.lang.String value)
        Constructor with custom value.
        Parameters:
        value - the value (typically empty for CURRENT_USER)
    • Method Detail

      • getObjectTypeString

        public java.lang.String getObjectTypeString()
        Gets the object type string. This returns "CURRENT_USER" for JSON serialization.
        Returns:
        "CURRENT_USER"
      • getValue

        public java.lang.String getValue()
        Gets the value.
        Returns:
        the value (typically empty string)
      • setValue

        public CurrentUserObjectValue setValue​(java.lang.String value)
        Sets the value.
        Parameters:
        value - the value
        Returns:
        this CurrentUserObjectValue for method chaining
      • getObjectType

        public ObjectValueType getObjectType()
        Returns null since CURRENT_USER is not part of the standard ObjectValueType enum. The objectType field is handled separately via getObjectTypeString().
        Returns:
        null