1 2 package test.rpc; 3 4 import java.util.Calendar ; 5 6 public interface IF2SOAP 7 { 8 public static final int KEYWORD_EXP = 0; 9 public static final int CONTENT_EXP = 1; 10 11 public IF1 getBeanById(String id) 12 throws Exception ; 13 14 public IF1[] getAllBeans() 15 throws Exception ; 16 17 public IF1[] getAllBeans(String [] filter) 18 throws Exception ; 19 20 public String [] getAllCategories() 21 throws Exception ; 22 23 public IF1[] getBeansByCategory(String category) 24 throws Exception ; 25 26 public IF1[] getBeansByCategory(String category, String [] filter) 27 throws Exception ; 28 29 public IF1[] getBeansByDate(Calendar [] dates) 30 throws Exception ; 31 32 public IF1[] getBeansByDate(Calendar [] dates, String [] filter) 33 throws Exception ; 34 35 public IF1[] getBeansByExpression(int expType, String expression) 36 throws Exception ; 37 38 public IF1[] getBeansByExpression(int expType, String expression, String [] filter) 39 throws Exception ; 40 41 public String getXMLForBean(IF1 bean) 42 throws Exception ; 43 } 44 45 | Popular Tags |