|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ifs.fdk.NamedValue
oracle.ifs.fdk.Preference
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. |
|
Preference(java.lang.String name, java.lang.Object value) Construct a Preference. |
|
Preference(java.lang.String name, java.lang.Object value, boolean isLocked) Construct a 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, mapToNamedValues, namedValuesToMap, setName, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Preference()
Required constructor in order to be a Java Bean.
public Preference(java.lang.String name, java.lang.Object value)
For use in specifying a Preference as an input to a call to (for example) setUserPreference.
name
- the name of the preference valuevalue
- the value of the preference valuepublic Preference(java.lang.String name, java.lang.Object value, boolean isLocked)
For use internally to construct a Preference as a return value from (for example) getUserPreference.
name
- the name of the preference valuevalue
- the value of the preference valueisLocked
- indicates if the preference value is overridableMethod Detail |
public boolean isLocked()
public void setLocked(boolean isLocked)
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.
isLocked
- indicates if the preference value is overridable
|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |