Uses of Class
nablarch.core.db.statement.SqlRow
Packages that use SqlRow
Package
Description
ユニバーサルDAO機能を提供する。
メール送信ライブラリ。
データベースに対するSQL実行機能を提供する。
応答なし電文を受送信するアクションを提供する。
外部システムとのメッセージング処理において使用するハンドラを格納するパッケージ。
汎用的なデータリーダの実装および、データリーダを独自実装する際に
利用できる基底クラスやユーティリティクラスを収めたパッケージ。
-
Uses of SqlRow in nablarch.common.dao
Methods in nablarch.common.dao with parameters of type SqlRowModifier and TypeMethodDescriptionstatic <T> T
EntityUtil.createEntity
(Class<T> entityClass, SqlRow row) 検索結果を元にエンティティオブジェクトを生成する。 -
Uses of SqlRow in nablarch.common.mail
Methods in nablarch.common.mail that return types with arguments of type SqlRowModifier and TypeMethodDescriptionMailSender.createReader
(ExecutionContext ctx) このタスクの入力データを読み込むデータリーダを生成して返す。Methods in nablarch.common.mail with parameters of type SqlRowModifier and TypeMethodDescriptionprotected jakarta.mail.internet.MimeMessage
MailSender.createMimeMessage
(SqlRow data, String mailRequestId, MailRequestTable.MailRequest mailRequest, jakarta.mail.Session session, MailRecipientTable mailRecipientTable) メールデータを作成する。MailRequestTable.getMailRequest
(SqlRow data) SQLの取得結果の1レコードをMailRequestTable.MailRequestに変換する。MailSender.handle
(SqlRow data, ExecutionContext context) メール送信要求を元にメールを送信する。protected Result
MailSender.handleException
(SqlRow data, ExecutionContext context, MailRequestTable.MailRequest mailRequest, MailConfig mailConfig, Exception e) メール送信時の例外のハンドル処理を行う。protected void
MailSender.updateToFailed
(SqlRow data, ExecutionContext context) 処理ステータスを異常終了に更新する。protected void
MailSender.updateToSuccess
(SqlRow data, ExecutionContext context) 処理ステータスを正常終了に更新する。protected void
MailSender.writeCreateMailFailedLog
(SqlRow data, MailRequestTable.MailRequest mailRequest, MailConfig mailConfig, jakarta.mail.MessagingException e) メール作成が失敗した場合に、障害検知ログに出力する。protected void
MailSender.writeSendMailFailedLog
(SqlRow data, MailRequestTable.MailRequest mailRequest, MailConfig mailConfig, jakarta.mail.SendFailedException e) メール送信失敗時のSendFailedException
例外の障害検知ログに出力する。Constructors in nablarch.common.mail with parameters of type SqlRowModifierConstructorDescriptionMailAttachedFile
(SqlRow record) 添付ファイル管理の1レコード文の情報を保持するインスタンスを生成する。MailRecipient
(SqlRow record) メール送信先の1レコード文の情報を保持するインスタンスを生成する。MailRequest
(SqlRow record) メール送信要求の1レコード文の情報を保持するインスタンスを生成する。MailTemplate
(SqlRow record) メールテンプレートの1レコード文の情報を保持するインスタンスを生成する。 -
Uses of SqlRow in nablarch.core.db.statement
Methods in nablarch.core.db.statement that return SqlRowMethods in nablarch.core.db.statement that return types with arguments of type SqlRowConstructors in nablarch.core.db.statement with parameters of type SqlRow -
Uses of SqlRow in nablarch.fw.messaging.action
Methods in nablarch.fw.messaging.action that return types with arguments of type SqlRowModifier and TypeMethodDescriptionAsyncMessageSendAction.createReader
(ExecutionContext ctx) 送信対象のデータを抽出するためのDatabaseRecordReader
を生成する。DatabaseRecordReader
生成時に指定するSqlPStatement
は、 #createStatement()により生成する。Methods in nablarch.fw.messaging.action with parameters of type SqlRowModifier and TypeMethodDescriptionAsyncMessageSendAction.createHeaderRecord
(SqlRow inputData) ヘッダデータを生成する。AsyncMessageSendAction.handle
(SqlRow inputData, ExecutionContext ctx) 入力データからヘッダ部及び業務データ部からなるメッセージオブジェクトを生成し、 送信処理(キューへのPUT)を行う。void
AsyncMessageSendAction.transactionAbnormalEnd
(Throwable e, SqlRow inputData, ExecutionContext ctx) インプットテーブルの対象レコードのステータスをエラーに更新する。 これにより、エラーレコードを再度送信することを防止する事ができる。void
AsyncMessageSendAction.transactionNormalEnd
(SqlRow inputData, ExecutionContext ctx) インプットテーブルの対象レコードのステータスを処理済みに更新する。 これにより、次回対象データ抽出時に処理済みのレコードは対象外となり、 2重送信を防止する事が出来る。protected void
AsyncMessageSendAction.updateStatus
(SqlRow inputData, String sqlId) ステータスを更新する。 -
Uses of SqlRow in nablarch.fw.messaging.handler
Methods in nablarch.fw.messaging.handler that return SqlRowModifier and TypeMethodDescriptionMessageResendHandler.findAlreadySentMessage
(String messageId, String requestId) 再送対象の電文レコードを検索し、当該の電文のレコードを返却する。 レコードが存在しなかった場合はnullを返却する。 -
Uses of SqlRow in nablarch.fw.reader
Methods in nablarch.fw.reader that return SqlRowModifier and TypeMethodDescriptionDatabaseRecordReader.read
(ExecutionContext ctx) 参照結果のレコードを1行づつ返却する。DatabaseTableQueueReader.read
(ExecutionContext ctx) 次のレコードを読み込み返却する。Constructors in nablarch.fw.reader with parameters of type SqlRowModifierConstructorDescriptionInputDataIdentifier
(String[] identifierKeys, SqlRow request) リクエスト識別子を生成する。