public void startSearch(SPFSearchDescriptor searchDescriptor, SPFSearchCallback callback) {
		try {
			SPFError err = new SPFError();
			getService().startNewSearch(getAccessToken(), searchDescriptor, callback, err);
			if (!err.isOk()) {
				handleError(err);
			}
		} catch (RemoteException e) {
			// TODO Error management
			e.printStackTrace();
		}
	}
public void startSearch(SPFSearchDescriptor searchDescriptor, SPFSearchCallback callback) {
		try {
			SPFError err = new SPFError();
			getService().startNewSearch(getAccessToken(), searchDescriptor, callback, err);
			if (!err.isOk()) {
				handleError(err);
			}
		} catch (RemoteException e) {
			
			e.printStackTrace();
		}
	}
public void startSearch ( SPFSearchDescriptor searchDescriptor , SPFSearchCallback callback ) { try { SPFError err = new SPFError ( ) ; getService ( ) . startNewSearch ( getAccessToken ( ) , searchDescriptor , callback , err ) ; if ( ! err . isOk ( ) ) { handleError ( err ) ; } } catch ( RemoteException e ) { // TODO Error management e . printStackTrace ( ) ; } }
/*
Implementation of SearchInterface (non-Javadoc)

@see it.polimi.spf.lib.async.search.SearchInterface#startSearch(it.polimi
.dei.spf.framework.local.SearchDescriptor,
it.polimi.spf.lib.async.search.SearchInterface.SearchStartedCallback)
/ * Implementation of SearchInterface ( non - Javadoc )