/*
 * MgtNetRouterServiceAsync.java
 *
 * Created on July 20, 2009, 10:55 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */
package com.portal.client.mgtNet;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.portal.client.beans.mgtnet.GWTMgtNetRouter;
import com.portal.client.beans.user.GWTUserContext;
import com.portal.client.common.components.ds.FetchResult;

/**
 *
 * @author paatal
 */
public interface MgtNetServiceAsync {

    public void getMgtNetRouters(int startRow, int endRow, GWTUserContext context, AsyncCallback<FetchResult<GWTMgtNetRouter>> callback);

    public void addMgtNetRouters(GWTMgtNetRouter gWTMgtNetRouter, GWTUserContext context, AsyncCallback<GWTMgtNetRouter> callback);

    public void editMgtNetRouters(GWTMgtNetRouter gWTMgtNetRouter, GWTUserContext context, AsyncCallback<GWTMgtNetRouter> callback);

    public void removeMgtNetRouters(GWTMgtNetRouter gWTMgtNetRouter, GWTUserContext context, AsyncCallback callback);
}
