Blame | Last modification | View Log | RSS feed
package in.shop2020.hotspot.dashbaord.server.handler;import in.shop2020.hotspot.dashbaord.shared.actions.WarningRequest;import in.shop2020.hotspot.dashbaord.shared.actions.WarningResponse;import net.customware.gwt.dispatch.server.ActionHandler;import net.customware.gwt.dispatch.server.ExecutionContext;import net.customware.gwt.dispatch.shared.ActionException;public class WarningRequestHandler implements ActionHandler<WarningRequest, WarningResponse>{@Overridepublic WarningResponse execute(WarningRequest request, ExecutionContext context)throws ActionException {return new WarningResponse("Looks great !!!");}@Overridepublic Class<WarningRequest> getActionType() {// TODO Auto-generated method stubreturn WarningRequest.class;}@Overridepublic void rollback(WarningRequest arg0, WarningResponse arg1,ExecutionContext arg2) throws ActionException {// TODO Auto-generated method stub}}