*/
protected Task createTask() throws Exception
{
if (getDestinationConfig() == SEARCH_ALL)
{
return new StringSearchBrowseDestinationTask(getHermes(), string, searchUserHeader, getTitle()) ;
}
else
{
return new StringSearchBrowseDestinationTask(getHermes(), getDestinationConfig(), string, searchUserHeader, getTitle()) ;
}
}