class ServerDao extends BaseDao {

    public int updateServer(Server server) throws SQLException {
        if (null == server || server.getId() == null) {
            return 0;
        }
        return this.getDasClient().update(server);
    }

}