Subversion Repositories SmartDukaan

Rev

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>{

        @Override
        public WarningResponse execute(WarningRequest request, ExecutionContext context)
                        throws ActionException {
                
                return new WarningResponse("Looks great !!!");
        }

        @Override
        public Class<WarningRequest> getActionType() {
                // TODO Auto-generated method stub
                return WarningRequest.class;
        }

        @Override
        public void rollback(WarningRequest arg0, WarningResponse arg1,
                        ExecutionContext arg2) throws ActionException {
                // TODO Auto-generated method stub
                
        }

}