public void deleteAll() {
   JwSqlDelete st = createDelete();
   st.setTable(TABLE);
   execute(st);
 }
Exemplo n.º 2
0
 public void delete(String name) {
   JwSqlDelete st = createDelete();
   st.setTable(TABLE);
   st.where().isEqual(NAME, name);
   execute(st);
 }
 public void delete(String login) {
   JwSqlDelete st = createDelete();
   st.setTable(TABLE);
   st.where().isEqual(LOGIN, login);
   execute(st);
 }
 public void delete(Integer id) {
   JwSqlDelete st = createDelete();
   st.setTable(TABLE);
   st.where().isEqual(ID, id);
   execute(st);
 }