class ForeignerListener extends ImportListener
导入数据外键监听器
这里尽量使用entityDao,因为在使用entityService加载其他代码时,jpa会保存还未修改外的"半成对象"
从而造成有些外键是空对象的错误
如果外键不存在,则目标中的外键会置成null;
如果外键是空的,那么目标的外键取决于transfer.isIgnoreNull取值
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ForeignerListener
- ImportListener
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ForeignerListener(entityDao: EntityDao)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addForeigerKey(key: String): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val foreigersMap: HashMap[String, HashMap[String, AnyRef]]
- Attributes
- protected
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onFinish(tr: ImportResult): Unit
结束转换
结束转换
- Definition Classes
- ForeignerListener → ImportListener
- def onItemFinish(tr: ImportResult): Unit
结束转换单个项目
结束转换单个项目
- Definition Classes
- ForeignerListener → ImportListener
- def onItemStart(tr: ImportResult): Unit
开始转换单个项目
开始转换单个项目
- Definition Classes
- ForeignerListener → ImportListener
- def onStart(tr: ImportResult): Unit
开始转换
开始转换
- Definition Classes
- ForeignerListener → ImportListener
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val transfer: Importer
设置转换器
设置转换器
- Definition Classes
- ImportListener
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated