/**
 * 
 */
package org.biomoby.registry.sync;

import org.biomoby.shared.MobyException;

/**
 * Basic interface to update a local Biomoby central.<br>
 * Each method retrieves a list of mobydata from the centrals and start the update mechanism.
 * 
 * @author groscurt
 */
public interface MobySynchronize {
	/**
	 * Synchronize the namespaces between the local and master central
	 * 
	 * @throws MobyException
	 */
	public void updateNamespaces() throws MobyException;

	/**
	 * Synchronize the dataypes between the local and master central
	 * 
	 * @throws MobyException
	 */
	public void updateDatatypes() throws MobyException;

	/**
	 * Synchronize the servicetypes between the local and master central
	 * 
	 * @throws MobyException
	 */
	public void updateServiceTypes() throws MobyException;

	/**
	 * Synchronize the services between the local and master central
	 * 
	 * @throws MobyException
	 */
	public void updateServices() throws MobyException;
}
