|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.federation.DirectoryTranslationTable
public class DirectoryTranslationTable
Use the newDirectoryTranslationTable static factory method(s),
not the DirectoryTranslationTable constructor, to construct
instances of this class. Instances must be constructed using the static
factory(s), in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
String |
getAttributeForField(Class javaClass,
String fieldName)
Return the directory attribute name associated with a specified field name of a specified class. |
String |
getClassFilter(Class javaClass)
Return the directory search filter that can be used to find all entries corresponding to the specified Java class. |
Hashtable |
getClassTable(Class javaClass)
Return the Hashtable defining translations between the field names of a specified class and directory attribute names. |
Hashtable |
getClassTemplate(Class javaClass)
Return the Hashtable defining a template that can be used to create a directory entry representing the specified Java class. |
Enumeration |
getDefinedJavaClasses()
Return the enumeration of Java class names for which there are translations to directory object classes. |
Class |
getJavaClass(String directoryClass)
Get the Java class corresponding to a specified directory object class name. |
protected void |
initialize()
Supports initialization, following construction of an instance. |
protected void |
initialize(String name)
Supports initialization, following construction of an instance. |
static DirectoryTranslationTable |
newDirectoryTranslationTable()
Constructor returning an instance initialized with default property values. |
static DirectoryTranslationTable |
newDirectoryTranslationTable(String name)
Constructor returning an instance initialized with a specified name and default property values. |
void |
setAttributeForField(Class javaClass,
String fieldName,
String attributeName)
Set the directory attribute name associated with a specified field name of a specified class. |
void |
setClassFilter(Class javaClass,
String directoryFilter)
Set the directory search filter that can be used to find all entries corresponding to the specified Java class. |
void |
setClassTable(Class javaClass,
Hashtable translations)
Set the Hashtable defining translations between the field names of a specified class and directory attribute names. |
void |
setClassTemplate(Class javaClass,
Hashtable template)
Set the Hashtable defining a template that can be used to create a directory entry representing the specified Java class. |
void |
setJavaClass(String directoryClass,
Class javaClass)
Set the Java class associated with a specified directory object class name. |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static DirectoryTranslationTable newDirectoryTranslationTable()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
public static DirectoryTranslationTable newDirectoryTranslationTable(String name)
throws wt.federation.FederationServicesException
name -
wt.federation.FederationServicesException
protected void initialize(String name)
throws wt.federation.FederationServicesException
name -
wt.federation.FederationServicesExceptionpublic String getClassFilter(Class javaClass)
javaClass -
public void setClassFilter(Class javaClass,
String directoryFilter)
javaClass - directoryFilter - public Enumeration getDefinedJavaClasses()
public Hashtable getClassTable(Class javaClass)
javaClass -
public void setClassTable(Class javaClass,
Hashtable translations)
javaClass - translations - public Class getJavaClass(String directoryClass)
directoryClass -
public void setJavaClass(String directoryClass,
Class javaClass)
directoryClass - javaClass -
public String getAttributeForField(Class javaClass,
String fieldName)
javaClass - fieldName -
public void setAttributeForField(Class javaClass,
String fieldName,
String attributeName)
javaClass - fieldName - attributeName - public Hashtable getClassTemplate(Class javaClass)
javaClass -
public void setClassTemplate(Class javaClass,
Hashtable template)
javaClass - template -
protected void initialize()
throws wt.federation.FederationServicesException
wt.federation.FederationServicesException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||