org.neogroup.warp.resources.Resource Maven / Gradle / Ivy
package org.neogroup.warp.resources;
import org.neogroup.warp.data.query.DeleteQuery;
import org.neogroup.warp.data.query.InsertQuery;
import org.neogroup.warp.data.query.SelectQuery;
import org.neogroup.warp.data.query.UpdateQuery;
import java.util.Collection;
public abstract class Resource {
public Collection find (SelectQuery query) {
throw new UnsupportedOperationException();
}
public Collection insert (InsertQuery query) {
throw new UnsupportedOperationException();
}
public Collection update (UpdateQuery query) {
throw new UnsupportedOperationException();
}
public Collection delete (DeleteQuery query) {
throw new UnsupportedOperationException();
}
}