org.norther.tammi.root.rt.util
Class UserAccountImporter
java.lang.Object
org.norther.tammi.root.rt.util.VariableTransporter
org.norther.tammi.root.rt.util.PasswordImporter
org.norther.tammi.root.rt.util.UserAccountImporter
- All Implemented Interfaces:
- Serializable, EventListener, TransportListener
public class UserAccountImporter
- extends PasswordImporter
An attribute importer for user accounts.
- Version:
- $Id: UserAccountImporter.java,v 1.34 2009/09/28 15:08:35 cvsimp Exp
$
- Author:
- Ilkka Priha
- See Also:
- Serialized Form
Methods inherited from class org.norther.tammi.root.rt.util.VariableTransporter |
exported, getEnumerationKey, getExportFilter, getImportFilter, getNullableEnum, isEmptyEnumeration, isEqualTypes, transportEnumeration, transportEnumeration, transportEnumeration, transportEnumerations, transportUserId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserAccountImporter
public UserAccountImporter()
- Constructs a new importer.
imported
public void imported(TransportedObjectEvent event)
- Description copied from interface:
TransportListener
- Notifies the object that it has been imported from the repository.
- Specified by:
imported
in interface TransportListener
- Overrides:
imported
in class PasswordImporter
- Parameters:
event
- the transported object event.
getEnumerationValue
public Object getEnumerationValue(Variable var,
String name,
Object enumObject,
String enumValueField,
String enumKeyField,
Persister persister)
throws AttributeNotFoundException
- Description copied from class:
VariableTransporter
- Gets the enumeration value. By default, the primary key of the foreign
object is applied.
- Overrides:
getEnumerationValue
in class VariableTransporter
- Parameters:
var
- the local variable.name
- the local field name.enumObject
- the foreign object.enumValueField
- the enumeration value field.enumKeyField
- the enumeration key field.persister
- the persister to apply.
- Returns:
- the enumeration value.
- Throws:
AttributeNotFoundException
- for missing attributes.
Copyright © 2004 The Norther Organization. All rights reserved.