/*
- * Sone - SoneProvider.java - Copyright © 2011 David Roden
+ * Sone - SoneProvider.java - Copyright © 2011–2013 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
public interface SoneProvider {
/**
- * Returns the Sone with the given ID, if it exists. If it does not exist
- * and {@code create} is {@code false}, {@code null} is returned; otherwise,
- * a new Sone with the given ID is created and returned.
+ * Returns the Sone with the given ID, if it exists.
*
* @param soneId
* The ID of the Sone to return
- * @param create
- * {@code true} to create a new Sone if no Sone with the given ID
- * exists, {@code false} to return {@code null} instead
* @return The Sone with the given ID, or {@code null}
*/
- public Sone getSone(String soneId, boolean create);
+ public Sone getSone(String soneId);
}