Interface IUserSecurityFlags

All Known Implementing Classes:
UserSecurityFlags

@Concealed public interface IUserSecurityFlags
This object is a snapshot copy of what is in the cache. Typically, it would be used to complete a single request and then discarded.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets all the user security flags
    Gets all the user security flags where the values will be "true" if and only if the text from the Content Server is "1", "t", "T", or case variants of "true".
    Gets all user security flags where the values from the Content Server are "1", "t", "T", or case variants of "true"
    boolean
    isFlagTrue(String flagName)
    true if flag exists and the value is "1", "t", "T", or case variants of "true"
  • Method Details

    • getAllFlags

      Map<String,String> getAllFlags()
      Gets all the user security flags
      Returns:
      Map <String, String>
    • getAllFlagsAsBoolean

      Map<String,Boolean> getAllFlagsAsBoolean()
      Gets all the user security flags where the values will be "true" if and only if the text from the Content Server is "1", "t", "T", or case variants of "true". All other text values are false.
      Returns:
      Map<String, Boolean>
    • getAllTrueFlags

      Set<String> getAllTrueFlags()
      Gets all user security flags where the values from the Content Server are "1", "t", "T", or case variants of "true"
      Returns:
      Set<String>
    • isFlagTrue

      boolean isFlagTrue(String flagName)
      true if flag exists and the value is "1", "t", "T", or case variants of "true"
      Parameters:
      flagName - Name of the flag
      Returns:
      false if flag is missing or doesn't evaluate to true