public void addFeed()

in modules/core/src/main/java/org/apache/savan/atom/AtomDataSource.java [96:117]


    public void addFeed(String id, String title, Date lastEditedtime, String author)
            throws SavanException {

        try {
            Connection connection = getConnection();
            try {
                PreparedStatement statement = connection.prepareStatement(SQL_ADD_FEED);
                statement.setString(1, id);
                statement.setString(2, title);
                Timestamp t = new Timestamp(lastEditedtime.getTime());
                statement.setTimestamp(3, t);
                statement.setString(4, author);
                statement.executeUpdate();
            } finally {
                connection.close();
            }
        } catch (SQLException e) {
            throw new SavanException(e);
        }


    }