/*
 * MgtNetRouterService.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.RemoteService;
import com.portal.client.beans.mgtnet.GWTMgtNetRouter;
import com.portal.client.beans.user.GWTUserContext;
import com.portal.client.common.components.ds.FetchResult;
import com.portal.client.exception.PortalException;

/**
 *
 * @author paatal
 */
public interface MgtNetService extends RemoteService {

    public FetchResult<GWTMgtNetRouter> getMgtNetRouters(int startRow, int endRow, GWTUserContext context) throws PortalException;

    public GWTMgtNetRouter addMgtNetRouters(GWTMgtNetRouter gWTMgtNetRouter, GWTUserContext context) throws PortalException;

    public GWTMgtNetRouter editMgtNetRouters(GWTMgtNetRouter gWTMgtNetRouter, GWTUserContext context) throws PortalException;

    public void removeMgtNetRouters(GWTMgtNetRouter gWTMgtNetRouter, GWTUserContext context) throws PortalException;
}
