1 2 38 39 package jspPhoneBook.data; 40 41 import java.io.*; 42 import java.sql.*; 43 import java.math.*; 44 import com.lutris.appserver.server.sql.*; 45 import com.lutris.dods.builder.generator.query.*; 46 47 56 public interface PersonDOI { 57 58 60 68 public String getFirstName () 69 throws DataObjectException; 70 71 72 80 public void setFirstName ( String firstName ) 81 throws DataObjectException; 82 83 85 93 public String getLastName () 94 throws DataObjectException; 95 96 97 105 public void setLastName ( String lastName ) 106 throws DataObjectException; 107 108 110 118 public String getPhoneNumber () 119 throws DataObjectException; 120 121 122 130 public void setPhoneNumber ( String phoneNumber ) 131 throws DataObjectException; 132 133 140 public void save() 141 throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException; 142 143 154 public void save(DBTransaction dbt) 155 throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException; 156 157 165 public void commit() 166 throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException; 167 168 180 public void commit(DBTransaction dbt) 181 throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException; 182 183 190 public void delete() 191 throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException; 192 193 204 public void delete(DBTransaction dbt) 205 throws SQLException, DatabaseManagerException, DataObjectException, RefAssertionException, DBRowUpdateException, QueryException; 206 207 } 208 | Popular Tags |