Package wt.federation
Class DirectoryTranslationTable
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.fc._Item
wt.fc.Item
wt.federation._DirectoryTranslationTable
wt.federation.DirectoryTranslationTable
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,NetFactor,ObjectMappable,Persistable,DisplayIdentification
@GenAsPersistable(superClass=Item.class,versions=-811074491682165899L,properties={@GeneratedProperty(name="translationTable",type=java.util.Hashtable.class,columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="classFilterTable",type=java.util.Hashtable.class,columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="templateTable",type=java.util.Hashtable.class,columnProperties=@ColumnProperties(columnType=BLOB)),@GeneratedProperty(name="tableName",type=java.lang.String.class,accessors=@PropertyAccessors(setExceptions={}))})
public class DirectoryTranslationTable
extends wt.federation._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
- See Also:
-
Field Summary
Fields inherited from class wt.federation._DirectoryTranslationTable
CLASS_FILTER_TABLE, EXTERNALIZATION_VERSION_UID, TABLE_NAME, TEMPLATE_TABLE, TRANSLATION_TABLEFields inherited from class wt.fc.Item
SIMPLE_X10_UID, VERSION_40_UID, VERSION_51_UIDFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUE -
Method Summary
Modifier and TypeMethodDescriptiongetAttributeForField(Class javaClass, String fieldName) Return the directory attribute name associated with a specified field name of a specified class.getClassFilter(Class javaClass) Return the directory search filter that can be used to find all entries corresponding to the specified Java class.getClassTable(Class javaClass) Return the Hashtable defining translations between the field names of a specified class and directory attribute names.getClassTemplate(Class javaClass) Return the Hashtable defining a template that can be used to create a directory entry representing the specified Java class.Return the enumeration of Java class names for which there are translations to directory object classes.getJavaClass(String directoryClass) Get the Java class corresponding to a specified directory object class name.protected voidSupports initialization, following construction of an instance.protected voidinitialize(String name) Supports initialization, following construction of an instance.static DirectoryTranslationTableConstructor returning an instance initialized with default property values.static DirectoryTranslationTableConstructor returning an instance initialized with a specified name and default property values.voidsetAttributeForField(Class javaClass, String fieldName, String attributeName) Set the directory attribute name associated with a specified field name of a specified class.voidsetClassFilter(Class javaClass, String directoryFilter) Set the directory search filter that can be used to find all entries corresponding to the specified Java class.voidsetClassTable(Class javaClass, Hashtable translations) Set the Hashtable defining translations between the field names of a specified class and directory attribute names.voidsetClassTemplate(Class javaClass, Hashtable template) Set the Hashtable defining a template that can be used to create a directory entry representing the specified Java class.voidsetJavaClass(String directoryClass, Class javaClass) Set the Java class associated with a specified directory object class name.Methods inherited from class wt.federation._DirectoryTranslationTable
getClassFilterTable, getClassInfo, getConceptualClassname, getTableName, getTemplateTable, getTranslationTable, getType, readExternal, readExternal, readVersion, setClassFilterTable, setTableName, setTemplateTable, setTranslationTable, super_readExternal_DirectoryTranslationTable, super_readVersion_DirectoryTranslationTable, super_writeExternal_DirectoryTranslationTable, writeExternal, writeExternalMethods inherited from class wt.fc._Item
getAdministrativeLock, getDomainRef, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setInheritedDomain, setSecurityLabels, super_readExternal_Item, super_readVersion_Item, super_writeExternal_ItemMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo
-
Method Details
-
newDirectoryTranslationTable
public static DirectoryTranslationTable newDirectoryTranslationTable() throws FederationServicesException, WTExceptionConstructor returning an instance initialized with default property values.
Supported API: true- Returns:
- DirectoryTranslationTable
- Throws:
FederationServicesExceptionWTException
-
newDirectoryTranslationTable
public static DirectoryTranslationTable newDirectoryTranslationTable(String name) throws FederationServicesException Constructor returning an instance initialized with a specified name and default property values.
Supported API: true- Parameters:
name-- Returns:
- DirectoryTranslationTable
- Throws:
FederationServicesException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
name-- Throws:
FederationServicesException
-
getClassFilter
Return the directory search filter that can be used to find all entries corresponding to the specified Java class.
Supported API: true- Parameters:
javaClass-- Returns:
- String
-
setClassFilter
Set the directory search filter that can be used to find all entries corresponding to the specified Java class.
Supported API: true- Parameters:
javaClass-directoryFilter-
-
getDefinedJavaClasses
Return the enumeration of Java class names for which there are translations to directory object classes.
Supported API: true- Returns:
- Enumeration
-
getClassTable
Return the Hashtable defining translations between the field names of a specified class and directory attribute names.
Supported API: true- Parameters:
javaClass-- Returns:
- Hashtable
-
setClassTable
Set the Hashtable defining translations between the field names of a specified class and directory attribute names.
Supported API: true- Parameters:
javaClass-translations-
-
getJavaClass
Get the Java class corresponding to a specified directory object class name.
Supported API: true- Parameters:
directoryClass-- Returns:
- Class
-
setJavaClass
Set the Java class associated with a specified directory object class name.
Supported API: true- Parameters:
directoryClass-javaClass-
-
getAttributeForField
Return the directory attribute name associated with a specified field name of a specified class.
Supported API: true- Parameters:
javaClass-fieldName-- Returns:
- String
-
setAttributeForField
Set the directory attribute name associated with a specified field name of a specified class.
Supported API: true- Parameters:
javaClass-fieldName-attributeName-
-
getClassTemplate
Return the Hashtable defining a template that can be used to create a directory entry representing the specified Java class.
Supported API: true- Parameters:
javaClass-- Returns:
- Hashtable
-
setClassTemplate
Set the Hashtable defining a template that can be used to create a directory entry representing the specified Java class.
Supported API: true- Parameters:
javaClass-template-
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Overrides:
initializein classItem- Throws:
FederationServicesException
-