package com.systemtier.web.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import java.util.List;

/**
 *
 * @author Aleksandras Novikovas
 * @author System Tier
 * @version 1.0
 */
public interface TestServiceAsync {

    public abstract void fetch (AsyncCallback<List<TestRecord>> asyncCallback);

    public abstract void add (TestRecord record, AsyncCallback<TestRecord> asyncCallback);

    public abstract void update (TestRecord record, AsyncCallback<TestRecord> asyncCallback);

    public abstract void remove (TestRecord record, AsyncCallback asyncCallback);

}
