public interface SMailDynamicTextAssist
| 修飾子とタイプ | メソッドと説明 |
|---|---|
default void |
accept(SMailDynamicPropResource resource,
SMailDynamicPropAcceptor dynamicPropAcceptor)
Accept dynamic property from prepared dynamic data, called if dynamic data exists.
|
org.dbflute.optional.OptionalThing<String> |
assist(SMailDynamicTextResource resource)
Assist dynamic text from prepared dynamic data, called if dynamic data exists.
|
org.dbflute.optional.OptionalThing<? extends Object> |
prepareDynamicData(SMailDynamicDataResource resource)
Prepare dynamic data for dynamic property and dynamic text.
|
org.dbflute.optional.OptionalThing<? extends Object> prepareDynamicData(SMailDynamicDataResource resource)
e.g. o select data from database by templatePath and other resoures. o return DB result for this.accept and this.assist()
resource - The resource of dynamic data. (NotNull)default void accept(SMailDynamicPropResource resource, SMailDynamicPropAcceptor dynamicPropAcceptor)
resource - The resource of dynamic property. (NotNull)dynamicPropAcceptor - The acceptor for dynamic property of postcard. (NotNull)org.dbflute.optional.OptionalThing<String> assist(SMailDynamicTextResource resource)
resource - The resource of dynamic text. (NotNull)Copyright © 2015–2020 The DBFlute Project. All rights reserved.