Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


oracle.ifs.fdk
Class Preference

java.lang.Object
  extended by oracle.ifs.fdk.NamedValue
      extended by oracle.ifs.fdk.Preference

All Implemented Interfaces:
java.io.Serializable

public class Preference
extends NamedValue
implements java.io.Serializable

A Preference represents a preference value. In addition, it indicates if the preference value can be overridden by the user.


Constructor Summary
Preference()
          Construct Preference.

 

Method Summary
 boolean isLocked()
          Whether the preference is locked from override.
 void setLocked(boolean isLocked)
          Indicate whether the preference value is overridable.

 

Methods inherited from class oracle.ifs.fdk.NamedValue
getName, getValue, setName, setValue, toString

 

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

 

Constructor Detail

Preference

public Preference()
Construct Preference.

Required constructor in order to be a Java Bean.

Method Detail

isLocked

public boolean isLocked()
Description copied from class: Preference
Whether the preference is locked from override.
Returns:
an indication as to whether the preference value is overridable

setLocked

public void setLocked(boolean isLocked)
Description copied from class: Preference
Indicate whether the preference value is overridable.

This method may be used in conjunction with the non-arg constructor variant. The value is not actually set untill one of the UserManager's set<xxx>UserPreference is invoked.

Parameters:
isLocked - indicates if the preference value is overridable

Skip navigation links

Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite
10g (10.1.3.2)

B32189-01


Copyright © 2002, 2006, Oracle. All rights reserved.