void function ( String arg0 , String arg1 , String arg2 , String arg3 ) { try { Class . forName ( arg3 ) . newInstance ( ) ; con = DriverManager . getConnection ( arg0 , arg1 , arg2 ) ; Documents . createDb ( ) ; } catch ( Exception loc0 ) { throw new MoxieException ( loc0 ) ; } }
initializes our documents object and underlying database connection . concode_field_sep Connection con concode_elem_sep PreparedStatement findByFileNameSQL concode_elem_sep PreparedStatement findByIDSQL concode_elem_sep PreparedStatement deleteItemSQL concode_elem_sep PreparedStatement newItemSQL concode_elem_sep PreparedStatement listSQL concode_elem_sep PreparedStatement updateItemSQL concode_field_sep Document newItem concode_elem_sep void deleteItem concode_elem_sep void deleteItem concode_elem_sep Document findByID concode_elem_sep Document fromResultSet concode_elem_sep Document findByFileName concode_elem_sep boolean exists concode_elem_sep boolean exists concode_elem_sep void updateItem concode_elem_sep void createDb concode_elem_sep List<Document> list