All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.jpattern.rest.GetExecutor Maven / Gradle / Ivy

package com.googlecode.jpattern.rest;

import java.util.List;
import java.util.Map;

import com.googlecode.jpattern.rest.action.IGetAction;
import com.googlecode.jpattern.rest.domain.URLPath;
import com.googlecode.jpattern.shared.result.facade.ICommandFacadeResult;

/**
 * 
 * @author Francesco Cina'
 *
 * 12/mag/2011
 */
public class GetExecutor implements IGetDeleteExecutor {

	private static final long serialVersionUID = 1L;
	private final IGetAction getAction;
	public GetExecutor(IGetAction getAction) {
		this.getAction = getAction;
	}
	
	@Override
	public ICommandFacadeResult exec(Map> resultQueryMap, String path, URLPath urlPath) {
		return getAction.get(resultQueryMap, path, urlPath);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy