1 /*(Header: NiLOSTEP / xlSQL) 2 3 Copyright (C) 2004 NiLOSTEP Information Sciences, all 4 rights reserved. 5 6 This program is licensed under the terms of the GNU 7 General Public License.You should have received a copy 8 of the GNU General Public License along with this 9 program; 10 */ 11 12 package com.nilostep.xlsql.sql; 13 14 import java.sql.*; 15 16 /** 17 * Command as in the 'Command Pattern' 18 * 19 * @version $Revision: 1.1 $ 20 * @author $author$ 21 */ 22 public interface xlSqlCommand { 23 //~ Methods ································································ 24 25 boolean execAllowed() throws SQLException; 26 27 void execute() throws SQLException; 28 }