public class UserSecurityFlags extends Object implements IUserSecurityFlags
| Constructor and Description |
|---|
UserSecurityFlags(DataResultSet userSecurityResultSet) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAllFlags()
Gets all the user security flags
|
Map<String,Boolean> |
getAllFlagsAsBoolean()
Gets all the user security flags where the values evaluate to true
|
Set<String> |
getAllTrueFlags()
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 evaluates to true
|
public UserSecurityFlags(DataResultSet userSecurityResultSet)
public Map<String,String> getAllFlags()
getAllFlags in interface IUserSecurityFlagspublic Map<String,Boolean> getAllFlagsAsBoolean()
getAllFlagsAsBoolean in interface IUserSecurityFlagsStringTools.isTrue(String)public Set<String> getAllTrueFlags()
getAllTrueFlags in interface IUserSecurityFlagspublic boolean isFlagTrue(String flagName)
isFlagTrue in interface IUserSecurityFlagsflagName - Name of the flagStringTools.isTrue(String)