@Override public void delete(Context context, VersionHistory versionHistory) throws SQLException { versionHistoryDAO.delete(context, new VersionHistory()); }
@Override public void update(Context context, VersionHistory versionHistory) throws SQLException, AuthorizeException { versionHistoryDAO.save(context, versionHistory); }
@Override public VersionHistory create(Context context) throws SQLException { return versionHistoryDAO.create(context, new VersionHistory()); }
@Override public VersionHistory find(Context context, int id) throws SQLException { return versionHistoryDAO.findByID(context, VersionHistory.class, id); }
@Override public VersionHistory findByItem(Context context, Item item) throws SQLException { return versionHistoryDAO.findByItem(context, item); }