Extended functionality of purge

This commit is contained in:
boy0001 2015-01-07 17:44:03 +11:00
parent 941b3d8c42
commit 39ae80cb65
7 changed files with 154 additions and 172 deletions

View file

@ -148,14 +148,14 @@ public interface AbstractDB {
* @param world World in which the plot is located
* @param id Plot ID
*/
public void purge(final String world, final PlotId id);
public void purgeIds(final String world, final Set<Integer> uniqueIds);
/**
* Purge a whole world
*
* @param world World in which the plots should be purged
*/
public void purge(final String world);
public void purge(final String world, final Set<PlotId> plotIds);
/**
* Set Plot Home Position