|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.provisioning.configuration.AttrLOV
public class AttrLOV
This class represents LOVs(list of values) of an attribute. The attribute can be either be base attribute or an application specific attribute. Each entry in LOV is assumed to have a real value. The real value corresponds to multiple display values with one display value for one specified langauage. This class also provides support for obtaining language(Locale) specific display value of LOV entries.
Field Summary | |
---|---|
static int |
DYNAMICLOV |
static int |
STATICLOV |
Method Summary | |
---|---|
boolean |
addDisplayRealPair(java.lang.String display, java.lang.String real) This method adds real value and corresponding display value pair to this object. |
boolean |
addDisplayRealPair(java.lang.String display, java.lang.String real, java.util.Locale locale) This method adds real value and corresponding locale specfic display value pair to this object. |
static AttrLOV |
createAttrLOV(java.lang.String attrname, javax.naming.directory.DirContext ctx, java.lang.String attrdn, javax.naming.directory.Attributes attrEntry) Factory method for creating instances of this class. |
java.lang.String |
getDisplayVal(java.lang.String realval) This methods returns "default" display value corresponding to the real value. |
java.lang.String |
getDisplayVal(java.lang.String realval, java.util.Locale locale) This methods returns "language specific" display value corresponding to the real value. |
int |
getLOVType() This methods returns one of the followings STATICLOV - LOV supports external representation for UI displayname and related value for setting the internal value of the attribute DYNAMICLOV - LOV uses the value as display and internal setting |
java.lang.String[] |
getRealVals() This methods returns array of all real values. |
int |
getSize() Returns LOV size. |
java.util.List |
getSortedDisplayRealPairs(java.util.Locale locale) This methods returns List of all Display-real value pairs present in this object. |
static void |
main(java.lang.String[] args) |
boolean |
persistToDIR(javax.naming.directory.DirContext dirctx) To persist LOV information to OID. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int STATICLOV
public static int DYNAMICLOV
Method Detail |
---|
public static AttrLOV createAttrLOV(java.lang.String attrname, javax.naming.directory.DirContext ctx, java.lang.String attrdn, javax.naming.directory.Attributes attrEntry)
attrname
- attribute namectx
- Directory context required for searchattrdn
- DN of attribute configuration entryattrEntry
- attributes of attribute configration entrypublic boolean persistToDIR(javax.naming.directory.DirContext dirctx) throws java.lang.Exception
java.lang.Exception
public int getSize()
public boolean addDisplayRealPair(java.lang.String display, java.lang.String real)
display
- display valuereal
- real valuepublic boolean addDisplayRealPair(java.lang.String display, java.lang.String real, java.util.Locale locale)
display
- display valuereal
- real valuelocale
- locale specfiying the languagepublic java.lang.String getDisplayVal(java.lang.String realval)
realval
- real valuepublic java.lang.String getDisplayVal(java.lang.String realval, java.util.Locale locale)
realval
- real valuelocale
- locale specifying the languagepublic java.lang.String[] getRealVals()
public java.util.List getSortedDisplayRealPairs(java.util.Locale locale)
locale
- locale specifying the languagepublic int getLOVType()
public static void main(java.lang.String[] args)
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |