/**
 * Copyright 2008-2009 DRIVER PROJECT (ICM UW)
 * Original author: Marek Horst
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package eu.dnetlib.data.ismock;

import java.util.List;

import javax.xml.ws.wsaddressing.W3CEndpointReference;

import eu.dnetlib.enabling.resultset.rmi.ResultSetException;
import eu.dnetlib.enabling.resultset.rmi.ResultSetService;

/**
 * Very simple mock ResultSet class, for performing junit index tests.
 * @author mhorst
 *
 */
public class MockResultSet implements ResultSetService {

	public void closeRS(String rsId) {
		// TODO Auto-generated method stub
	}

	public W3CEndpointReference createPullRS(String dataProviderServiceAddress, String bdId,
			int initialPageSize, int expiryTime,
			String styleSheet, Integer keepAliveTime, Integer total) {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean deleteRS(String rsId) {
		// TODO Auto-generated method stub
		return false;
	}

	public List<String> describeMethods() {
		// TODO Auto-generated method stub
		return null;
	}

	public List<String> describeVerbs() {
		// TODO Auto-generated method stub
		return null;
	}

	public String fusion(int expiryTime, List<String> eprs){
		// TODO Auto-generated method stub
		return null;
	}

	public int getNumberOfElements(String rsId)  {
		// TODO Auto-generated method stub
		return 0;
	}

	public String getRSStatus(String rsId) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<String> getResult(String rsId, int fromPosition, int toPosition,
			String requestMode) {
		// TODO Auto-generated method stub
		return null;
	}

	public String identify() {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean isAnOpenDLib2Service() {
		// TODO Auto-generated method stub
		return false;
	}

	public void notify(String subscrId, String topic, String isId,
			String message) {
		// TODO Auto-generated method stub
	}

	public String populateRS(String rsId, List<String> elements)
			throws ResultSetException {
		// TODO Auto-generated method stub
		return null;
	}

	public boolean postConfig(int delay) {
		// TODO Auto-generated method stub
		return false;
	}

	public String preparePullRS(String dataProviderServiceAddress,
			int initialPageSize, int expiryTime,
			String styleSheet, Integer keepAliveTime, Integer total) {
		// TODO Auto-generated method stub
		return null;
	}

	public String rSasResource(String rsId, String label){
		// TODO Auto-generated method stub
		return null;
	}

	public boolean refreshExpiryTime(String rsId, int expiryTime){
		// TODO Auto-generated method stub
		return false;
	}

	public String removeResult(String rsId, int position){
		// TODO Auto-generated method stub
		return null;
	}

	public List<String> simpleGetResult(String rsId, int fromPosition,
			int toPosition, String requestMode) {
		// TODO Auto-generated method stub
		return null;
	}

	public String startPullRS(String rsId, String bdId, int expiryTime,
			String styleSheet, Integer keepAliveTime, Integer total){
		// TODO Auto-generated method stub
		return null;
	}

//	------------- methods from new ResultSet impl.
	public List<String> getBulkData(String bdId, int fromPosition, int toPosition)  {
		// TODO Auto-generated method stub
		return null;
	}

	public String getNumberOfResults(String bdId) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<String> getNumberOfResultsGettingBulkData(String bdId, int fromPosition, int toPosition)  {
		// TODO Auto-generated method stub
		return null;
	}

	public String getProperty(String rsId, String name)  {
		// TODO Auto-generated method stub
		return null;
	}

	public List<String> listProperties(String rsId){
		// TODO Auto-generated method stub
		return null;
	}

	public String removeProperty(String rsId, String name) {
		// TODO Auto-generated method stub
		return null;
	}

	public String setProperty(String rsId, String name, String value){
		// TODO Auto-generated method stub
		return null;
	}


	/* (non-Javadoc)
	 * @see eu.dnetlib.enabling.resultset.rmi.ResultSetService#createPullRSEPR(javax.xml.ws.wsaddressing.W3CEndpointReference, java.lang.String, int, int, java.lang.String, java.lang.Integer, java.lang.Integer)
	 */
//	@Override
	public W3CEndpointReference createPullRSEPR(
			W3CEndpointReference dataProviderEPR, String bdId,
			int initialPageSize, int expiryTime, String styleSheet,
			Integer keepAliveTime, Integer total) {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see eu.dnetlib.enabling.resultset.rmi.ResultSetService#createPushRS(int, int)
	 */
//	@Override
	public W3CEndpointReference createPushRS(int expiryTime, int keepAliveTime)
			throws ResultSetException {
		// TODO Auto-generated method stub
		return null;
	}

	/* (non-Javadoc)
	 * @see eu.dnetlib.common.rmi.BaseService#start()
	 */
//	@Override
	public void start() {
		// TODO Auto-generated method stub

	}

}
