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

com.jpattern.gwt.client.navigationevent.INavigationEvent Maven / Gradle / Ivy

package com.jpattern.gwt.client.navigationevent;

import java.util.Map;

import com.jpattern.gwt.client.presenter.IPresenter;

/**
 * 
 * An event to manage the web navigation through managed IPresenter creation 
 * 
 * @author Francesco Cina'
 *
 * 28/07/2011
 */
public interface INavigationEvent extends IBaseNavigationEvent {

	/**
	 * Notify a new navigation event to the HistoryManager.
	 * A new presenter instance is created and associated to the parentPresenter.
	 * @param parentPresenter
	 * @param queryStringValues a map with key value pair to be added to the url generated by the navigation event
	 * @param childrenEvent 
	 * @param whether register the event in the history manager or launch it directly
	 */
	void notifyNavigationEvent(IPresenter parentPresenter, Map queryStringValues, String[] childrenEvent, boolean registerEvent);
	
	/**
	 * Launch a new navigation event using a specific parentPresenter.
	 * A new presenter instance is created and associated to the parentPresenter.
	 * @param parentPresenter
	 * @param queryStringValues a map with key value pair to be added to the url generated by the navigation event
	 */
	IPresenter launch(IPresenter parentPresenter, Map queryStringValues, String[] childrenEvent);
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy