Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


oracle.stellent.ridc.convenience.usersecurity.impl
Class UserSecurityFlags

java.lang.Object
  extended by oracle.stellent.ridc.convenience.usersecurity.impl.UserSecurityFlags

All Implemented Interfaces:
IUserSecurityFlags

public class UserSecurityFlags
extends java.lang.Object
implements 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.


Constructor Summary
UserSecurityFlags(DataResultSet userSecurityResultSet)
           

 

Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAllFlags()
          Gets all the user security flags
 java.util.Map<java.lang.String,java.lang.Boolean> getAllFlagsAsBoolean()
          Gets all the user security flags where the values evaluate to true
 java.util.Set<java.lang.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(java.lang.String flagName)
          True if flag exists and the value evaluates to true

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

UserSecurityFlags

public UserSecurityFlags(DataResultSet userSecurityResultSet)

Method Detail

getAllFlags

public java.util.Map<java.lang.String,java.lang.String> getAllFlags()
Gets all the user security flags
Specified by:
getAllFlags in interface IUserSecurityFlags
Returns:
Map <String, String>

getAllFlagsAsBoolean

public java.util.Map<java.lang.String,java.lang.Boolean> getAllFlagsAsBoolean()
Gets all the user security flags where the values evaluate to true
Specified by:
getAllFlagsAsBoolean in interface IUserSecurityFlags
Returns:
Map<String, Boolean>
See Also:
StringTools.isTrue(String)

getAllTrueFlags

public java.util.Set<java.lang.String> getAllTrueFlags()
Gets all user security flags where the values from the Content Server are "1", "t", "T", or case variants of "true"
Specified by:
getAllTrueFlags in interface IUserSecurityFlags
Returns:
Set<String>

isFlagTrue

public boolean isFlagTrue(java.lang.String flagName)
True if flag exists and the value evaluates to true
Specified by:
isFlagTrue in interface IUserSecurityFlags
Parameters:
flagName - Name of the flag
Returns:
false if flag is missing or doesn't evaluate to true
See Also:
StringTools.isTrue(String)

Skip navigation links

Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1)

E17274-03


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.