Skip navigation links

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

E17274-04


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 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
 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

 

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 Map<String,String> getAllFlags()
Gets all the user security flags
Specified by:
getAllFlags in interface IUserSecurityFlags
Returns:
Map <String, String>

getAllFlagsAsBoolean

public Map<String,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 Set<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(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® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


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