001 /* 002 * Copyright (c) 2009 The openGion Project. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 013 * either express or implied. See the License for the specific language 014 * governing permissions and limitations under the License. 015 */ 016 package org.opengion.fukurou.process; 017 018 import java.sql.Connection; 019 import java.util.Set ; 020 021 /** 022 * ParamProcess インターフェース は、AbstractProcess を実行する上で?とな? 023 * ?パラメータを設定します? 024 * 特に、データベ?ス接続を使用する場合?、このインターフェースを使用して? 025 * ??タベ?スコネクションを取得する?があります? 026 * 027 * @og.rev 5.3.4.0 (2011/04/01) bulkData 関係?メソ?を追? 028 * @version 4.0 029 * @author Kazuhiko Hasegawa 030 * @since JDK5.0, 031 */ 032 public interface ParamProcess extends HybsProcess { 033 034 /** 035 * ?? 接続?ID に対する コネクションを返します? 036 * 037 * @param key 接続?ID 038 * 039 * @return コネクション 040 */ 041 Connection getConnection( final String key ); 042 043 /** 044 * 検索した結果が設定された Set オブジェクトを設定します? 045 * 046 * @og.rev 5.3.4.0 (2011/04/01) 新規追? 047 * 048 * @param bulkData 検索した結果が設定された Setオブジェク? 049 */ 050 void setBulkData( final Set<String> bulkData ); 051 052 /** 053 * 検索した結果が設定された Set オブジェクトを返します? 054 * 055 * @og.rev 5.3.4.0 (2011/04/01) 新規追? 056 * 057 * @return 検索した結果が設定された Setオブジェク? 058 */ 059 Set<String> getBulkData(); 060 }