package org.gcube.portlets.admin.sepeditor.client;

import java.util.ArrayList;

import org.gcube.portlets.admin.sepeditor.shared.Category;
import org.gcube.portlets.admin.sepeditor.shared.FilledRuntimeResource;
import org.gcube.portlets.admin.sepeditor.shared.InitInfo;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("serviceendpointEditor")
public interface RuntimeResourceCreatorService extends RemoteService {
	 ArrayList<Category> getCategories();
	 
	 InitInfo getInitialInfo(boolean isEditMode, String idToEdit, String curscope);
	 
	 Boolean createRuntimeResource(String scope, FilledRuntimeResource resource, boolean isUpdate);
}
